2000-05-18 17:19:43 +02:00
|
|
|
# New ports collection makefile for: glife
|
|
|
|
# Date created: 18th May 2000
|
|
|
|
# Whom: Ade Lovett <ade@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= glife
|
|
|
|
PORTVERSION= 0.2.1
|
2001-05-04 23:41:30 +02:00
|
|
|
PORTREVISION= 1
|
2000-05-18 17:19:43 +02:00
|
|
|
CATEGORIES= games gnome
|
2000-06-14 15:21:38 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2000-05-18 17:19:43 +02:00
|
|
|
DISTNAME= gLife-${PORTVERSION}
|
|
|
|
|
2000-11-03 17:19:29 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2000-05-18 17:19:43 +02:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_LIBTOOL= yes
|
2001-05-04 23:41:30 +02:00
|
|
|
USE_GNOME= yes
|
2001-09-11 23:56:26 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
2000-05-18 17:19:43 +02:00
|
|
|
|
2000-08-04 18:11:37 +02:00
|
|
|
pre-patch:
|
2001-03-29 18:35:19 +02:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-08-04 03:34:38 +02:00
|
|
|
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'
|
|
|
|
|
2000-05-18 17:19:43 +02:00
|
|
|
.include <bsd.port.mk>
|