mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
05f0f44a55
Homepage link is permanent redirected to its HTTPS counterpart
54 lines
1.3 KiB
Makefile
54 lines
1.3 KiB
Makefile
PORTNAME= moagg
|
|
PORTVERSION= 1.95b
|
|
PORTREVISION= 1
|
|
CATEGORIES= games java
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}2/${DISTVERSION:S/b//}/ \
|
|
SF/nemysisfreebsdp/games/:icons
|
|
DISTFILES= ${PORTNAME}-${DISTVERSION}-bin.zip \
|
|
${PORTNAME}.png:icons
|
|
DIST_SUBDIR= java
|
|
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}-bin.zip
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Pilot a small space ship
|
|
WWW= https://moagg.sourceforge.net/
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
USES= zip
|
|
USE_JAVA= yes
|
|
NO_BUILD= yes
|
|
|
|
PORTDOCS= AUTHORS README.txt
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
# Do not use older versions
|
|
PORTSCOUT= skipv:1.95
|
|
|
|
DESKTOP_ENTRIES="MOAGG, Mother of all gravity Games" "" ${PORTNAME} \
|
|
"${PORTNAME}" "Game;ArcadeGame;" ""
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%JAVASHAREDIR%%|${JAVASHAREDIR}|' \
|
|
${WRKSRC}/run.sh
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/run.sh \
|
|
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "data ghosts jar" \
|
|
${STAGEDIR}${DATADIR})
|
|
.for f in hiscores.dat log4j.properties
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}
|
|
.endfor
|
|
|
|
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|