1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/archivers/rpm/Makefile

49 lines
1.2 KiB
Makefile
Raw Normal View History

1997-01-24 07:50:08 +00:00
# New ports collection makefile for: rpm
# Date created: 30 April 1999
# 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
PORTVERSION= 3.0.6
PORTREVISION= 9
CATEGORIES= archivers
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
MAINTAINER= ports@FreeBSD.org
COMMENT= The Red Hat Package Manager
1997-01-24 07:50:08 +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
USE_GETTEXT= yes
1997-01-24 07:50:08 +00:00
USE_GMAKE= yes
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
USE_INC_LIBTOOL_VER= 13
CONFIGURE_ARGS= --with-glob
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl -liconv"
INSTALLS_SHLIB= yes
MAKE_ENV= OLD_PO_FILE_INPUT=1
MAN1= gendiff.1
1997-01-24 07:50:08 +00:00
MAN8= rpm.8 rpm2cpio.8
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}
.endfor
1997-01-24 11:43:57 +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>