aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2011-10-18 21:05:45 +0800
committerehaupt <ehaupt@FreeBSD.org>2011-10-18 21:05:45 +0800
commita20cfd0237e15f915e86f9945679ae90ce0627fe (patch)
treedf805e02e586dde20966734714a77732f467ffb4 /games
parenta7ed8720fb47c4aac4e515fc3f72f4f8553cbab5 (diff)
downloadfreebsd-ports-gnome-a20cfd0237e15f915e86f9945679ae90ce0627fe.tar.gz
freebsd-ports-gnome-a20cfd0237e15f915e86f9945679ae90ce0627fe.tar.zst
freebsd-ports-gnome-a20cfd0237e15f915e86f9945679ae90ce0627fe.zip
Support USE_TK_WRAPPER
PR: 161636 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'games')
-rw-r--r--games/bogged/Makefile31
-rw-r--r--games/bogged/files/patch-aa10
2 files changed, 14 insertions, 27 deletions
diff --git a/games/bogged/Makefile b/games/bogged/Makefile
index d53711113484..72a43e686ca2 100644
--- a/games/bogged/Makefile
+++ b/games/bogged/Makefile
@@ -5,31 +5,28 @@
# $FreeBSD$
#
-PORTNAME= bogged
-PORTVERSION= 1.0.0
+PORTNAME= bogged
+PORTVERSION= 1.0.0
PORTREVISION= 2
-CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= games/strategy
-EXTRACT_SUFX= .gz
+CATEGORIES= games
+MASTER_SITES= SUNSITE/games/strategy
+EXTRACT_SUFX= .gz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Word game for X Window System
-RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82
+EXTRACT_CMD= ${GZIP_CMD}
+EXTRACT_BEFORE_ARGS= -dc
+EXTRACT_AFTER_ARGS= > ${WRKDIR}/${PORTNAME}
-EXTRACT_CMD= ${CP}
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= ${WRKDIR}
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
-NO_WRKSUBDIR= yes
-NO_BUILD= yes
-PLIST_FILES= bin/bogged
+USE_TK_WRAPPER= yes
-post-extract:
- @ ${GUNZIP_CMD} ${WRKDIR}/${DISTNAME}${EXTRACT_SUFX}
+PLIST_FILES= bin/bogged
do-install:
- @ ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/bogged
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/games/bogged/files/patch-aa b/games/bogged/files/patch-aa
deleted file mode 100644
index c34a7d5be4fd..000000000000
--- a/games/bogged/files/patch-aa
+++ /dev/null
@@ -1,10 +0,0 @@
---- bogged-1.0.0 Mon May 18 11:52:13 1998
-+++ /home/andy/tmp/wrk/bogged-1.0.0 Mon May 18 11:51:59 1998
-@@ -1,6 +1,6 @@
- #!/bin/sh
- # the next line restarts using wish \
--exec wish "$0" "$@"
-+exec wish8.2 "$0" "$@"
-
- #
- # Bogged is Copyright 1998 Todd David Rudick