aboutsummaryrefslogtreecommitdiff
path: root/games/sdlCC
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-07-02 22:08:52 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-07-02 22:08:52 +0000
commit7e3a1f16b2c65a48f33e3e4912297c8ab5d815fe (patch)
tree9b5983db36ad960be980092289e40642ca068e2f /games/sdlCC
parentf3eafff5efd3822e40521ae96d925649c8e1bb9a (diff)
downloadports-7e3a1f16b2c65a48f33e3e4912297c8ab5d815fe.tar.gz
ports-7e3a1f16b2c65a48f33e3e4912297c8ab5d815fe.zip
Notes
Diffstat (limited to 'games/sdlCC')
-rw-r--r--games/sdlCC/Makefile19
-rw-r--r--games/sdlCC/pkg-plist8
2 files changed, 10 insertions, 17 deletions
diff --git a/games/sdlCC/Makefile b/games/sdlCC/Makefile
index 539cda29662c..7854ba15214f 100644
--- a/games/sdlCC/Makefile
+++ b/games/sdlCC/Makefile
@@ -3,27 +3,28 @@
PORTNAME= sdlCC
PORTVERSION= 0.0.0
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= games
MASTER_SITES= http://chinesecheckers.vegard2.no/ \
http://jcatki.no-ip.org/files/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= games@FreeBSD.org
COMMENT= Extensible Chinese checkers game using SDL
-USE_AUTOTOOLS= libtool
+USES= libtool:keepla # ltdl used, .la may be needed to load plugins
USE_SDL= image mixer sdl
GNU_CONFIGURE= yes
-NO_STAGE= yes
+PORTDOCS= *
+
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure ${WRKSRC}/libltdl/configure
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/players/README ${DOCSDIR}/README.players
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/players/README ${STAGEDIR}${DOCSDIR}/README.players
.include <bsd.port.mk>
diff --git a/games/sdlCC/pkg-plist b/games/sdlCC/pkg-plist
index 5a7996528a2e..17f239a7c800 100644
--- a/games/sdlCC/pkg-plist
+++ b/games/sdlCC/pkg-plist
@@ -13,20 +13,15 @@ lib/sdlCC/images/CCSelection.png
lib/sdlCC/images/CCTitle.png
lib/sdlCC/images/CCYellowMarble.png
lib/sdlCC/images/font.png
-lib/sdlCC/players/jumper.a
lib/sdlCC/players/jumper.la
lib/sdlCC/players/jumper.so
-lib/sdlCC/players/mm.a
lib/sdlCC/players/mm.la
lib/sdlCC/players/mm.so
lib/sdlCC/players/players.txt
-lib/sdlCC/players/random.a
lib/sdlCC/players/random.la
lib/sdlCC/players/random.so
-lib/sdlCC/players/robo.a
lib/sdlCC/players/robo.la
lib/sdlCC/players/robo.so
-lib/sdlCC/players/slider.a
lib/sdlCC/players/slider.la
lib/sdlCC/players/slider.so
lib/sdlCC/sounds/Chipgene.mod
@@ -45,6 +40,3 @@ lib/sdlCC/sounds/woohoo.wav
@dirrm lib/sdlCC/players
@dirrm lib/sdlCC/images
@dirrm lib/sdlCC
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README.players
-%%PORTDOCS%%@dirrm %%DOCSDIR%%