2000-05-17 09:28:06 +02:00
|
|
|
# New ports collection makefile for: kdegames2
|
|
|
|
# Date created: Sun 14 May 2000 02:47:57
|
|
|
|
# Whom: Will Andrews <will@FreeBSD.org>
|
1997-11-02 12:29:32 +01:00
|
|
|
#
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1997-11-02 12:29:32 +01:00
|
|
|
#
|
|
|
|
|
2000-04-14 08:53:26 +02:00
|
|
|
PORTNAME= kdegames
|
2001-12-04 04:47:18 +01:00
|
|
|
PORTVERSION= 2.2.2
|
1997-11-05 05:20:23 +01:00
|
|
|
CATEGORIES= games kde
|
2000-09-15 23:40:47 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_KDE}
|
2001-08-15 18:25:13 +02:00
|
|
|
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
|
2001-09-10 22:22:28 +02:00
|
|
|
DIST_SUBDIR= KDE
|
1997-11-02 12:29:32 +01:00
|
|
|
|
2001-08-25 04:17:59 +02:00
|
|
|
MAINTAINER= kde@FreeBSD.org
|
1997-11-02 12:29:32 +01:00
|
|
|
|
2001-12-04 04:47:18 +01:00
|
|
|
BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213 \
|
2002-01-05 03:29:15 +01:00
|
|
|
automake14:${PORTSDIR}/devel/automake14
|
|
|
|
.if ${MACHINE_ARCH} == "i386" && !defined(NO_KDE_OBJPRELINK)
|
|
|
|
BUILD_DEPENDS+= objprelink:${PORTSDIR}/devel/objprelink
|
|
|
|
.endif
|
2001-12-04 04:47:18 +01:00
|
|
|
|
2001-04-03 10:14:43 +02:00
|
|
|
USE_KDELIBS_VER=2
|
1999-02-28 22:32:01 +01:00
|
|
|
USE_BZIP2= yes
|
2001-12-04 04:47:18 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2002-01-05 03:29:15 +01:00
|
|
|
CONFIGURE_ARGS?=
|
|
|
|
.if ${MACHINE_ARCH} == "i386" && !defined(NO_KDE_OBJPRELINK)
|
|
|
|
CONFIGURE_ARGS+=--enable-objprelink
|
|
|
|
.endif
|
2001-12-04 04:47:18 +01:00
|
|
|
.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_FINAL)
|
|
|
|
CONFIGURE_ARGS+=--enable-final
|
|
|
|
.endif
|
|
|
|
.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_NDEBUG)
|
|
|
|
CONFIGURE_ARGS+=--disable-debug
|
2002-01-08 02:24:11 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--enable-debug
|
|
|
|
STRIP=''
|
2001-12-04 04:47:18 +01:00
|
|
|
.endif
|
1999-02-07 00:22:08 +01:00
|
|
|
USE_GMAKE= yes
|
1998-02-17 08:12:19 +01:00
|
|
|
|
2001-12-04 04:47:18 +01:00
|
|
|
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
|
2001-12-07 16:43:46 +01:00
|
|
|
cd ${WRKSRC} && env PATH=${WRKSRC}/auto-bin:$$PATH \
|
2001-12-04 04:47:18 +01:00
|
|
|
${GMAKE} -f Makefile.cvs
|
|
|
|
|
1997-11-02 12:29:32 +01:00
|
|
|
.include <bsd.port.mk>
|