blob: 444c8fbb51eb322f8c9fade619e96fa1f059cddb (
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
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.41 2003/07/13 13:52:46 wiz Exp $
DISTNAME= rpm-2.5.4
PKGREVISION= 1
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
USE_BUILDLINK2= yes
USE_PKGINSTALL= yes
USE_PKGLOCALEDIR= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
DEINSTALL_TMPL= ${.CURDIR}/DEINSTALL
INSTALL_TMPL= ${.CURDIR}/INSTALL
# 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/buildlink2.mk"
.include "../../devel/zlib/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|