1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/games/pangzero/Makefile
Tijl Coosemans dd6f9aecd2 Convert graphics/sdl_gfx to USES=libtool. Also set USE_AUTOTOOLS because
upstream forgot to regenerate the build scripts.  This makes the build use
the correct version information and causes a library version bump.  Use
this opportunity to use USES=libtool instead of USES=libtool:oldver.
Bump PORTREVISION on all dependent ports and convert them to USES=libtool
where needed.  Also use USES=(gmake, pathfix, tar) and new LIB_DEPENDS
syntax here and there.

games/freedink-engine:
- Option helpers.
- Staging.
- Use dirrmtry for locale directories.

games/oolite:
- Staging.
- Replace ECHO with ECHO_CMD.
- Don't use GNUSTEP_PREFIX to install files because it expands to
  LOCALBASE rather than PREFIX.

games/openssn:
- Remove USES=desktop-file-utils.  No MimeType field in desktop file.
- Staging.
- Install files in standard DATADIR.

games/xblast:
- Use proper options.
- Staging.
- Patch configure so normal make install can be used instead of do-install.
- Replace TAR | TAR with COPYTREE_SHARE.
2014-05-02 14:16:49 +00:00

52 lines
1.2 KiB
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= pangzero
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF \
SF/nemysisfreebsdp/${CATEGORIES}/:icons
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
${PORTNAME}_icons${EXTRACT_SUFX}:icons
MAINTAINER= ports@FreeBSD.org
COMMENT= Clone of Super Pang
LICENSE= GPLv2
RUN_DEPENDS= p5-Carp>=0:${PORTSDIR}/devel/p5-Carp \
p5-SDL>=0:${PORTSDIR}/devel/p5-SDL
USES= perl5
NO_BUILD= yes
PORTDOCS= AUTHORS ChangeLog README
OPTIONS_DEFINE= DOCS
SUB_FILES= ${PORTNAME}
DESKTOP_ENTRIES="Pang Zero" "" "${PORTNAME}" \
"${PORTNAME}" "Game;ActionGame;" ""
post-extract:
@${FIND} ${WRKSRC} -name "Makefile*" -delete
.for f in *.png *.jpg
@${CP} -a ${WRKDIR}/${f} ${WRKSRC}/data
.endfor
do-install:
@${REINPLACE_CMD} -e 's|%%PERL%%|${PERL}|' \
${WRKDIR}/${PORTNAME}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "bin data" ${STAGEDIR}${DATADIR})
${LN} -sf ${DATADIR}/data/icon.png \
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>