diff options
author | jedgar <jedgar@FreeBSD.org> | 2000-02-18 03:36:33 +0000 |
---|---|---|
committer | jedgar <jedgar@FreeBSD.org> | 2000-02-18 03:36:33 +0000 |
commit | 8d209940847902c232c3c048beb07260f34f1c25 (patch) | |
tree | f062da16ac9c3ab6c88b414d04ecece3b9908cbd /games/wmtimebomb | |
parent | 9f0cb00a0d630d0fdff889a1fcac674d28171727 (diff) | |
download | FreeBSD-ports-8d209940847902c232c3c048beb07260f34f1c25.zip FreeBSD-ports-8d209940847902c232c3c048beb07260f34f1c25.tar.gz |
* Support get-wraster-flags
* Remove redundant *_DEPENDS
* Add example preference file
PR: 16783
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'games/wmtimebomb')
-rw-r--r-- | games/wmtimebomb/Makefile | 16 | ||||
-rw-r--r-- | games/wmtimebomb/files/patch-aa | 12 | ||||
-rw-r--r-- | games/wmtimebomb/pkg-descr | 6 | ||||
-rw-r--r-- | games/wmtimebomb/pkg-plist | 2 |
4 files changed, 21 insertions, 15 deletions
diff --git a/games/wmtimebomb/Makefile b/games/wmtimebomb/Makefile index db08fb8..a8a6b3e 100644 --- a/games/wmtimebomb/Makefile +++ b/games/wmtimebomb/Makefile @@ -12,20 +12,18 @@ MASTER_SITES= ftp://ftp.netmug.org/pub/FreeBSD/distfiles/ MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \ - PropList.2:${PORTSDIR}/devel/libPropList \ - tiff.4:${PORTSDIR}/graphics/tiff \ - jpeg.9:${PORTSDIR}/graphics/jpeg \ - ungif.5:${PORTSDIR}/graphics/libungif \ - png.3:${PORTSDIR}/graphics/png -BUILD_DEPENDS= ${X11BASE}/lib/libWMaker.a:${PORTSDIR}/x11-wm/windowmaker +LIB_DEPENDS= PropList.2:${PORTSDIR}/devel/libPropList \ + wraster.3:${PORTSDIR}/x11-wm/windowmaker WRKSRC= ${WRKDIR}/wmtimebomb.app USE_IMAKE= yes NO_INSTALL_MANPAGES= yes post-patch: - ${PERL} -pi -e 's,\@LOCALBASE\@,${LOCALBASE},g' ${WRKSRC}/Imakefile - ${PERL} -pi -e 's,\@X11BASE\@,${X11BASE},g' ${WRKSRC}/Imakefile + @${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Imakefile + +post-install: + @${MKDIR} ${PREFIX}/lib/X11/wmtimebomb + ${INSTALL_DATA} ${WRKSRC}/example.modefile ${PREFIX}/lib/X11/wmtimebomb .include <bsd.port.mk> diff --git a/games/wmtimebomb/files/patch-aa b/games/wmtimebomb/files/patch-aa index 7279fa8..04ce523 100644 --- a/games/wmtimebomb/files/patch-aa +++ b/games/wmtimebomb/files/patch-aa @@ -1,14 +1,14 @@ ---- Imakefile.orig Thu Apr 8 09:13:44 1999 -+++ Imakefile Thu Apr 8 09:14:16 1999 +--- Imakefile.orig Mon Nov 16 21:40:24 1998 ++++ Imakefile Thu Feb 17 23:02:07 2000 @@ -1,7 +1,9 @@ --XPMLIB = -L/usr/X11R6/lib -lXpm -lm -ljpeg -lpng -lz -ltiff -lgif +-XPMLIB = -L/usr/X11R6/lib -lXpm -lm -ljpeg -lpng -lz -ltiff -lungif -WMAKER = -L/usr/local/lib -lWMaker -lWINGs -lwraster -lPropList -+XPMLIB = -L@X11BASE@/lib -lXpm -lm -ljpeg -lpng -lz -ltiff -lungif -+WMAKER = -L@LOCALBASE@/lib -lWMaker -lWINGs -lwraster -lPropList ++XPMLIB = `get-wraster-flags --libs` ++WMAKER = -lWMaker -lWINGs -lPropList -L%%LOCALBASE%%/lib LOCAL_LIBRARIES = $(WMAKER) $(XPMLIB) $(XLIB) + -+EXTRA_INCLUDES= -I@LOCALBASE@/include ++EXTRA_INCLUDES= `get-wraster-flags --cflags` -I%%LOCALBASE%%/include SRCS = timebomb.c OBJS = timebomb.o diff --git a/games/wmtimebomb/pkg-descr b/games/wmtimebomb/pkg-descr index d2b5819..db776c3 100644 --- a/games/wmtimebomb/pkg-descr +++ b/games/wmtimebomb/pkg-descr @@ -1,6 +1,12 @@ Maliwan's Time Bomber Mine sweeper like game for WindowMaker. +Install: +cd to your home directory and +mkdir .wmtimebomb +and copy the file example.modefile in /usr/X11R6/lib/X11/wmtimebomb +(as usual) into the ".wmtimebomb" directory and rename it to "modefile". + Usage: wmtimebomb -t <time> -b <bombs> -x <width> -y <height> -s -c -h -s will start timebomb with clock in its title -c will start timebomb with counter in its title diff --git a/games/wmtimebomb/pkg-plist b/games/wmtimebomb/pkg-plist index 8d1d06e..e01e1d9 100644 --- a/games/wmtimebomb/pkg-plist +++ b/games/wmtimebomb/pkg-plist @@ -1 +1,3 @@ bin/wmtimebomb +lib/X11/wmtimebomb/example.modefile +@dirrm lib/X11/wmtimebomb |