1997-01-24 08:50:08 +01:00
|
|
|
# New ports collection makefile for: rpm
|
1999-05-02 14:03:10 +02:00
|
|
|
# Date created: 30 April 1999
|
1999-08-31 08:53:31 +02:00
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1997-01-24 08:50:08 +01:00
|
|
|
#
|
1999-08-25 09:23:21 +02:00
|
|
|
# $FreeBSD$
|
1997-01-24 08:50:08 +01:00
|
|
|
#
|
|
|
|
|
2000-04-14 10:49:30 +02:00
|
|
|
PORTNAME= rpm
|
2000-10-17 10:42:03 +02:00
|
|
|
PORTVERSION= 3.0.6
|
2008-06-06 15:08:29 +02:00
|
|
|
PORTREVISION= 14
|
2001-03-20 21:28:14 +01:00
|
|
|
CATEGORIES= archivers
|
2006-07-07 18:18:02 +02:00
|
|
|
MASTER_SITES= http://ftp.tpnet.pl/vol/d4/ftp.rpm.org/rpm/dist/rpm-3.0.x/ \
|
|
|
|
http://www.stttelkom.ac.id/staf/TBH/distfiles/
|
1997-01-24 08:50:08 +01:00
|
|
|
|
2003-07-11 21:56:12 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= The Red Hat Package Manager
|
1997-01-24 08:50:08 +01:00
|
|
|
|
2004-02-04 05:36:30 +01:00
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
|
2000-10-17 10:42:03 +02:00
|
|
|
|
2005-09-29 15:43:45 +02:00
|
|
|
CONFLICTS= rpm-4.*
|
|
|
|
|
1997-01-24 08:50:08 +01:00
|
|
|
USE_GMAKE= yes
|
2009-03-24 18:07:22 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
USE_AUTOTOOLS= automake:14 autoconf:213 libtool:15
|
2000-10-17 10:42:03 +02:00
|
|
|
CONFIGURE_ARGS= --with-glob
|
2006-08-14 11:56:58 +02:00
|
|
|
USE_LDCONFIG= yes
|
2002-09-23 18:55:26 +02:00
|
|
|
MAKE_ENV= OLD_PO_FILE_INPUT=1
|
2000-10-17 10:42:03 +02:00
|
|
|
|
2007-03-22 23:20:38 +01:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib -lintl -liconv"
|
|
|
|
.endif
|
|
|
|
|
2000-10-17 10:42:03 +02:00
|
|
|
MAN1= gendiff.1
|
1997-01-24 08:50:08 +01:00
|
|
|
MAN8= rpm.8 rpm2cpio.8
|
|
|
|
|
2000-10-17 10:42:03 +02:00
|
|
|
post-patch:
|
|
|
|
.for file in rpm.c doc/rpm.8 lib/macro.c lib/rpmrc.c
|
2002-11-04 03:55:13 +01:00
|
|
|
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
|
2000-10-17 10:42:03 +02:00
|
|
|
.endfor
|
1997-01-24 12:43:57 +01:00
|
|
|
|
2000-10-20 06:33:40 +02: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 08:50:08 +01:00
|
|
|
.include <bsd.port.mk>
|