freebsd-ports/games/sdl_scavenger/Makefile
Rusmir Dusko 7cfdf0a7d2 - Change Makefile header
- Update to 145.1.2010.11.5
- Add PORTEPOCH
- Change license GPLv2 to GPLv1
- Remove USE_ZIP=yes
- USES gmake instead of USE_GMAKE
- Add USE_GCC=yes
- Use pkg-plist instead of PLIST_FILES and PORTDATA
- Add DOCS Option
- Support STAGEDIR
- Change Desktop entry file
- Symlink the icon instead of copying it
- Break lines around 80 characters
- Recreate patches with make makepatch
2014-01-13 17:03:04 +00:00

44 lines
1 KiB
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= sdl_scavenger
PORTVERSION= 145.2014.01.01
PORTEPOCH= 1
CATEGORIES= games
MASTER_SITES= SF/sdlscavenger/
DISTNAME= sdlscav-145_2014_01_01
EXTRACT_SUFX= .tgz
MAINTAINER= nemysis@FreeBSD.org
COMMENT= Lode Runner like game
LICENSE= GPLv1
WRKSRC= ${WRKDIR}/sdlscav-145
USES= gmake
USE_SDL= sdl image mixer
USE_GCC= yes
ALL_TARGET=
PORTDOCS= CREDITS DOC NEW_FEATURES README STRATEGY
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="SDL Scavenger" "" "${PORTNAME}" \
"${PORTNAME}" "Game;LogicGame;" ""
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local/games/scavenger|${DATADIR}/data|' \
${WRKSRC}/names.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sdlscav ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR})
${LN} -sf ${DATADIR}/data/scav.png \
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>