mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
57 lines
1.3 KiB
Makefile
57 lines
1.3 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= xgalaga++
|
|
PORTVERSION= 0.8.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://marc.mongenet.ch/OSS/XGalaga/ \
|
|
SF/nemysisfreebsdp/:icons
|
|
DISTFILES= ${PORTNAME}_${DISTVERSION}${EXTRACT_SUFX} \
|
|
${PORTNAME}.png:icons
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
EXTRACT_ONLY= ${PORTNAME}_${DISTVERSION}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= nemysis@gmx.ch
|
|
COMMENT= 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++.6
|
|
|
|
SUB_FILES= pkg-install
|
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
share/pixmaps/${PORTNAME}.png
|
|
|
|
PORTDOCS= README
|
|
|
|
DESKTOP_ENTRIES="XGalaga++" "${COMMENT}" "${PORTNAME}" \
|
|
"${PORTNAME}" "Game;ArcadeGame;" ${FALSE}
|
|
|
|
.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}x ${MAN6PREFIX}/man/man6/${MAN6}
|
|
${CHGRP} games ${PREFIX}/bin/${PORTNAME}
|
|
${CHMOD} g+s ${PREFIX}/bin/${PORTNAME}
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
.endif
|
|
|
|
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
.include <bsd.port.mk>
|