aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-02-20 14:49:22 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-02-20 14:49:22 +0000
commit44d2b34d4ab227bbef0ae37c668f5abae3b7a7c1 (patch)
tree1d0d4094ffab199198b58c3b2bf9e670f26ee626 /games
parente00475599e7ec1c31a5b7c103242be827eb99b82 (diff)
downloadports-44d2b34d4ab227bbef0ae37c668f5abae3b7a7c1.tar.gz
ports-44d2b34d4ab227bbef0ae37c668f5abae3b7a7c1.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/lexter/Makefile15
-rw-r--r--games/lexter/pkg-plist3
2 files changed, 14 insertions, 4 deletions
diff --git a/games/lexter/Makefile b/games/lexter/Makefile
index 7ee6d55a12a6..d713d7f89f64 100644
--- a/games/lexter/Makefile
+++ b/games/lexter/Makefile
@@ -12,15 +12,22 @@ CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= games/strategy
-MAINTAINER= ijliao@FreeBSD.org
+MAINTAINER= mark@kyne.com.au
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --localstatedir=/var/games
-
-USE_GMAKE= yes
+CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \
+ LDFLAGS='-L${LOCALBASE}/lib'
+CONFIGURE_ARGS+= --localstatedir=${PREFIX}/share/lexter
MAN6= lexter.6
+post-install:
+ @${CHOWN} root.games ${PREFIX}/bin/lexter
+ @${CHMOD} g+s ${PREFIX}/bin/lexter
+ @${TRUE} > ${PREFIX}/share/lexter/lexter.scores
+ @${CHOWN} root.games ${PREFIX}/share/lexter/lexter.scores
+ @${CHMOD} 664 ${PREFIX}/share/lexter/lexter.scores
+
.include <bsd.port.mk>
diff --git a/games/lexter/pkg-plist b/games/lexter/pkg-plist
index 352769b8a972..1e4b53effb35 100644
--- a/games/lexter/pkg-plist
+++ b/games/lexter/pkg-plist
@@ -1,4 +1,7 @@
bin/lexter
share/lexter/dict.en
share/lexter/dict.fr
+@mode 664
+share/lexter/lexter.scores
+@mode
@dirrm share/lexter