diff options
Diffstat (limited to 'games/xinvaders/Makefile')
-rw-r--r-- | games/xinvaders/Makefile | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/games/xinvaders/Makefile b/games/xinvaders/Makefile index f4997f7546de..9acaa68c9367 100644 --- a/games/xinvaders/Makefile +++ b/games/xinvaders/Makefile @@ -6,16 +6,33 @@ # PORTNAME= xinvaders -PORTVERSION= 1.1 +PORTVERSION= 2.1.1 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SUNSITE} MASTER_SITE_SUBDIR= games/arcade/invaders -DISTNAME= ${PORTNAME} MAINTAINER= ports@FreeBSD.org +LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext + NO_CDROM= "don't sell for profit" -USE_IMAKE= yes + +USE_X_PREFIX= yes +USE_AUTOMAKE= yes +AUTOMAKE_ARGS= --include-deps +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib -lintl" +CONFIGURE_ARGS= --enable-scorefile=${PREFIX}/share/xinvaders/xinvaders.scores + MAN6= xinvaders.6 +post-install: + ${INSTALL_DATA} ${FILESDIR}/Vaders.ad ${PREFIX}/lib/X11/app-defaults/Vaders + @${MKDIR} ${PREFIX}/share/xinvaders + @${ECHO} '0' > ${PREFIX}/share/xinvaders/xinvaders.scores + @${CHOWN} root:games ${PREFIX}/bin/xinvaders + @${CHMOD} 2555 ${PREFIX}/bin/xinvaders + @${CHOWN} root:games ${PREFIX}/share/xinvaders/xinvaders.scores + @${CHMOD} 0660 ${PREFIX}/share/xinvaders/xinvaders.scores + .include <bsd.port.mk> |