From 9f0740dab2c19814df9a731c4d6c0cd5a7a75fe9 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Wed, 12 Nov 2003 09:33:41 +0000 Subject: Update to 0.90. Grab maintainership. I like this program. --- games/freesweep/Makefile | 24 ++++++++++++------------ games/freesweep/distinfo | 2 +- games/freesweep/files/patch-aa | 11 ----------- games/freesweep/files/patch-config.h.in | 11 +++++++++++ games/freesweep/pkg-plist | 11 ++++++----- 5 files changed, 30 insertions(+), 29 deletions(-) delete mode 100644 games/freesweep/files/patch-aa create mode 100644 games/freesweep/files/patch-config.h.in (limited to 'games/freesweep') 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 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 - - #ifdef HAVE_LIBNCURSES --#include "@NCURSES_HINT@/include/curses.h" -+#include - #define DEFAULT_LINEDRAW 1 - #else /* HAVE_LIBNCURSES */ - #include 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%% -- cgit v1.2.3