# New ports collection makefile for: gtetrinet # Date created: 27 Feb 2000 # Whom: Dan Papasian # # $FreeBSD$ PORTNAME= gtetrinet PORTVERSION= 0.7.1 CATEGORIES= games gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.7 DIST_SUBDIR= gnome2 MAINTAINER= flynn@energyhq.homeip.net COMMENT= A version of the popular TetriNET multiplayer tetris clone USE_BZIP2= yes USE_X_PREFIX= yes USE_GNOME= gnomehack gnomeprefix gnomehier esound libgnomeui USE_REINPLACE= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ARGS= --bindir=${PREFIX}/bin MAN6= gtetrinet.6 post-patch: @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} \ 's|[(]prefix[)]/games|{bindir}|g ; \ s|[(]libdir[)]/locale|(prefix)/share/locale|g' .include