aboutsummaryrefslogtreecommitdiff
path: root/games/greed/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/greed/Makefile')
-rw-r--r--games/greed/Makefile13
1 files changed, 6 insertions, 7 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}