1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/archivers/rpm/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

45 lines
1.0 KiB
Makefile

# New ports collection makefile for: rpm
# Date created: 30 April 1999
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= rpm
PORTVERSION= 3.0.6
PORTREVISION= 10
CATEGORIES= archivers
MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/
MAINTAINER= ports@FreeBSD.org
COMMENT= The Red Hat Package Manager
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
CONFLICTS= rpm-4.*
USE_GETTEXT= yes
USE_GMAKE= yes
USE_AUTOTOOLS= automake:14 autoconf:213 libtool:13:inc
USE_REINPLACE= yes
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
MAN8= rpm.8 rpm2cpio.8
post-patch:
.for file in rpm.c doc/rpm.8 lib/macro.c lib/rpmrc.c
@${REINPLACE_CMD} -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>