aboutsummaryrefslogtreecommitdiff
path: root/games/xbattle
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-10-01 18:42:07 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-10-01 18:42:07 +0000
commit93ffe04c9a3b2eb543723ead4831d2d22b855b68 (patch)
treec6e574328e257fdca9d7c5cae6df23d5e2d51c90 /games/xbattle
parentc7150046d1b3312e08980a5138e33e5d2c8901a5 (diff)
downloadports-93ffe04c9a3b2eb543723ead4831d2d22b855b68.tar.gz
ports-93ffe04c9a3b2eb543723ead4831d2d22b855b68.zip
Notes
Diffstat (limited to 'games/xbattle')
-rw-r--r--games/xbattle/Makefile17
-rw-r--r--games/xbattle/files/patch-aa6
-rw-r--r--games/xbattle/pkg-plist36
3 files changed, 34 insertions, 25 deletions
diff --git a/games/xbattle/Makefile b/games/xbattle/Makefile
index d07a72c723ba..56845fe78dcf 100644
--- a/games/xbattle/Makefile
+++ b/games/xbattle/Makefile
@@ -16,14 +16,23 @@ USE_IMAKE= yes
MAN1= xbattle.1
post-install:
- $(MKDIR) $(PREFIX)/etc/xbattle
- $(CP) -R $(WRKSRC)/xbos $(PREFIX)/etc/xbattle/
- $(CP) -R $(WRKSRC)/xbts $(PREFIX)/etc/xbattle/
- $(CP) -R $(WRKSRC)/xbas $(PREFIX)/etc/xbattle/
+ $(MKDIR) $(PREFIX)/share/xbattle
+ $(CP) -R $(WRKSRC)/xbos $(PREFIX)/share/xbattle/
+ $(CP) -R $(WRKSRC)/xbts $(PREFIX)/share/xbattle/
+ $(CP) -R $(WRKSRC)/xbas $(PREFIX)/share/xbattle/
+ @${CHMOD} 755 ${PREFIX}/share/xbattle
+ @${CHMOD} 755 ${PREFIX}/share/xbattle/xbas
+ @${CHMOD} 644 ${PREFIX}/share/xbattle/xbas/*
+ @${CHMOD} 755 ${PREFIX}/share/xbattle/xbos
+ @${CHMOD} 644 ${PREFIX}/share/xbattle/xbos/*
+ @${CHMOD} 755 ${PREFIX}/share/xbattle/xbts
+ @${CHMOD} 644 ${PREFIX}/share/xbattle/xbts/*
.if !defined(NOPORTDOCS)
$(MKDIR) $(PREFIX)/share/doc/xbattle
$(CP) $(WRKSRC)/tutorial* $(PREFIX)/share/doc/xbattle/
$(CP) $(WRKSRC)/README $(PREFIX)/share/doc/xbattle/
+ @${CHMOD} 755 $(PREFIX)/share/doc/xbattle
+ @${CHMOD} 644 $(PREFIX)/share/doc/xbattle/*
.endif
.include <bsd.port.mk>
diff --git a/games/xbattle/files/patch-aa b/games/xbattle/files/patch-aa
index 0d54e72294da..ca814000e918 100644
--- a/games/xbattle/files/patch-aa
+++ b/games/xbattle/files/patch-aa
@@ -15,9 +15,9 @@
#endif
#endif
-! DEFINES = -DDEFAULT_XBO_DIR=\"$(PREFIX)/etc/xbattle/xbos\" \
-! -DDEFAULT_XBT_DIR=\"$(PREFIX)/etc/xbattle/xbts\" \
-! -DDEFAULT_XBA_DIR=\"$(PREFIX)/etc/xbattle/xbas\"
+! DEFINES = -DDEFAULT_XBO_DIR=\"$(PREFIX)/share/xbattle/xbos\" \
+! -DDEFAULT_XBT_DIR=\"$(PREFIX)/share/xbattle/xbts\" \
+! -DDEFAULT_XBA_DIR=\"$(PREFIX)/share/xbattle/xbas\"
LOCAL_LIBRARIES = $(XLIB)
SYS_LIBRARIES = -lm
SRCS = command.c \
diff --git a/games/xbattle/pkg-plist b/games/xbattle/pkg-plist
index 5b445af09787..b9dd67771910 100644
--- a/games/xbattle/pkg-plist
+++ b/games/xbattle/pkg-plist
@@ -1,23 +1,23 @@
bin/xbattle
-etc/xbattle/xbas/simple.xba
-etc/xbattle/xbos/atlas.xbo
-etc/xbattle/xbos/default.xbo
-etc/xbattle/xbos/demo.xbo
-etc/xbattle/xbos/desert.xbo
-etc/xbattle/xbos/io.xbo
-etc/xbattle/xbos/skirmish.xbo
-etc/xbattle/xbos/space.xbo
-etc/xbattle/xbos/tribal.xbo
-etc/xbattle/xbos/tropical.xbo
-etc/xbattle/xbos/tropical2.xbo
-etc/xbattle/xbos/tundra.xbo
-etc/xbattle/xbts/castle.xbt
-etc/xbattle/xbts/natural.xbt
+share/xbattle/xbas/simple.xba
+share/xbattle/xbos/atlas.xbo
+share/xbattle/xbos/default.xbo
+share/xbattle/xbos/demo.xbo
+share/xbattle/xbos/desert.xbo
+share/xbattle/xbos/io.xbo
+share/xbattle/xbos/skirmish.xbo
+share/xbattle/xbos/space.xbo
+share/xbattle/xbos/tribal.xbo
+share/xbattle/xbos/tropical.xbo
+share/xbattle/xbos/tropical2.xbo
+share/xbattle/xbos/tundra.xbo
+share/xbattle/xbts/castle.xbt
+share/xbattle/xbts/natural.xbt
share/doc/xbattle/README
share/doc/xbattle/tutorial1
share/doc/xbattle/tutorial2
-@dirrm etc/xbattle/xbas
-@dirrm etc/xbattle/xbos
-@dirrm etc/xbattle/xbts
-@dirrm etc/xbattle
@dirrm share/doc/xbattle
+@dirrm share/xbattle/xbas
+@dirrm share/xbattle/xbos
+@dirrm share/xbattle/xbts
+@dirrm share/xbattle