freebsd-ports/misc/kde2-i18n/Makefile
Alan Eldridge 75e902ef96 1. Changed the lib depends on gettext to a build depends. This will mean
that the dependency is not stored in a package and so future gettext upgrades
should not require a PORTREVISION bump to force the new builds.
2. Bumped PORTREVISION as this affects package contents. Hopefully this
is the last time this happens for this reason.
2002-08-03 03:19:23 +00:00

45 lines
1 KiB
Makefile

# New ports collection makefile for: kde2-i18n
# Date created: 1 March 2001
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= kde-i18n
PORTVERSION= 2.2.2
PORTREVISION= 4
CATEGORIES?= misc kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= Attic/${PORTVERSION}/src
DIST_SUBDIR= KDE
MAINTAINER?= kde@FreeBSD.org
BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213 \
automake14:${PORTSDIR}/devel/automake14
BUILD_DEPENDS+= xgettext:${PORTSDIR}/devel/gettext
USE_KDELIBS_VER=2
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
PLIST= ${WRKDIR}/PLIST
SCRIPTS_ENV+= PLIST=${PLIST}
.include <bsd.port.pre.mk>
pre-configure:
${MKDIR} ${WRKSRC}/auto-bin
.for AC in autoconf autoheader
${LN} -sf ${LOCALBASE}/bin/${AC}213 ${WRKSRC}/auto-bin/${AC}
.endfor
.for AM in automake aclocal
${LN} -sf ${LOCALBASE}/bin/${AM}14 ${WRKSRC}/auto-bin/${AM}
.endfor
cd ${WRKSRC} && env PATH=${WRKSRC}/auto-bin:$$PATH \
${GMAKE} -f Makefile.cvs
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/Configure
.include <bsd.port.post.mk>