diff options
author | nakai <nakai@FreeBSD.org> | 2000-10-20 12:33:40 +0800 |
---|---|---|
committer | nakai <nakai@FreeBSD.org> | 2000-10-20 12:33:40 +0800 |
commit | 3820f3e9266e5d5ea595167f11b1108483cbae2a (patch) | |
tree | 649c2b5701f7a4585c146ad350f57e6c900c78c3 /archivers/rpm/Makefile | |
parent | 2abb80f4e867bd0aeb90acdc459f86728547782e (diff) | |
download | freebsd-ports-gnome-3820f3e9266e5d5ea595167f11b1108483cbae2a.tar.gz freebsd-ports-gnome-3820f3e9266e5d5ea595167f11b1108483cbae2a.tar.zst freebsd-ports-gnome-3820f3e9266e5d5ea595167f11b1108483cbae2a.zip |
Fix about
- Add patch to refer /usr/ports/popt
- etc
PR: ports/22046
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'archivers/rpm/Makefile')
-rw-r--r-- | archivers/rpm/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/archivers/rpm/Makefile b/archivers/rpm/Makefile index c7edf7c6b47a..7ae189d8867c 100644 --- a/archivers/rpm/Makefile +++ b/archivers/rpm/Makefile @@ -7,14 +7,15 @@ PORTNAME= rpm PORTVERSION= 3.0.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc 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 + intl.1:${PORTSDIR}/devel/gettext \ + popt.0:${PORTSDIR}/devel/popt USE_GMAKE= yes USE_AUTOMAKE= yes @@ -24,18 +25,17 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" INSTALLS_SHLIB= yes -MANLANG= "" ja pl ru - MAN1= gendiff.1 -MAN3= popt.3 MAN8= rpm.8 rpm2cpio.8 -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} + @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file} .endfor +post-install: + ${INSTALL_MAN} ${WRKSRC}/doc/gendiff.1 ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/doc/rpm.8 ${PREFIX}/man/man8 + ${INSTALL_MAN} ${WRKSRC}/doc/rpm2cpio.8 ${PREFIX}/man/man8 + .include <bsd.port.mk> |