1997-01-24 07:50:08 +00:00
|
|
|
# New ports collection makefile for: rpm
|
1999-05-02 12:03:10 +00:00
|
|
|
# Date created: 30 April 1999
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1997-01-24 07:50:08 +00:00
|
|
|
#
|
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
|
2004-02-04 04:36:30 +00:00
|
|
|
PORTREVISION= 9
|
2001-03-20 20:28:14 +00:00
|
|
|
CATEGORIES= archivers
|
2000-11-28 09:50:00 +00:00
|
|
|
MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/ \
|
|
|
|
ftp://ftp.mirror.ac.uk/sites/ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/
|
1997-01-24 07:50:08 +00:00
|
|
|
|
2003-07-11 19:56:12 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= The Red Hat Package Manager
|
1997-01-24 07:50:08 +00:00
|
|
|
|
2004-02-04 04:36:30 +00:00
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
|
2001-08-15 20:33:16 +00:00
|
|
|
.if !exists(/usr/bin/bzip2)
|
|
|
|
LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
|
|
|
|
.endif
|
2000-10-17 08:42:03 +00:00
|
|
|
|
2004-02-04 04:36:30 +00:00
|
|
|
USE_GETTEXT= yes
|
1997-01-24 07:50:08 +00:00
|
|
|
USE_GMAKE= yes
|
2002-01-06 06:20:22 +00:00
|
|
|
USE_AUTOMAKE_VER=14
|
2004-06-04 17:29:38 +00:00
|
|
|
USE_AUTOCONF_VER=213
|
2002-11-04 02:55:13 +00:00
|
|
|
USE_REINPLACE= yes
|
2004-07-09 17:43:11 +00:00
|
|
|
USE_INC_LIBTOOL_VER= 13
|
2000-10-17 08:42:03 +00:00
|
|
|
CONFIGURE_ARGS= --with-glob
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2002-09-23 16:55:26 +00:00
|
|
|
LIBS="-L${LOCALBASE}/lib -lintl -liconv"
|
2000-10-20 02:50:04 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2002-09-23 16:55:26 +00:00
|
|
|
MAKE_ENV= OLD_PO_FILE_INPUT=1
|
2000-10-17 08:42:03 +00:00
|
|
|
|
|
|
|
MAN1= gendiff.1
|
1997-01-24 07:50:08 +00:00
|
|
|
MAN8= rpm.8 rpm2cpio.8
|
|
|
|
|
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:
|
|
|
|
${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
|
|
|
|
|
1997-01-24 07:50:08 +00:00
|
|
|
.include <bsd.port.mk>
|