freebsd-ports/games/sdl_lopan/Makefile
Rusmir Dusko 47806589c2 games/arkanoidsb
- Transfer maintainership to games@ team
- Use tar:bzip2 instead of USE_BZIP2=yes

games/magicmaze

- Mastersite disappeared, mirror on my SF site
- Transfer maintainership to games@ team
- Change WWW to WayBack

games/sdl_jewels

- Transfer maintainership to games@ team

games/sdl_lopan

- Transfer maintainership to games@ team

games/secrettower

- Transfer maintainership to games@ team

games/super_mario_bros_python

- Transfer maintainership to games@ team

games/xvier

- Transfer maintainership to games@ team
2014-06-14 15:15:06 +00:00

47 lines
1.2 KiB
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= sdl_lopan
PORTVERSION= 10
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://www.linuxmotors.com/sdllopan/downloads/ \
SF/nemysisfreebsdp/${CATEGORIES}/:icons
DISTFILES= sdllopan-${DISTVERSION}.tgz \
${PORTNAME}.png:icons
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= sdllopan-${DISTVERSION}.tgz
MAINTAINER= games@FreeBSD.org
COMMENT= Mahjong game remake
LICENSE= GPLv2
WRKSRC= ${WRKDIR}/sdllopan-${PORTVERSION}
USES= gmake
USE_SDL= sdl image mixer
ALL_TARGET=
PORTDOCS= Changelog README
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="SDL Lopan" "" "${PORTNAME}" \
"${PORTNAME}" "Game;BoardGame;" ""
post-patch:
@${REINPLACE_CMD} -e 's|data/bg%d.pcx|${DATADIR}/data/bg%d.pcx| ; \
s|data/tiles%d.pcx|${DATADIR}/data/tiles%d.pcx| ; \
s|char temp\[64\];|char temp\[256\];|' \
${WRKSRC}/lopan.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lopan ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR})
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>