pkgsrc/pkgtools/rpm2pkg/Makefile

43 lines
988 B
Makefile
Raw Normal View History

2012-09-12 01:19:33 +02:00
# $NetBSD: Makefile,v 1.62 2012/09/11 23:19:40 asau Exp $
DISTNAME= rpm2pkg-3.2.3
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
NO_CHECKSUM= yes
2008-05-25 22:49:39 +02:00
OWNER= tron@NetBSD.org
HOMEPAGE= http://www.pkgsrc.org/
COMMENT= Convert RPM archives to NetBSD packages
LICENSE= modified-bsd
CONFLICTS+= suse-base<=6.4
MANCOMPRESSED_IF_MANZ= yes
USE_BSD_MAKEFILE= yes
USE_LANGUAGES= c99
MAKE_ENV+= FILESDIR=${FILESDIR:Q}
MAKE_FILE= ${FILESDIR}/Makefile
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
.include "../../mk/bsd.prefs.mk"
.if defined(PKG_DEVELOPER) && ${PKG_DEVELOPER} != "no"
MAKE_ENV+= WARNS=4
.else
MAKE_ENV+= NOGCCERROR=yes
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rpm2pkg ${DESTDIR}${PREFIX}/sbin
${INSTALL_MAN} ${FILESDIR}/rpm2pkg.8 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/xz/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"