diff options
author | adamw <adamw@FreeBSD.org> | 2003-11-12 17:33:41 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2003-11-12 17:33:41 +0800 |
commit | 4b71a58a5b43001edb0153ada0a1d63258f7fe12 (patch) | |
tree | e4aace81f890124b2e3de8424cfdd04abe1c7ca3 /games/freesweep | |
parent | 31708b4182680862a861f3aefbfaecbd5505d262 (diff) | |
download | freebsd-ports-gnome-4b71a58a5b43001edb0153ada0a1d63258f7fe12.tar.gz freebsd-ports-gnome-4b71a58a5b43001edb0153ada0a1d63258f7fe12.tar.zst freebsd-ports-gnome-4b71a58a5b43001edb0153ada0a1d63258f7fe12.zip |
Update to 0.90.
Grab maintainership. I like this program.
Diffstat (limited to 'games/freesweep')
-rw-r--r-- | games/freesweep/Makefile | 24 | ||||
-rw-r--r-- | games/freesweep/distinfo | 2 | ||||
-rw-r--r-- | games/freesweep/files/patch-aa | 11 | ||||
-rw-r--r-- | games/freesweep/files/patch-config.h.in | 11 | ||||
-rw-r--r-- | games/freesweep/pkg-plist | 11 |
5 files changed, 30 insertions, 29 deletions
diff --git a/games/freesweep/Makefile b/games/freesweep/Makefile index f6370c58c26f..a6b2cd9d79d0 100644 --- a/games/freesweep/Makefile +++ b/games/freesweep/Makefile @@ -6,31 +6,31 @@ # PORTNAME= freesweep -PORTVERSION= 0.88 +PORTVERSION= 0.90 CATEGORIES= games MASTER_SITES= http://www.upl.cs.wisc.edu/~hartmann/sweep/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= adamw@FreeBSD.org COMMENT= Minesweeper-style game for text-mode terminals USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-prefsdir=${PREFIX}/share/freesweep \ - --with-scoresdir=${PREFIX}/share/freesweep \ +CONFIGURE_ARGS= --with-prefsdir=${DATADIR} \ + --with-scoresdir=${DATADIR}\ --disable-debug-log +USE_GETOPT_LONG= yes +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ + LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" + ALL_TARGET= # empty MAN6= freesweep.6 -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/freesweep ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/freesweep.6 ${PREFIX}/man/man6 - @${MKDIR} ${PREFIX}/share/freesweep - ${INSTALL_DATA} ${WRKSRC}/sweeprc ${PREFIX}/share/freesweep +post-install: .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/freesweep - ${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/freesweep - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/freesweep + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/CHANGES ${WRKSRC}/README ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/games/freesweep/distinfo b/games/freesweep/distinfo index 39ff753e9923..1dbd097336e5 100644 --- a/games/freesweep/distinfo +++ b/games/freesweep/distinfo @@ -1 +1 @@ -MD5 (freesweep-0.88.tar.gz) = 314885d902245bd8e00657817de7a7b3 +MD5 (freesweep-0.90.tar.gz) = fc737e390602e3318297d9adc304da3b diff --git a/games/freesweep/files/patch-aa b/games/freesweep/files/patch-aa deleted file mode 100644 index a61099736cbc..000000000000 --- a/games/freesweep/files/patch-aa +++ /dev/null @@ -1,11 +0,0 @@ ---- sweep.h.in.orig Wed Mar 29 23:08:32 2000 -+++ sweep.h.in Wed Mar 29 23:09:50 2000 -@@ -36,7 +36,7 @@ - #include <signal.h> - - #ifdef HAVE_LIBNCURSES --#include "@NCURSES_HINT@/include/curses.h" -+#include <ncurses.h> - #define DEFAULT_LINEDRAW 1 - #else /* HAVE_LIBNCURSES */ - #include <curses.h> diff --git a/games/freesweep/files/patch-config.h.in b/games/freesweep/files/patch-config.h.in new file mode 100644 index 000000000000..d58b997c8884 --- /dev/null +++ b/games/freesweep/files/patch-config.h.in @@ -0,0 +1,11 @@ +--- config.h.in.orig Wed Nov 12 04:24:48 2003 ++++ config.h.in Wed Nov 12 04:25:07 2003 +@@ -25,7 +25,7 @@ + #undef SCORESDIR + + /* Comment this out to use a shared best times file. */ +-#undef USE_GROUP_BEST_FILE ++/* #undef USE_GROUP_BEST_FILE */ + + + /* Leave that blank line there!! Autoheader needs it. diff --git a/games/freesweep/pkg-plist b/games/freesweep/pkg-plist index 77f6797963fb..971f9c8896aa 100644 --- a/games/freesweep/pkg-plist +++ b/games/freesweep/pkg-plist @@ -1,6 +1,7 @@ bin/freesweep -%%PORTDOCS%%share/doc/freesweep/CHANGES -%%PORTDOCS%%share/doc/freesweep/README -share/freesweep/sweeprc -@dirrm share/freesweep -%%PORTDOCS%%@dirrm share/doc/freesweep +%%PORTDOCS%%%%DOCSDIR%%/CHANGES +%%PORTDOCS%%%%DOCSDIR%%/README +%%DATADIR%%/sweeprc +%%DATADIR%%/sweeptimes +@dirrm %%DATADIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% |