2013-04-02 22:14:37 +00:00
|
|
|
# Created by: Thomas Gellekum <tg@FreeBSD.org>
|
1999-08-25 07:23:21 +00:00
|
|
|
# $FreeBSD$
|
1997-01-24 07:50:08 +00:00
|
|
|
|
2000-04-14 08:49:30 +00:00
|
|
|
PORTNAME= rpm
|
2000-10-17 08:42:03 +00:00
|
|
|
PORTVERSION= 3.0.6
|
2014-05-05 21:53:16 +00:00
|
|
|
PORTREVISION= 17
|
2001-03-20 20:28:14 +00:00
|
|
|
CATEGORIES= archivers
|
2009-06-21 11:28:10 +00:00
|
|
|
MASTER_SITES= http://rpm5.org/files/rpm/rpm-3.0/ \
|
2010-06-19 18:56:51 +00:00
|
|
|
http://rpm.org/releases/historical/rpm-3.0.x/ \
|
|
|
|
http://www.mirrorservice.org/sites/ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/
|
1997-01-24 07:50:08 +00:00
|
|
|
|
2009-11-27 22:52:30 +00:00
|
|
|
MAINTAINER= sylvio@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= The Red Hat Package Manager
|
1997-01-24 07:50:08 +00:00
|
|
|
|
2013-12-11 10:04:56 +00:00
|
|
|
LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt
|
2000-10-17 08:42:03 +00:00
|
|
|
|
2014-01-04 18:39:58 +00:00
|
|
|
OPTIONS_DEFINE= NLS
|
|
|
|
|
2014-01-04 00:54:13 +00:00
|
|
|
CONFLICTS= rpm-[45].* rpm[45]-*
|
2005-09-29 13:43:45 +00:00
|
|
|
|
2014-05-05 21:53:16 +00:00
|
|
|
USES= gmake libtool shebangfix
|
2014-01-04 18:39:58 +00:00
|
|
|
SHEBANG_FILES= scripts/*
|
2014-05-05 21:53:16 +00:00
|
|
|
USE_AUTOTOOLS= automake14 autoconf213
|
2000-10-17 08:42:03 +00:00
|
|
|
CONFIGURE_ARGS= --with-glob
|
2006-08-14 09:56:58 +00:00
|
|
|
USE_LDCONFIG= yes
|
2002-09-23 16:55:26 +00:00
|
|
|
MAKE_ENV= OLD_PO_FILE_INPUT=1
|
2000-10-17 08:42:03 +00:00
|
|
|
|
2014-01-04 18:39:58 +00:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
NLS_CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib -lintl ${ICONV_LIB}"
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
2013-04-02 22:14:37 +00:00
|
|
|
|
2000-10-17 08:42:03 +00:00
|
|
|
post-patch:
|
|
|
|
.for file in rpm.c doc/rpm.8 lib/macro.c lib/rpmrc.c
|
2002-11-04 02:55:13 +00:00
|
|
|
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
|
2000-10-17 08:42:03 +00:00
|
|
|
.endfor
|
1997-01-24 11:43:57 +00:00
|
|
|
|
2000-10-20 04:33:40 +00:00
|
|
|
post-install:
|
2014-01-04 18:39:58 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/gendiff.1 ${STAGEDIR}${PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/rpm.8 ${STAGEDIR}${PREFIX}/man/man8
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/rpm2cpio.8 ${STAGEDIR}${PREFIX}/man/man8
|
2000-10-20 04:33:40 +00:00
|
|
|
|
1997-01-24 07:50:08 +00:00
|
|
|
.include <bsd.port.mk>
|