56c0ff6d58
Add necessary dependency on zlib.
36 lines
896 B
Makefile
36 lines
896 B
Makefile
# $NetBSD: Makefile,v 1.29 2001/07/14 06:35:11 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= rpm-2.5.4
|
|
CATEGORIES= misc
|
|
MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-2.5.x/ \
|
|
ftp://ftp.gwdg.de/pub/linux/redhat/code/rpm/
|
|
|
|
MAINTAINER= mycroft@netbsd.org
|
|
HOMEPAGE= http://www.rpm.org/
|
|
COMMENT= The Red Hat Package Manager
|
|
|
|
BUILD_USES_MSGFMT= yes
|
|
|
|
CONFLICTS+= rpm2cpio-*
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_BUILDLINK_ONLY= yes
|
|
|
|
DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
|
|
INSTALL_FILE= ${WRKDIR}/INSTALL
|
|
|
|
pre-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/rpm
|
|
${SED} -e "s|@CAT@|${CAT}|g" \
|
|
${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE}
|
|
${SED} -e "s|@MKDIR@|${MKDIR}|g" \
|
|
${PKGDIR}/INSTALL > ${INSTALL_FILE}
|
|
|
|
post-install:
|
|
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
|
|
|
|
.include "../../devel/gettext-lib/buildlink.mk"
|
|
.include "../../devel/zlib/buildlink.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|