blob: ef1680680050b47e901ac7142d7cedc1c6d39129 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $NetBSD: Makefile,v 1.26 2001/02/26 14:36: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_DEPENDS+= msgfmt:../../devel/gettext
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LIBINTL= 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 "../../mk/bsd.pkg.mk"
|