2002-05-09 00:08:21 +02:00
|
|
|
# New ports collection makefile for: gnomegames2
|
|
|
|
# Date created: 08 May 2002
|
|
|
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
1998-10-02 02:58:05 +02:00
|
|
|
#
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1998-10-02 02:58:05 +02:00
|
|
|
#
|
|
|
|
|
2002-05-09 00:08:21 +02:00
|
|
|
PORTNAME= gnomegames2
|
2002-11-19 08:42:30 +01:00
|
|
|
PORTVERSION= 2.0.6
|
2003-01-19 21:24:08 +01:00
|
|
|
PORTREVISION= 2
|
1999-02-02 14:01:34 +01:00
|
|
|
CATEGORIES= games gnome
|
1999-01-27 09:31:54 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2002-09-20 19:07:51 +02:00
|
|
|
MASTER_SITE_SUBDIR= sources/gnome-games/2.0
|
2000-04-14 08:53:26 +02:00
|
|
|
DISTNAME= gnome-games-${PORTVERSION}
|
2002-05-09 00:08:21 +02:00
|
|
|
DIST_SUBDIR= gnome2
|
1998-10-02 02:58:05 +02:00
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
1998-10-02 02:58:05 +02:00
|
|
|
|
2002-05-09 00:08:21 +02:00
|
|
|
LIB_DEPENDS= gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui \
|
2002-06-19 18:37:57 +02:00
|
|
|
guile.10:${PORTSDIR}/lang/guile
|
1999-05-30 06:02:08 +02:00
|
|
|
|
2001-07-09 13:12:33 +02:00
|
|
|
USE_BZIP2= yes
|
1998-10-02 02:58:05 +02:00
|
|
|
USE_X_PREFIX= yes
|
1999-01-01 10:23:15 +01:00
|
|
|
USE_GMAKE= yes
|
2002-06-26 11:18:37 +02:00
|
|
|
USE_REINPLACE= yes
|
2002-08-07 21:55:20 +02:00
|
|
|
USE_GNOMENG= yes
|
|
|
|
USE_GNOME= gnomeprefix gnomehack gnomehier
|
2002-05-09 00:08:21 +02:00
|
|
|
USE_LIBTOOL= yes
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2002-05-09 00:08:21 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2002-04-12 19:10:20 +02:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2002-05-09 00:08:21 +02:00
|
|
|
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
|
1998-10-02 02:58:05 +02:00
|
|
|
|
2002-08-07 21:55:20 +02:00
|
|
|
post-patch:
|
2002-06-26 11:18:37 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-08-04 03:19:21 +02:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
2002-06-26 11:18:37 +02:00
|
|
|
@find ${WRKSRC} -name "*.[ch]" | xargs ${REINPLACE_CMD} -e \
|
2002-05-09 00:08:21 +02:00
|
|
|
's|malloc\.h|stdlib.h|g'
|
2002-12-18 19:59:46 +01:00
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|games\.games|games:games|g ; \
|
|
|
|
s|[(]GCONF_CONFIG_SOURCE[)]|(GCONF_SCHEMA_CONFIG_SOURCE)|g'
|
|
|
|
|
2000-08-04 03:19:21 +02:00
|
|
|
|
1998-10-02 02:58:05 +02:00
|
|
|
.include <bsd.port.mk>
|