1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/archivers/rpm/Makefile

43 lines
1.0 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
2000-11-02 04:29:55 +00:00
PORTREVISION= 4
1997-01-24 07:50:08 +00:00
CATEGORIES= misc
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
2000-10-05 04:09:43 +00:00
MAINTAINER= nakai@FreeBSD.org
1997-01-24 07:50:08 +00:00
LIB_DEPENDS= bz2.1:${PORTSDIR}/archivers/bzip2 \
intl.1:${PORTSDIR}/devel/gettext \
popt.0:${PORTSDIR}/devel/popt
1997-01-24 07:50:08 +00: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 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
@${PERL} -pi -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>