1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/games/glife/Makefile
Ying-Chieh Liao 520bec1f56 Replace ${PERL} with ${REINPLACE_CMD}
PR:		40012
Submitted by:	Oliver Braun <obraun@informatik.unibw-muenchen.de>
2002-06-30 02:50:27 +00:00

32 lines
818 B
Makefile

# New ports collection makefile for: glife
# Date created: 18th May 2000
# Whom: Ade Lovett <ade@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= glife
PORTVERSION= 0.2.1
PORTREVISION= 1
CATEGORIES= games gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= gLife-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_LIBTOOL= yes
USE_GNOME= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
pre-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|\$$(datadir)/gnome/|\$$(datadir)/|g ; \
s|\$$(datadir)/locale|\$$(prefix)/share/locale|g'
.include <bsd.port.mk>