mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
f18cbf2fa6
- switch devel/gettext (0.11.1) on, installing full package - flip devel/gettext-old (0.10.35) to installing only static binaries with a "-old" suffix -- gettext-old will have its deorbit burn sequence initiated just after 4.6-RELEASE - fix up ports for the new world order Reviewed by: portmgr
48 lines
1.2 KiB
Makefile
48 lines
1.2 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= 6
|
|
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/
|
|
|
|
MAINTAINER= nakai@FreeBSD.org
|
|
|
|
BUILD_DEPENDS= msgfmt-old:${PORTSDIR}/devel/gettext-old
|
|
LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext \
|
|
popt.0:${PORTSDIR}/devel/popt
|
|
.if !exists(/usr/bin/bzip2)
|
|
LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
|
|
.endif
|
|
|
|
USE_GMAKE= yes
|
|
USE_AUTOMAKE_VER=14
|
|
USE_LIBTOOL= yes
|
|
CONFIGURE_ARGS= --with-glob
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib -lintl -liconv" \
|
|
MSGFMT="${LOCALBASE}/bin/msgfmt-old" \
|
|
XGETTEXT="${LOCALBASE}/bin/xgettext-old"
|
|
INSTALLS_SHLIB= yes
|
|
|
|
MAN1= gendiff.1
|
|
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
|
|
|
|
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>
|