aboutsummaryrefslogtreecommitdiffstats
path: root/games/xorgramana
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-06-18 19:46:51 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-06-18 19:46:51 +0800
commitdf95a2d560d09c86d1a500fe7c6e846a721ff3bf (patch)
treee391a5b5894d27043bb95bd6680b03174979f810 /games/xorgramana
parent3de9e5720382e61bea8dbab6e1287a0b29e64dc0 (diff)
downloadfreebsd-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/xorgramana')
-rw-r--r--games/xorgramana/Makefile16
-rw-r--r--games/xorgramana/pkg-descr2
-rw-r--r--games/xorgramana/pkg-plist162
3 files changed, 10 insertions, 170 deletions
diff --git a/games/xorgramana/Makefile b/games/xorgramana/Makefile
index 1d15f3df8a60..99cca13266d3 100644
--- a/games/xorgramana/Makefile
+++ b/games/xorgramana/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xorgramana
-# Date created: 27 Mar 2009
-# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
-#
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= xorgramana
PORTVERSION= 0.0.8
@@ -26,6 +22,9 @@ ALL_TARGET= ${PORTNAME}
MKE_JOBS_SAFE= yes
PORTDOCS= README
+PORTDATA= *
+
+PLIST_FILES= bin/${PORTNAME}
DESKTOP_ENTRIES="XorGramana" \
"Logic word puzzle game set inside a series of mazes" \
@@ -34,15 +33,18 @@ DESKTOP_ENTRIES="XorGramana" \
"Game;LogicGame;" \
false
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|GFX/|${DATADIR}/&|' ${WRKSRC}/icons.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+.if !defined(NOPORTDATA)
${MKDIR} ${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "data GFX" ${DATADIR}
-
-.if !defined(NOPORTDOCS)
+.endif
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
diff --git a/games/xorgramana/pkg-descr b/games/xorgramana/pkg-descr
index 8fe243b1c534..80818651f7d2 100644
--- a/games/xorgramana/pkg-descr
+++ b/games/xorgramana/pkg-descr
@@ -3,4 +3,4 @@ each maze by arranging letters to form pre-defined words. XorGramana
is based upon the game Xor which appeared in the early 1990's on
8bit home computers. XorGramana implements a version of Xor too.
-WWW: http://www.jwm-art.net/XorGramana/
+WWW: http://www.jwm-art.net/XorGramana/
diff --git a/games/xorgramana/pkg-plist b/games/xorgramana/pkg-plist
deleted file mode 100644
index bcc6bbe6b540..000000000000
--- a/games/xorgramana/pkg-plist
+++ /dev/null
@@ -1,162 +0,0 @@
-bin/xorgramana
-%%DATADIR%%/GFX/0.png
-%%DATADIR%%/GFX/1.png
-%%DATADIR%%/GFX/2.png
-%%DATADIR%%/GFX/2/edge3_b.png
-%%DATADIR%%/GFX/2/edge3_l.png
-%%DATADIR%%/GFX/2/edge3_r.png
-%%DATADIR%%/GFX/2/edge3_t.png
-%%DATADIR%%/GFX/2/floor3.png
-%%DATADIR%%/GFX/2/wall3.png
-%%DATADIR%%/GFX/3.png
-%%DATADIR%%/GFX/3/edge2_b.png
-%%DATADIR%%/GFX/3/edge2_l.png
-%%DATADIR%%/GFX/3/edge2_r.png
-%%DATADIR%%/GFX/3/edge2_t.png
-%%DATADIR%%/GFX/3/floor2.png
-%%DATADIR%%/GFX/3/wall2.png
-%%DATADIR%%/GFX/4.png
-%%DATADIR%%/GFX/5.png
-%%DATADIR%%/GFX/6.png
-%%DATADIR%%/GFX/7.png
-%%DATADIR%%/GFX/8.png
-%%DATADIR%%/GFX/9.png
-%%DATADIR%%/GFX/a.png
-%%DATADIR%%/GFX/b.png
-%%DATADIR%%/GFX/blank.png
-%%DATADIR%%/GFX/box_blank.png
-%%DATADIR%%/GFX/c.png
-%%DATADIR%%/GFX/d.png
-%%DATADIR%%/GFX/dot.png
-%%DATADIR%%/GFX/e.png
-%%DATADIR%%/GFX/edge1_b.png
-%%DATADIR%%/GFX/edge1_l.png
-%%DATADIR%%/GFX/edge1_r.png
-%%DATADIR%%/GFX/edge1_t.png
-%%DATADIR%%/GFX/edge2_b.png
-%%DATADIR%%/GFX/edge2_l.png
-%%DATADIR%%/GFX/edge2_r.png
-%%DATADIR%%/GFX/edge2_t.png
-%%DATADIR%%/GFX/edge3_b.png
-%%DATADIR%%/GFX/edge3_l.png
-%%DATADIR%%/GFX/edge3_r.png
-%%DATADIR%%/GFX/edge3_t.png
-%%DATADIR%%/GFX/edge4_b.png
-%%DATADIR%%/GFX/edge4_l.png
-%%DATADIR%%/GFX/edge4_r.png
-%%DATADIR%%/GFX/edge4_t.png
-%%DATADIR%%/GFX/edge5_b.png
-%%DATADIR%%/GFX/edge5_l.png
-%%DATADIR%%/GFX/edge5_r.png
-%%DATADIR%%/GFX/edge5_t.png
-%%DATADIR%%/GFX/edge6_b.png
-%%DATADIR%%/GFX/edge6_l.png
-%%DATADIR%%/GFX/edge6_r.png
-%%DATADIR%%/GFX/edge6_t.png
-%%DATADIR%%/GFX/edge7_b.png
-%%DATADIR%%/GFX/edge7_l.png
-%%DATADIR%%/GFX/edge7_r.png
-%%DATADIR%%/GFX/edge7_t.png
-%%DATADIR%%/GFX/exit.png
-%%DATADIR%%/GFX/exit_open.png
-%%DATADIR%%/GFX/explode01.png
-%%DATADIR%%/GFX/explode02.png
-%%DATADIR%%/GFX/explode03.png
-%%DATADIR%%/GFX/explode04.png
-%%DATADIR%%/GFX/explode05.png
-%%DATADIR%%/GFX/explode_h.png
-%%DATADIR%%/GFX/explode_v.png
-%%DATADIR%%/GFX/f.png
-%%DATADIR%%/GFX/floor1.png
-%%DATADIR%%/GFX/floor2.png
-%%DATADIR%%/GFX/floor3.png
-%%DATADIR%%/GFX/floor4.png
-%%DATADIR%%/GFX/floor5.png
-%%DATADIR%%/GFX/floor6.png
-%%DATADIR%%/GFX/floor7.png
-%%DATADIR%%/GFX/g.png
-%%DATADIR%%/GFX/grav_d.png
-%%DATADIR%%/GFX/grav_l.png
-%%DATADIR%%/GFX/grav_r.png
-%%DATADIR%%/GFX/grav_u.png
-%%DATADIR%%/GFX/h-field.png
-%%DATADIR%%/GFX/h.png
-%%DATADIR%%/GFX/hard_push_d.png
-%%DATADIR%%/GFX/hard_push_l.png
-%%DATADIR%%/GFX/hard_push_r.png
-%%DATADIR%%/GFX/hard_push_u.png
-%%DATADIR%%/GFX/hash.png
-%%DATADIR%%/GFX/i.png
-%%DATADIR%%/GFX/j.png
-%%DATADIR%%/GFX/k.png
-%%DATADIR%%/GFX/l.png
-%%DATADIR%%/GFX/line-b.png
-%%DATADIR%%/GFX/line-bl.png
-%%DATADIR%%/GFX/line-br.png
-%%DATADIR%%/GFX/line-l.png
-%%DATADIR%%/GFX/line-r.png
-%%DATADIR%%/GFX/line-t.png
-%%DATADIR%%/GFX/line-tl.png
-%%DATADIR%%/GFX/line-tr.png
-%%DATADIR%%/GFX/m.png
-%%DATADIR%%/GFX/map.png
-%%DATADIR%%/GFX/mask.png
-%%DATADIR%%/GFX/movements.xcf
-%%DATADIR%%/GFX/n.png
-%%DATADIR%%/GFX/o.png
-%%DATADIR%%/GFX/p.png
-%%DATADIR%%/GFX/push_d.png
-%%DATADIR%%/GFX/push_l.png
-%%DATADIR%%/GFX/push_r.png
-%%DATADIR%%/GFX/push_u.png
-%%DATADIR%%/GFX/q.png
-%%DATADIR%%/GFX/r.png
-%%DATADIR%%/GFX/s.png
-%%DATADIR%%/GFX/space.png
-%%DATADIR%%/GFX/star.png
-%%DATADIR%%/GFX/t.png
-%%DATADIR%%/GFX/teleport.png
-%%DATADIR%%/GFX/u.png
-%%DATADIR%%/GFX/v-field.png
-%%DATADIR%%/GFX/v.png
-%%DATADIR%%/GFX/w.png
-%%DATADIR%%/GFX/wall1.png
-%%DATADIR%%/GFX/wall2.png
-%%DATADIR%%/GFX/wall3.png
-%%DATADIR%%/GFX/wall4.png
-%%DATADIR%%/GFX/wall5.png
-%%DATADIR%%/GFX/wall6.png
-%%DATADIR%%/GFX/wall7.png
-%%DATADIR%%/GFX/x.png
-%%DATADIR%%/GFX/y.png
-%%DATADIR%%/GFX/z.png
-%%DATADIR%%/data/maps/1.txt
-%%DATADIR%%/data/maps/2.txt
-%%DATADIR%%/data/maps/3.txt
-%%DATADIR%%/data/maps/4.txt
-%%DATADIR%%/data/maps/5.txt
-%%DATADIR%%/data/maps/6.txt
-%%DATADIR%%/data/maps/7.txt
-%%DATADIR%%/data/maps/8.txt
-%%DATADIR%%/data/xormaps/1.txt
-%%DATADIR%%/data/xormaps/10.txt
-%%DATADIR%%/data/xormaps/11.txt
-%%DATADIR%%/data/xormaps/12.txt
-%%DATADIR%%/data/xormaps/13.txt
-%%DATADIR%%/data/xormaps/14.txt
-%%DATADIR%%/data/xormaps/15.txt
-%%DATADIR%%/data/xormaps/2.txt
-%%DATADIR%%/data/xormaps/3.txt
-%%DATADIR%%/data/xormaps/4.txt
-%%DATADIR%%/data/xormaps/5.txt
-%%DATADIR%%/data/xormaps/6.txt
-%%DATADIR%%/data/xormaps/7.txt
-%%DATADIR%%/data/xormaps/8.txt
-%%DATADIR%%/data/xormaps/9.txt
-@dirrm %%DATADIR%%/data/xormaps
-@dirrm %%DATADIR%%/data/maps
-@dirrm %%DATADIR%%/data
-@dirrm %%DATADIR%%/GFX/3
-@dirrm %%DATADIR%%/GFX/2
-@dirrm %%DATADIR%%/GFX
-@dirrm %%DATADIR%%