aboutsummaryrefslogtreecommitdiff
path: root/games/greed
diff options
context:
space:
mode:
Diffstat (limited to 'games/greed')
-rw-r--r--games/greed/Makefile13
-rw-r--r--games/greed/distinfo4
-rw-r--r--games/greed/pkg-plist2
3 files changed, 10 insertions, 9 deletions
diff --git a/games/greed/Makefile b/games/greed/Makefile
index 946a151fd246..34c4f5161b50 100644
--- a/games/greed/Makefile
+++ b/games/greed/Makefile
@@ -2,27 +2,26 @@
# $FreeBSD$
PORTNAME= greed
-PORTVERSION= 3.8
+PORTVERSION= 3.9
CATEGORIES= games
MASTER_SITES= http://catb.org/~esr/greed/ CENKES
PKGNAMESUFFIX= -game
MAINTAINER= culot@FreeBSD.org
-COMMENT= A text puzzle game with the aim of clearing the game field
+COMMENT= Text puzzle game with the aim of clearing the game field
+
+LICENSE= BSD
-MAN6= greed.6
-PLIST_FILES= bin/greed
SCOREFILE?= /var/games/greed.hs
CFLAGS+= -DSCOREFILE=\"${SCOREFILE}\" -DNOTBSD -DRELEASE=\"${PORTVERSION}\"
LDFLAGS+= -lcurses
-NO_STAGE= yes
do-build:
@cd ${WRKSRC}&&${CC} ${CFLAGS} -o greed greed.c ${LDFLAGS}
do-install:
- ${INSTALL_PROGRAM} -m 2555 -o root -g games ${WRKSRC}/greed ${PREFIX}/bin/
- ${INSTALL_MAN} ${WRKSRC}/greed.6 ${MAN6PREFIX}/man/man6/
+ ${INSTALL_PROGRAM} -m 2555 -o root -g games ${WRKSRC}/greed ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/greed.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/
@a=${SCOREFILE};[ -f $$a ]||:>$$a&&${CHOWN} root:games $$a&&${CHMOD} 664 $$a
@${ECHO_CMD} '@exec a=${SCOREFILE};[ -f $$a ]||:>$$a&&\
${CHOWN} root:games $$a&&${CHMOD} 664 $$a' >> ${TMPPLIST}
diff --git a/games/greed/distinfo b/games/greed/distinfo
index 4e471f7fafe9..8242f184a00f 100644
--- a/games/greed/distinfo
+++ b/games/greed/distinfo
@@ -1,2 +1,2 @@
-SHA256 (greed-3.8.tar.gz) = 0ab034dcf26811f2e2f98b7a03957c5253015e5c2b7d0a620581efe78ad58be4
-SIZE (greed-3.8.tar.gz) = 11687
+SHA256 (greed-3.9.tar.gz) = eef04e9a43a4db7eb752ed72a1331423d70e60fd7be21d45ea1384699920d03c
+SIZE (greed-3.9.tar.gz) = 11675
diff --git a/games/greed/pkg-plist b/games/greed/pkg-plist
new file mode 100644
index 000000000000..38781473fda5
--- /dev/null
+++ b/games/greed/pkg-plist
@@ -0,0 +1,2 @@
+bin/greed
+man/man6/greed.6.gz