diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2012-08-17 13:25:39 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2012-08-17 13:25:39 +0000 |
commit | b3476fe03ec45bb01a6bb2d91e977b723360b8e3 (patch) | |
tree | 991538207de363e87843e3cfcbefbbadb170e20c /games/xgalaga++/Makefile | |
parent | 3868b71ea61a00fd5676288242ca788f0245068a (diff) |
Notes
Diffstat (limited to 'games/xgalaga++/Makefile')
-rw-r--r-- | games/xgalaga++/Makefile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/games/xgalaga++/Makefile b/games/xgalaga++/Makefile new file mode 100644 index 000000000000..da0d6f31a503 --- /dev/null +++ b/games/xgalaga++/Makefile @@ -0,0 +1,52 @@ +# New Ports collection makefile for: xgalaga++ +# Date created: 2012-04-20 +# Whom: nemysis@gmx.ch +# +# $FreeBSD$ +# + +PORTNAME= xgalaga++ +PORTVERSION= 0.8.3 +CATEGORIES= games +MASTER_SITES= http://marc.mongenet.ch/OSS/XGalaga/ +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= nemysis@gmx.ch +COMMENT= A classic single screen vertical shoot em up + +LICENSE= GPLv2 + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +USE_GMAKE= yes +ALL_TARGET= ${PORTNAME} +USE_XORG= x11 xpm +MAN6= xgalaga++.6x + +SUB_FILES= pkg-install + +PLIST_FILES= bin/xgalaga++ + +PORTDOCS= README + +.include <bsd.port.options.mk> + +post-patch: + @${REINPLACE_CMD} -e '/^CXX =/ d; s|/usr/local|${LOCALBASE}|' \ + ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${MAN6} ${MAN6PREFIX}/man/man6 + ${CHOWN} :games ${PREFIX}/bin/${PORTNAME} + ${CHMOD} g+s ${PREFIX}/bin/${PORTNAME} + +# Documentation +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + + @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + +.include <bsd.port.mk> |