pkgsrc/misc/rpm/Makefile
jlam 585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00

45 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.53 2005/05/22 20:08:18 jlam Exp $
DISTNAME= rpm-2.5.4
PKGREVISION= 3
CATEGORIES= misc
MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-2.5.x/
MAINTAINER= mycroft@NetBSD.org
HOMEPAGE= http://www.rpm.org/
COMMENT= The Red Hat Package Manager
BUILD_USES_MSGFMT= yes
CONFLICTS+= rpm2cpio<1.0nb1
NOT_FOR_PLATFORM+= Interix-*-* # getmntent() is nonpublic; needs porting
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
USE_PKGINSTALL= yes
DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
# this is needed instead of USE_PKGLOCALEDIR
CONFIGURE_ARGS+= --datadir=${PREFIX}/${PKGLOCALEDIR}
# The rpm databases are kept under ${RPM_DB_PREFIX}/lib/rpm.
CONFIGURE_ENV+= varprefix="${RPM_DB_PREFIX}"
RPMDIR= ${RPM_DB_PREFIX}/lib/rpm
FILES_SUBST+= RPMDIR=${RPMDIR}
post-configure:
cd ${WRKSRC}/po && ${MV} cz.po cs.po
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/include/rpm
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/popt/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bdb.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"