freebsd-ports/archivers/rpm/Makefile

42 lines
976 B
Makefile
Raw Normal View History

1997-01-24 02:50:08 -05:00
# New ports collection makefile for: rpm
# Date created: 30 April 1999
# Whom: Thomas Gellekum <tg@FreeBSD.org>
1997-01-24 02:50:08 -05:00
#
1999-08-25 03:23:21 -04:00
# $FreeBSD$
1997-01-24 02:50:08 -05:00
#
2000-04-14 04:49:30 -04:00
PORTNAME= rpm
PORTVERSION= 3.0.6
2000-11-01 23:29:55 -05:00
PORTREVISION= 4
1997-01-24 02:50:08 -05:00
CATEGORIES= misc
MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/
1997-01-24 02:50:08 -05:00
2000-10-05 00:09:43 -04:00
MAINTAINER= nakai@FreeBSD.org
1997-01-24 02:50:08 -05:00
LIB_DEPENDS= bz2.1:${PORTSDIR}/archivers/bzip2 \
intl.1:${PORTSDIR}/devel/gettext \
popt.0:${PORTSDIR}/devel/popt
1997-01-24 02:50:08 -05:00
USE_GMAKE= yes
USE_AUTOMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS= --with-glob
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
MAN1= gendiff.1
1997-01-24 02:50:08 -05:00
MAN8= rpm.8 rpm2cpio.8
post-patch:
.for file in rpm.c doc/rpm.8 lib/macro.c lib/rpmrc.c
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
.endfor
1997-01-24 06:43:57 -05: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 02:50:08 -05:00
.include <bsd.port.mk>