diff options
author | kris <kris@FreeBSD.org> | 2005-09-08 11:34:47 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2005-09-08 11:34:47 +0800 |
commit | cf02019f2d540001b35f3ebec244153a719ca627 (patch) | |
tree | f509305250630734ef570024f83b92ef1ca383b7 | |
parent | 865034ac90fbc62dfbda2e76b510cb742cae111e (diff) | |
download | freebsd-ports-gnome-cf02019f2d540001b35f3ebec244153a719ca627.tar.gz freebsd-ports-gnome-cf02019f2d540001b35f3ebec244153a719ca627.tar.zst freebsd-ports-gnome-cf02019f2d540001b35f3ebec244153a719ca627.zip |
Update to mindguard 0.0.0.4, now with extra electronic tinfoil hatness!
Submitted by: "Kristian G. Suarez" <kgsuarez@gmail.com> (based on)
-rw-r--r-- | games/mindguard/Makefile | 29 | ||||
-rw-r--r-- | games/mindguard/distinfo | 4 | ||||
-rw-r--r-- | games/mindguard/files/patch-aa | 13 | ||||
-rw-r--r-- | games/mindguard/files/patch-ab | 30 | ||||
-rw-r--r-- | games/mindguard/pkg-plist | 108 |
5 files changed, 95 insertions, 89 deletions
diff --git a/games/mindguard/Makefile b/games/mindguard/Makefile index 62b9e4b70a30..1d158d2c10af 100644 --- a/games/mindguard/Makefile +++ b/games/mindguard/Makefile @@ -6,8 +6,7 @@ # PORTNAME= mindguard -PORTVERSION= 0.0.0.3 -PORTREVISION= 1 +PORTVERSION= 0.0.0.4 CATEGORIES= games MASTER_SITES= http://zapatopi.net/mindguard/ EXTRACT_SUFX= .tgz @@ -25,16 +24,20 @@ CARRIERS= antarctic.carrier belgian.carrier beta.carrier \ reticulian.carrier russel.carrier tz8.carrier \ unmetric.carrier -DOCS= index.html mg01.html mg02.html mg03.html mg04.html \ - mg05.html mg06.html mg07.html mg08.html mg09.html \ - mg10.html mg11.html mg12.html mg13.html mg14.html \ - mg15.html mg16.html mg17.html mg18.html mg19.html \ - mg20.html mg21.html mg22.html mg23.html mg30.html \ - mg31.html mg32.html mg33.html mg40.html mg41.html \ - mg42.html mg43.html mg44.html mg45.html mg46.html \ - mg47.html mg48.html mg60.html mgjamtab.png \ - mglogtab.png mgmisctab.png mgpsid.png mgwin.png \ - style.css +DOCS= algorithms.html antarctic.html author.html \ + biorhythm.html carriers.html cia.html \ + depsych.html diagnostic.html failure.html \ + fbi.html features.html fetus.html \ + index.html install.html interface.html \ + introduction.html jam.html kpsi.html \ + lead.html liberati.html log.html \ + mgjamtab.png mglogtab.png mgmisctab.png \ + mgpl.html mgpsid.png mgwin.png \ + numerology.html prefs.html psident.html \ + quit.html reticulan.html russian.html \ + scan.html simulacra.html style.css \ + tikiroom.html un.html usage.html \ + versions.html do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mindguard ${X11BASE}/bin/mindguard @@ -42,9 +45,11 @@ do-install: .for i in ${CARRIERS} ${INSTALL_DATA} ${WRKSRC}/carriers/$i ${X11BASE}/share/mindguard .endfor +.if !defined(NOPORTDOCS) ${MKDIR} ${X11BASE}/share/doc/mindguard .for i in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/docs/$i ${X11BASE}/share/doc/mindguard .endfor +.endif .include <bsd.port.mk> diff --git a/games/mindguard/distinfo b/games/mindguard/distinfo index 435039b0fcae..60151894d222 100644 --- a/games/mindguard/distinfo +++ b/games/mindguard/distinfo @@ -1,2 +1,2 @@ -MD5 (mindguard-0.0.0.3.tgz) = 48a8eaf02e3a3a653f44ec6d09eb7dde -SIZE (mindguard-0.0.0.3.tgz) = 85540 +MD5 (mindguard-0.0.0.4.tgz) = 06ea4e08df9e414557ee5a28d64439bb +SIZE (mindguard-0.0.0.4.tgz) = 99642 diff --git a/games/mindguard/files/patch-aa b/games/mindguard/files/patch-aa index 2c37e8732b71..ea0f1258c4f4 100644 --- a/games/mindguard/files/patch-aa +++ b/games/mindguard/files/patch-aa @@ -1,15 +1,16 @@ ---- Makefile.orig Sun May 21 23:03:01 2000 -+++ Makefile Thu Jul 27 23:41:05 2000 -@@ -1,9 +1,10 @@ +--- Makefile.orig Fri Feb 7 20:54:25 2003 ++++ Makefile Wed Sep 7 23:21:34 2005 +@@ -2,10 +2,11 @@ + BINDIR = /usr/local/bin MGDIR = /usr/local/share/MindGuard -CC = gcc +CC ?= gcc +CFLAGS ?= -O -pipe - mindguard: mindguard.c + mindguard: mindguard.c mindguard.h - $(CC) `gtk-config --cflags` mindguard.c -o mindguard `gtk-config --libs` + $(CC) -DX11BASE=\"${X11BASE}\" `${GTK_CONFIG} --cflags` ${CFLAGS} mindguard.c -o mindguard `${GTK_CONFIG} --libs` - clean: - rm -f mindguard + install: mindguard install-bin install-carriers install-docs + diff --git a/games/mindguard/files/patch-ab b/games/mindguard/files/patch-ab index d425635ddecb..cb83fcf5aff0 100644 --- a/games/mindguard/files/patch-ab +++ b/games/mindguard/files/patch-ab @@ -1,14 +1,18 @@ ---- mindguard.c.orig Wed Nov 15 18:49:17 2000 -+++ mindguard.c Fri Nov 24 11:56:32 2000 -@@ -353,7 +353,7 @@ - strcpy(car_path, "./carriers/"); - break; - case 1: -- sprintf(car_path, "%s/MindGuard/carriers/", getenv("HOME")); -+ sprintf(car_path, X11BASE "/share/mindguard/"); - break; - case 2: - strcpy(car_path, "/usr/local/share/MindGuard/carriers/"); -@@ -2739,4 +2739,4 @@ - return 0; +--- mindguard.c.orig Fri Feb 7 20:53:53 2003 ++++ mindguard.c Wed Sep 7 23:27:25 2005 +@@ -1381,7 +1381,7 @@ + sprintf(car_path, "%s/MindGuard/carriers/", getenv("HOME")); + break; + case 2: +- strcpy(car_path, "/usr/local/share/MindGuard/carriers/"); ++ strcpy(car_path, X11BASE "/share/mindguard/"); + break; + default: + break; +@@ -2799,4 +2799,4 @@ } + + +-/* ...And your mind lived happily ever after. The End */ +\ No newline at end of file ++/* ...And your mind lived happily ever after. The End */ diff --git a/games/mindguard/pkg-plist b/games/mindguard/pkg-plist index d8124cbcaed0..127397d9081b 100644 --- a/games/mindguard/pkg-plist +++ b/games/mindguard/pkg-plist @@ -1,57 +1,53 @@ bin/mindguard -share/mindguard/belgian.carrier -share/mindguard/beta.carrier -share/mindguard/brother.carrier -share/mindguard/kpsi.carrier -share/mindguard/liberati.carrier -share/mindguard/reticulian.carrier -share/mindguard/russel.carrier -share/mindguard/tz8.carrier -share/mindguard/unmetric.carrier -share/mindguard/antarctic.carrier -share/doc/mindguard/index.html -share/doc/mindguard/mg01.html -share/doc/mindguard/mg02.html -share/doc/mindguard/mg03.html -share/doc/mindguard/mg04.html -share/doc/mindguard/mg05.html -share/doc/mindguard/mg06.html -share/doc/mindguard/mg07.html -share/doc/mindguard/mg08.html -share/doc/mindguard/mg09.html -share/doc/mindguard/mg10.html -share/doc/mindguard/mg11.html -share/doc/mindguard/mg12.html -share/doc/mindguard/mg13.html -share/doc/mindguard/mg14.html -share/doc/mindguard/mg15.html -share/doc/mindguard/mg16.html -share/doc/mindguard/mg17.html -share/doc/mindguard/mg18.html -share/doc/mindguard/mg19.html -share/doc/mindguard/mg20.html -share/doc/mindguard/mg21.html -share/doc/mindguard/mg22.html -share/doc/mindguard/mg23.html -share/doc/mindguard/mg30.html -share/doc/mindguard/mg31.html -share/doc/mindguard/mg32.html -share/doc/mindguard/mg33.html -share/doc/mindguard/mg40.html -share/doc/mindguard/mg41.html -share/doc/mindguard/mg42.html -share/doc/mindguard/mg43.html -share/doc/mindguard/mg44.html -share/doc/mindguard/mg45.html -share/doc/mindguard/mg46.html -share/doc/mindguard/mg47.html -share/doc/mindguard/mg48.html -share/doc/mindguard/mg60.html -share/doc/mindguard/mgjamtab.png -share/doc/mindguard/mglogtab.png -share/doc/mindguard/mgmisctab.png -share/doc/mindguard/mgpsid.png -share/doc/mindguard/mgwin.png -share/doc/mindguard/style.css -@dirrm share/doc/mindguard -@dirrm share/mindguard +%%DATADIR%%/belgian.carrier +%%DATADIR%%/beta.carrier +%%DATADIR%%/brother.carrier +%%DATADIR%%/kpsi.carrier +%%DATADIR%%/liberati.carrier +%%DATADIR%%/reticulian.carrier +%%DATADIR%%/russel.carrier +%%DATADIR%%/tz8.carrier +%%DATADIR%%/unmetric.carrier +%%DATADIR%%/antarctic.carrier +%%PORTDOCS%%%%DOCSDIR%%/algorithms.html +%%PORTDOCS%%%%DOCSDIR%%/antarctic.html +%%PORTDOCS%%%%DOCSDIR%%/author.html +%%PORTDOCS%%%%DOCSDIR%%/biorhythm.html +%%PORTDOCS%%%%DOCSDIR%%/carriers.html +%%PORTDOCS%%%%DOCSDIR%%/cia.html +%%PORTDOCS%%%%DOCSDIR%%/depsych.html +%%PORTDOCS%%%%DOCSDIR%%/diagnostic.html +%%PORTDOCS%%%%DOCSDIR%%/failure.html +%%PORTDOCS%%%%DOCSDIR%%/fbi.html +%%PORTDOCS%%%%DOCSDIR%%/features.html +%%PORTDOCS%%%%DOCSDIR%%/fetus.html +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/install.html +%%PORTDOCS%%%%DOCSDIR%%/interface.html +%%PORTDOCS%%%%DOCSDIR%%/introduction.html +%%PORTDOCS%%%%DOCSDIR%%/jam.html +%%PORTDOCS%%%%DOCSDIR%%/kpsi.html +%%PORTDOCS%%%%DOCSDIR%%/lead.html +%%PORTDOCS%%%%DOCSDIR%%/liberati.html +%%PORTDOCS%%%%DOCSDIR%%/log.html +%%PORTDOCS%%%%DOCSDIR%%/mgjamtab.png +%%PORTDOCS%%%%DOCSDIR%%/mglogtab.png +%%PORTDOCS%%%%DOCSDIR%%/mgmisctab.png +%%PORTDOCS%%%%DOCSDIR%%/mgpl.html +%%PORTDOCS%%%%DOCSDIR%%/mgpsid.png +%%PORTDOCS%%%%DOCSDIR%%/mgwin.png +%%PORTDOCS%%%%DOCSDIR%%/numerology.html +%%PORTDOCS%%%%DOCSDIR%%/prefs.html +%%PORTDOCS%%%%DOCSDIR%%/psident.html +%%PORTDOCS%%%%DOCSDIR%%/quit.html +%%PORTDOCS%%%%DOCSDIR%%/reticulan.html +%%PORTDOCS%%%%DOCSDIR%%/russian.html +%%PORTDOCS%%%%DOCSDIR%%/scan.html +%%PORTDOCS%%%%DOCSDIR%%/simulacra.html +%%PORTDOCS%%%%DOCSDIR%%/style.css +%%PORTDOCS%%%%DOCSDIR%%/tikiroom.html +%%PORTDOCS%%%%DOCSDIR%%/un.html +%%PORTDOCS%%%%DOCSDIR%%/usage.html +%%PORTDOCS%%%%DOCSDIR%%/versions.html +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%DATADIR%% |