aboutsummaryrefslogtreecommitdiff
path: root/games/freesweep
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2011-08-08 13:50:45 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2011-08-08 13:50:45 +0000
commit95ad57d3cc00b2c656f88e35a5d4eb818ec765d0 (patch)
treefbb9b2a5b60fce2e923cb5b679efd03361a01392 /games/freesweep
parent8ec8066b9ec302267489a23a518d67d383bbe74f (diff)
Notes
Diffstat (limited to 'games/freesweep')
-rw-r--r--games/freesweep/Makefile24
-rw-r--r--games/freesweep/distinfo4
-rw-r--r--games/freesweep/pkg-descr6
-rw-r--r--games/freesweep/pkg-plist7
4 files changed, 19 insertions, 22 deletions
diff --git a/games/freesweep/Makefile b/games/freesweep/Makefile
index a158285ffd49..601d45baf9a9 100644
--- a/games/freesweep/Makefile
+++ b/games/freesweep/Makefile
@@ -6,33 +6,35 @@
#
PORTNAME= freesweep
-PORTVERSION= 0.90
-PORTREVISION= 1
+PORTVERSION= 0.92
CATEGORIES= games
-MASTER_SITES= http://www.upl.cs.wisc.edu/~hartmann/sweep/
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports@FreeBSD.org
COMMENT= Minesweeper-style game for text-mode terminals
-DEPRECATED= No more public distfiles
-EXPIRATION_DATE= 2011-09-01
+LICENSE= GPLv2 GPLv3
+LICENSE_COMB= dual
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-prefsdir=${DATADIR} \
- --with-scoresdir=${DATADIR}\
+ --with-scoresdir=${DATADIR} \
--disable-debug-log
-CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
- LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-
-ALL_TARGET= # empty
+ALL_TARGET= ${PORTNAME}
+MAKE_JOBS_SAFE= yes
MAN6= freesweep.6
+PORTDOCS= CHANGES README
+PLIST_FILES= bin/freesweep %%DATADIR%%/sweeprc %%DATADIR%%/sweeptimes
+PLIST_DIRS= %%DATADIR%%
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/CHANGES ${WRKSRC}/README ${DOCSDIR}
+.for file in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/games/freesweep/distinfo b/games/freesweep/distinfo
index a29d0d4344e6..48e7fd9bc796 100644
--- a/games/freesweep/distinfo
+++ b/games/freesweep/distinfo
@@ -1,2 +1,2 @@
-SHA256 (freesweep-0.90.tar.gz) = d5cc33c07c523460295c3ba296fcf7b08049f469ff4f70672067492720949586
-SIZE (freesweep-0.90.tar.gz) = 87169
+SHA256 (freesweep-0.92.tar.gz) = 519c7405c131bd62db7534855fbb92b9cfcf511ded2bf4d2b94f1abaf86aa698
+SIZE (freesweep-0.92.tar.gz) = 87353
diff --git a/games/freesweep/pkg-descr b/games/freesweep/pkg-descr
index 67ecde66f997..4792b49b5d00 100644
--- a/games/freesweep/pkg-descr
+++ b/games/freesweep/pkg-descr
@@ -1,2 +1,4 @@
-Minesweeper-type game for text-mode terminals. Features
-include boards up to 1024x1024 and saving and loading the boards.
+Minesweeper-type game for text-mode terminals. Features include boards
+up to 1024x1024 and saving and loading the boards.
+
+WWW: http://code.google.com/p/freesweep/
diff --git a/games/freesweep/pkg-plist b/games/freesweep/pkg-plist
deleted file mode 100644
index 971f9c8896aa..000000000000
--- a/games/freesweep/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-bin/freesweep
-%%PORTDOCS%%%%DOCSDIR%%/CHANGES
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%DATADIR%%/sweeprc
-%%DATADIR%%/sweeptimes
-@dirrm %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%