1999-02-02 13:01:34 +00:00
|
|
|
# New ports collection makefile for: gnomegames
|
|
|
|
# Date created: 03 July 1998
|
|
|
|
# Whom: Yukihiro Nakai <Nakai@technologist.com>
|
1998-10-02 00:58:05 +00:00
|
|
|
#
|
1999-08-25 06:06:33 +00:00
|
|
|
# $FreeBSD$
|
1998-10-02 00:58:05 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 06:53:26 +00:00
|
|
|
PORTNAME= gnomegames
|
2000-06-01 16:10:38 +00:00
|
|
|
PORTVERSION= 1.2.0
|
1999-02-02 13:01:34 +00:00
|
|
|
CATEGORIES= games gnome
|
1999-01-27 08:31:54 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
1999-12-04 19:08:13 +00:00
|
|
|
MASTER_SITE_SUBDIR= stable/sources/gnome-games
|
2000-04-14 06:53:26 +00:00
|
|
|
DISTNAME= gnome-games-${PORTVERSION}
|
1998-10-02 00:58:05 +00:00
|
|
|
|
2000-01-07 02:07:00 +00:00
|
|
|
MAINTAINER= ade@FreeBSD.org
|
1998-10-02 00:58:05 +00:00
|
|
|
|
2000-06-08 21:40:55 +00:00
|
|
|
LIB_DEPENDS= panel_applet.4:${PORTSDIR}/x11/gnomecore \
|
2000-08-04 01:19:21 +00:00
|
|
|
guile.9:${PORTSDIR}/lang/guile
|
2000-08-11 15:25:32 +00:00
|
|
|
RUN_DEPENDS= ${X11BASE}/share/gnome/sounds/startup.wav:${PORTSDIR}/audio/gnomeaudio
|
1998-10-02 00:58:05 +00:00
|
|
|
|
1999-05-30 04:02:08 +00:00
|
|
|
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
|
|
|
|
1998-10-02 00:58:05 +00:00
|
|
|
USE_X_PREFIX= yes
|
1999-01-01 09:23:15 +00:00
|
|
|
USE_GMAKE= yes
|
1999-05-30 04:02:08 +00:00
|
|
|
USE_LIBTOOL= yes
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
1998-10-02 00:58:05 +00:00
|
|
|
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
|
2000-06-01 16:10:38 +00:00
|
|
|
--datadir=${PREFIX}/share/gnome
|
1999-05-30 04:02:08 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
GTK_CONFIG="${GTK_CONFIG}" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1998-10-02 00:58:05 +00:00
|
|
|
|
2000-08-04 16:11:37 +00:00
|
|
|
pre-patch:
|
2000-08-04 01:19:21 +00:00
|
|
|
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
|
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
|
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
|
|
|
|
1998-10-02 00:58:05 +00:00
|
|
|
.include <bsd.port.mk>
|