1 # $NetBSD: Makefile,v 1.62 2012/09/11 23:19:40 asau Exp $
3 DISTNAME
= rpm2pkg-3.2
.3
10 HOMEPAGE
= http
://www.pkgsrc.org
/
11 COMMENT
= Convert RPM archives to NetBSD packages
14 CONFLICTS
+= suse-base
<=6.4
16 MANCOMPRESSED_IF_MANZ
= yes
20 MAKE_ENV
+= FILESDIR
=${FILESDIR
:Q
}
21 MAKE_FILE
= ${FILESDIR}/Makefile
24 INSTALLATION_DIRS
= ${PKGMANDIR}/man8 sbin
26 .
include "../../mk/compiler.mk"
28 .if
!empty
(CC_VERSION
:Mclang
*)
29 MAKE_FLAGS
+= ACTIVE_CC
=clang
32 .
include "../../mk/bsd.prefs.mk"
34 .if defined
(PKG_DEVELOPER
) && ${PKG_DEVELOPER} != "no"
37 MAKE_ENV
+= NOGCCERROR
=yes
41 ${INSTALL_PROGRAM} ${WRKSRC}/rpm2pkg
${DESTDIR}${PREFIX}/sbin
42 ${INSTALL_MAN} ${FILESDIR}/rpm2pkg
.8 \
43 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
45 .
include "../../archivers/bzip2/buildlink3.mk"
46 .
include "../../archivers/xz/buildlink3.mk"
47 .
include "../../devel/zlib/buildlink3.mk"
48 .
include "../../mk/bsd.pkg.mk"