aboutsummaryrefslogtreecommitdiffstats
path: root/games/atr3d
diff options
context:
space:
mode:
authorlaszlof <laszlof@FreeBSD.org>2006-12-01 22:05:08 +0800
committerlaszlof <laszlof@FreeBSD.org>2006-12-01 22:05:08 +0800
commit1707c8c1a69b2742383dc2c3cda3d72c6bbad72f (patch)
tree5ec6474a47d3463c8e6fd44ad103a6386d56ca32 /games/atr3d
parent9fbd36bc7b3a26a4c6a8aa6925f762a7124b0642 (diff)
downloadfreebsd-ports-gnome-1707c8c1a69b2742383dc2c3cda3d72c6bbad72f.tar.gz
freebsd-ports-gnome-1707c8c1a69b2742383dc2c3cda3d72c6bbad72f.tar.zst
freebsd-ports-gnome-1707c8c1a69b2742383dc2c3cda3d72c6bbad72f.zip
1) Respect X11BASE
2) Pet portlint(1) Reported by: pointyhat
Diffstat (limited to 'games/atr3d')
-rw-r--r--games/atr3d/Makefile3
-rw-r--r--games/atr3d/pkg-plist78
2 files changed, 42 insertions, 39 deletions
diff --git a/games/atr3d/Makefile b/games/atr3d/Makefile
index 675dfd2c8ec8..0d107f21bd88 100644
--- a/games/atr3d/Makefile
+++ b/games/atr3d/Makefile
@@ -44,6 +44,9 @@ pre-patch:
${WRKSRC}/autogen.sh
@${REINPLACE_CMD} -e 's|-lopenal|& -lalut|' ${WRKSRC}/Makefile.am
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/Makefile.am
+
pre-configure:
cd ${WRKSRC}; ${SH} autogen.sh
diff --git a/games/atr3d/pkg-plist b/games/atr3d/pkg-plist
index be9bcf3f5970..c819113f7b4a 100644
--- a/games/atr3d/pkg-plist
+++ b/games/atr3d/pkg-plist
@@ -1,40 +1,40 @@
bin/atr3d
-share/atr3d/conf/ATRConfig
-share/atr3d/conf/ATRServerConfig
-share/atr3d/conf/ATRServerSingleConfig
-share/atr3d/conf/scores.dat
-share/atr3d/models/a.spec
-share/atr3d/models/h.spec
-share/atr3d/models/n.spec
-share/atr3d/models/nuke.spec
-share/atr3d/models/s.spec
-share/atr3d/models/ship.spec
-share/atr3d/models/shot.spec
-share/atr3d/sounds/0.wav
-share/atr3d/sounds/1.wav
-share/atr3d/sounds/10.wav
-share/atr3d/sounds/11.wav
-share/atr3d/sounds/12.wav
-share/atr3d/sounds/13.wav
-share/atr3d/sounds/14.wav
-share/atr3d/sounds/15.wav
-share/atr3d/sounds/16.wav
-share/atr3d/sounds/17.wav
-share/atr3d/sounds/18.wav
-share/atr3d/sounds/19.wav
-share/atr3d/sounds/2.wav
-share/atr3d/sounds/20.wav
-share/atr3d/sounds/21.wav
-share/atr3d/sounds/3.wav
-share/atr3d/sounds/4.wav
-share/atr3d/sounds/5.wav
-share/atr3d/sounds/6.wav
-share/atr3d/sounds/7.wav
-share/atr3d/sounds/8.wav
-share/atr3d/sounds/9.wav
-share/atr3d/textures/explosion.rgb
-@dirrm share/atr3d/conf
-@dirrm share/atr3d/models
-@dirrm share/atr3d/sounds
-@dirrm share/atr3d/textures
-@dirrm share/atr3d
+%%DATADIR%%/conf/ATRConfig
+%%DATADIR%%/conf/ATRServerConfig
+%%DATADIR%%/conf/ATRServerSingleConfig
+%%DATADIR%%/conf/scores.dat
+%%DATADIR%%/models/a.spec
+%%DATADIR%%/models/h.spec
+%%DATADIR%%/models/n.spec
+%%DATADIR%%/models/nuke.spec
+%%DATADIR%%/models/s.spec
+%%DATADIR%%/models/ship.spec
+%%DATADIR%%/models/shot.spec
+%%DATADIR%%/sounds/0.wav
+%%DATADIR%%/sounds/1.wav
+%%DATADIR%%/sounds/10.wav
+%%DATADIR%%/sounds/11.wav
+%%DATADIR%%/sounds/12.wav
+%%DATADIR%%/sounds/13.wav
+%%DATADIR%%/sounds/14.wav
+%%DATADIR%%/sounds/15.wav
+%%DATADIR%%/sounds/16.wav
+%%DATADIR%%/sounds/17.wav
+%%DATADIR%%/sounds/18.wav
+%%DATADIR%%/sounds/19.wav
+%%DATADIR%%/sounds/2.wav
+%%DATADIR%%/sounds/20.wav
+%%DATADIR%%/sounds/21.wav
+%%DATADIR%%/sounds/3.wav
+%%DATADIR%%/sounds/4.wav
+%%DATADIR%%/sounds/5.wav
+%%DATADIR%%/sounds/6.wav
+%%DATADIR%%/sounds/7.wav
+%%DATADIR%%/sounds/8.wav
+%%DATADIR%%/sounds/9.wav
+%%DATADIR%%/textures/explosion.rgb
+@dirrm %%DATADIR%%/conf
+@dirrm %%DATADIR%%/models
+@dirrm %%DATADIR%%/sounds
+@dirrm %%DATADIR%%/textures
+@dirrm %%DATADIR%%