summaryrefslogtreecommitdiff
path: root/games/xbattle/Makefile
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/Makefile
parentEr, that was (diff)
Install in share/*, not /etc/*.
Obtained from: OpenBSD
Notes
Notes: svn path=/head/; revision=22106
Diffstat (limited to 'games/xbattle/Makefile')
-rw-r--r--games/xbattle/Makefile17
1 files changed, 13 insertions, 4 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>