diff options
author | Yukihiro Nakai <nakai@FreeBSD.org> | 2000-10-17 08:42:03 +0000 |
---|---|---|
committer | Yukihiro Nakai <nakai@FreeBSD.org> | 2000-10-17 08:42:03 +0000 |
commit | 3673ac35bbc6755d792e9577779926e17bf1e605 (patch) | |
tree | e3c4053bd2d4456bef885c8d969a9af4a83fa055 /misc/rpm/Makefile | |
parent | Update to 0.99.135. (diff) |
Update to 3.0.6
PR: misc/21801
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'misc/rpm/Makefile')
-rw-r--r-- | misc/rpm/Makefile | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/misc/rpm/Makefile b/misc/rpm/Makefile index 5f997fcab36b..09b274afdc9b 100644 --- a/misc/rpm/Makefile +++ b/misc/rpm/Makefile @@ -6,19 +6,35 @@ # PORTNAME= rpm -PORTVERSION= 2.5.6 +PORTVERSION= 3.0.6 CATEGORIES= misc -MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-2.5.x/ +MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/ MAINTAINER= nakai@FreeBSD.org +LIB_DEPENDS= bz2.1:${PORTSDIR}/archivers/bzip2 \ + intl.1:${PORTSDIR}/devel/gettext + USE_GMAKE= yes -USE_AUTOCONF= yes -CONFIGURE_ARGS= --disable-nls +USE_AUTOMAKE= yes +USE_LIBTOOL= yes +CONFIGURE_ARGS= --with-glob +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" +INSTALL_SHLIB= yes + +MANLANG= "" ja pl ru +MAN1= gendiff.1 +MAN3= popt.3 MAN8= rpm.8 rpm2cpio.8 -pre-configure: - @(cd ${WRKSRC}/popt && ${AUTOCONF}) +post-configure: + ( WRKSRC=${WRKSRC}/popt make do-configure ) + +post-patch: +.for file in rpm.c doc/rpm.8 lib/macro.c lib/rpmrc.c + @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file} +.endfor .include <bsd.port.mk> |