diff options
author | nemysis <nemysis@FreeBSD.org> | 2014-07-30 18:44:13 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2014-07-30 18:44:13 +0800 |
commit | 99ee341c8953d8e46eb52da7a4dfeaa817f2010a (patch) | |
tree | 6436c895aa5e15b613aeb52748bcc8b56c2c8c28 /games/sdlCC | |
parent | 8cdc927a280dd353627b754a0477966f14f80c5e (diff) | |
download | freebsd-ports-gnome-99ee341c8953d8e46eb52da7a4dfeaa817f2010a.tar.gz freebsd-ports-gnome-99ee341c8953d8e46eb52da7a4dfeaa817f2010a.tar.zst freebsd-ports-gnome-99ee341c8953d8e46eb52da7a4dfeaa817f2010a.zip |
- Update to 0.0.1
- Remove nonexisting master site
- Strip libraries
- Add symlink for the icon and add Desktop entry file
- Use for DOCS INSTALL_DATA instead of INSTALL_MAN
- Remove obsolete patch, changed by upstream
Diffstat (limited to 'games/sdlCC')
-rw-r--r-- | games/sdlCC/Makefile | 21 | ||||
-rw-r--r-- | games/sdlCC/distinfo | 4 | ||||
-rw-r--r-- | games/sdlCC/files/patch-players_players.txt | 8 | ||||
-rw-r--r-- | games/sdlCC/pkg-plist | 5 |
4 files changed, 17 insertions, 21 deletions
diff --git a/games/sdlCC/Makefile b/games/sdlCC/Makefile index 7854ba15214f..ca40173b75ed 100644 --- a/games/sdlCC/Makefile +++ b/games/sdlCC/Makefile @@ -2,11 +2,9 @@ # $FreeBSD$ PORTNAME= sdlCC -PORTVERSION= 0.0.0 -PORTREVISION= 8 +PORTVERSION= 0.0.1 CATEGORIES= games -MASTER_SITES= http://chinesecheckers.vegard2.no/ \ - http://jcatki.no-ip.org/files/ +MASTER_SITES= http://jcatki.no-ip.org/files/ MAINTAINER= games@FreeBSD.org COMMENT= Extensible Chinese checkers game using SDL @@ -14,17 +12,22 @@ COMMENT= Extensible Chinese checkers game using SDL USES= libtool:keepla # ltdl used, .la may be needed to load plugins USE_SDL= image mixer sdl GNU_CONFIGURE= yes +MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP} PORTDOCS= * - OPTIONS_DEFINE= DOCS +DESKTOP_ENTRIES="Chinese Checkers" "" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" "" + post-patch: - @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure ${WRKSRC}/libltdl/configure + @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/libltdl/configure post-install: - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/players/README ${STAGEDIR}${DOCSDIR}/README.players + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/players/README ${STAGEDIR}${DOCSDIR}/README.players + ${LN} -sf /usr/local/lib/sdlCC/images/CC.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .include <bsd.port.mk> diff --git a/games/sdlCC/distinfo b/games/sdlCC/distinfo index 414a9f86256d..875c63f3c9e8 100644 --- a/games/sdlCC/distinfo +++ b/games/sdlCC/distinfo @@ -1,2 +1,2 @@ -SHA256 (sdlCC-0.0.0.tar.gz) = 52fef5878225a4f1595dbbb82f5219d8546545c61f10e55c1f55b337ee661767 -SIZE (sdlCC-0.0.0.tar.gz) = 1035506 +SHA256 (sdlCC-0.0.1.tar.gz) = 1ea898e9e59f1bc76f719975d2e4b5f88c0bbb6d73d388bb120e73fa155e9e95 +SIZE (sdlCC-0.0.1.tar.gz) = 1040595 diff --git a/games/sdlCC/files/patch-players_players.txt b/games/sdlCC/files/patch-players_players.txt deleted file mode 100644 index 427b9bb2d16f..000000000000 --- a/games/sdlCC/files/patch-players_players.txt +++ /dev/null @@ -1,8 +0,0 @@ ---- players/players.txt.orig 1970-01-01 00:00:00.000000000 +0100 -+++ players/players.txt 2007-11-21 20:49:28.000000000 +0100 -@@ -0,0 +1,5 @@ -+slider -+jumper -+robo -+random -+mm diff --git a/games/sdlCC/pkg-plist b/games/sdlCC/pkg-plist index 17f239a7c800..2d944c5cbd4f 100644 --- a/games/sdlCC/pkg-plist +++ b/games/sdlCC/pkg-plist @@ -36,7 +36,8 @@ lib/sdlCC/sounds/hmm.wav lib/sdlCC/sounds/lemon.mod lib/sdlCC/sounds/marble.wav lib/sdlCC/sounds/woohoo.wav -@dirrm lib/sdlCC/sounds -@dirrm lib/sdlCC/players +share/pixmaps/sdlCC.png @dirrm lib/sdlCC/images +@dirrm lib/sdlCC/players +@dirrm lib/sdlCC/sounds @dirrm lib/sdlCC |