diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-06-18 19:46:51 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-06-18 19:46:51 +0800 |
commit | df95a2d560d09c86d1a500fe7c6e846a721ff3bf (patch) | |
tree | e391a5b5894d27043bb95bd6680b03174979f810 /games/kartofel | |
parent | 3de9e5720382e61bea8dbab6e1287a0b29e64dc0 (diff) | |
download | freebsd-ports-gnome-df95a2d560d09c86d1a500fe7c6e846a721ff3bf.tar.gz freebsd-ports-gnome-df95a2d560d09c86d1a500fe7c6e846a721ff3bf.tar.zst freebsd-ports-gnome-df95a2d560d09c86d1a500fe7c6e846a721ff3bf.zip |
- Trim Makefile headers
- Drop ABI versions from LIB_DEPENDS
- OptionsNG
- Pet portlint
- Switch to dynamic plist where useful
Diffstat (limited to 'games/kartofel')
-rw-r--r-- | games/kartofel/Makefile | 13 | ||||
-rw-r--r-- | games/kartofel/pkg-plist | 41 |
2 files changed, 7 insertions, 47 deletions
diff --git a/games/kartofel/Makefile b/games/kartofel/Makefile index a821717911a9..afc872624c1b 100644 --- a/games/kartofel/Makefile +++ b/games/kartofel/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: kartofel -# Date created: 19 Jan 2009 -# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org> -# +# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org> # $FreeBSD$ -# PORTNAME= kartofel PORTVERSION= 1.2 @@ -15,7 +11,7 @@ MASTER_SITES= http://kartofel.jfedor.org/downloads/ \ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Connect the dots in order without crossing over yourself -LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl +LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl USE_GMAKE= yes USE_SDL= sdl gfx mixer image ttf @@ -25,6 +21,9 @@ MAKE_JOBS_SAFE= yes DATA_DIRS= sounds fonts music images levels +PLIST_FILES= bin/${PORTNAME} +PORTDATA= * + DESKTOP_ENTRIES="Kartofel" \ "A game of skill and logic" \ "${DATADIR}/images/icon32x32.png" \ @@ -41,7 +40,9 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/kartofel ${PREFIX}/bin +.if !defined(NOPORTDATA) ${MKDIR} ${DATADIR} cd ${WRKSRC} && ${COPYTREE_SHARE} "${DATA_DIRS}" ${DATADIR} +.endif .include <bsd.port.mk> diff --git a/games/kartofel/pkg-plist b/games/kartofel/pkg-plist deleted file mode 100644 index c77068518bbe..000000000000 --- a/games/kartofel/pkg-plist +++ /dev/null @@ -1,41 +0,0 @@ -bin/kartofel -%%DATADIR%%/fonts/Cyklop-Regular.ttf -%%DATADIR%%/fonts/FreeSans.ttf -%%DATADIR%%/images/Cliffs-1024x768.png -%%DATADIR%%/images/icon256x256.png -%%DATADIR%%/images/icon32x32.png -%%DATADIR%%/levels/1.txt -%%DATADIR%%/levels/10.txt -%%DATADIR%%/levels/11.txt -%%DATADIR%%/levels/12.txt -%%DATADIR%%/levels/13.txt -%%DATADIR%%/levels/14.txt -%%DATADIR%%/levels/15.txt -%%DATADIR%%/levels/16.txt -%%DATADIR%%/levels/17.txt -%%DATADIR%%/levels/18.txt -%%DATADIR%%/levels/19.txt -%%DATADIR%%/levels/2.txt -%%DATADIR%%/levels/20.txt -%%DATADIR%%/levels/21.txt -%%DATADIR%%/levels/3.txt -%%DATADIR%%/levels/4.txt -%%DATADIR%%/levels/5.txt -%%DATADIR%%/levels/6.txt -%%DATADIR%%/levels/7.txt -%%DATADIR%%/levels/8.txt -%%DATADIR%%/levels/9.txt -%%DATADIR%%/music/moonlight.ogg -%%DATADIR%%/sounds/click01.wav -%%DATADIR%%/sounds/click02.wav -%%DATADIR%%/sounds/click03.wav -%%DATADIR%%/sounds/sound_crash.wav -%%DATADIR%%/sounds/sound_dot_lit.wav -%%DATADIR%%/sounds/sound_level_success.wav -%%DATADIR%%/sounds/sound_out_of_time.wav -@dirrm %%DATADIR%%/sounds -@dirrm %%DATADIR%%/music -@dirrm %%DATADIR%%/levels -@dirrm %%DATADIR%%/images -@dirrm %%DATADIR%%/fonts -@dirrm %%DATADIR%% |