diff --git a/graphics/gozer/Makefile b/graphics/gozer/Makefile index 10fa8cafb410..63c5fa567bbb 100644 --- a/graphics/gozer/Makefile +++ b/graphics/gozer/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gozer -PORTVERSION= 0.2 +PORTVERSION= 0.3 CATEGORIES= graphics MASTER_SITES= http://www.linuxbrit.co.uk/downloads/ @@ -17,6 +17,10 @@ LIB_DEPENDS= giblib.1:${PORTSDIR}/graphics/giblib GNU_CONFIGURE= yes USE_X_PREFIX= yes +.if defined(NOPORTDOCS) +MAKE_ENV= NO_DOC=yes +.endif + MAN1= gozer.1 .include diff --git a/graphics/gozer/distinfo b/graphics/gozer/distinfo index 4d5e7fc7a98f..8b782fcc5b6d 100644 --- a/graphics/gozer/distinfo +++ b/graphics/gozer/distinfo @@ -1 +1 @@ -MD5 (gozer-0.2.tar.gz) = 995bc8ae791417aecbe71b923040309b +MD5 (gozer-0.3.tar.gz) = ac34fcb372a67862ea954a2069a9afb9 diff --git a/graphics/gozer/files/patch-aa b/graphics/gozer/files/patch-aa index 0fff190664d4..61480ad7be07 100644 --- a/graphics/gozer/files/patch-aa +++ b/graphics/gozer/files/patch-aa @@ -1,11 +1,30 @@ ---- Makefile.in.orig Fri Jan 26 18:40:12 2001 -+++ Makefile.in Sun Mar 4 23:10:07 2001 -@@ -78,7 +78,7 @@ + +$FreeBSD$ + +--- Makefile.in.orig Tue Oct 16 17:15:36 2001 ++++ Makefile.in Sun Nov 18 18:01:13 2001 +@@ -86,7 +86,7 @@ man_MANS = gozer.1 docs_DATA = README AUTHORS ChangeLog TODO -docsdir = $(prefix)/doc/@PACKAGE@ +docsdir = $(datadir)/doc/@PACKAGE@ - EXTRA_DIST = gozer.spec gozer.1 $(docs_DATA) + EXTRA_DIST = \ + gozer.spec gozer.1 $(docs_DATA) +@@ -175,6 +175,7 @@ + rm -f $(DESTDIR)$(man1dir)/$$inst; \ + done + install-docsDATA: $(docs_DATA) ++.if !defined(NO_DOC) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(docsdir) + @list='$(docs_DATA)'; for p in $$list; do \ +@@ -183,6 +184,7 @@ + echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(docsdir)/$$f"; \ + $(INSTALL_DATA) $$d$$p $(DESTDIR)$(docsdir)/$$f; \ + done ++.endif + uninstall-docsDATA: + @$(NORMAL_UNINSTALL) diff --git a/graphics/gozer/files/patch-ab b/graphics/gozer/files/patch-ab index a0f5dc2f2418..1b00c8f2dc39 100644 --- a/graphics/gozer/files/patch-ab +++ b/graphics/gozer/files/patch-ab @@ -1,13 +1,16 @@ ---- src/Makefile.in.orig Fri Nov 10 08:52:40 2000 -+++ src/Makefile.in Sun Nov 12 14:51:08 2000 -@@ -71,8 +71,8 @@ + +$FreeBSD$ + +--- src/Makefile.in.orig Tue Oct 16 17:15:37 2001 ++++ src/Makefile.in Sun Nov 18 17:55:34 2001 +@@ -79,8 +79,8 @@ SUBDIRS = fonts -LDFLAGS = -L/usr/X11R6/lib --INCLUDES = -g -O3 -Wall -I/usr/X11R6/include $(X_CFLAGS) -I$(prefix)/include -I$(includedir) -I. -DPREFIX=\""$(prefix)"\" @GIBLIB_CFLAGS@ +-INCLUDES = -g -O3 -Wall -I/usr/X11R6/include \ +LDFLAGS = -+INCLUDES = -Wall -I/usr/X11R6/include $(X_CFLAGS) -I$(prefix)/include -I$(includedir) -I. -DPREFIX=\""$(prefix)"\" @GIBLIB_CFLAGS@ - - LIBOBJS = @LIBOBJS@ ++INCLUDES = -Wall -I/usr/X11R6/include \ + $(X_CFLAGS) -I$(prefix)/include -I$(includedir) -I. \ + -DPREFIX=\""$(prefix)"\" @GIBLIB_CFLAGS@ diff --git a/graphics/gozer/pkg-plist b/graphics/gozer/pkg-plist index e5ee67e3a366..16f47549e778 100644 --- a/graphics/gozer/pkg-plist +++ b/graphics/gozer/pkg-plist @@ -1,8 +1,9 @@ +@comment $FreeBSD$ bin/gozer -share/doc/gozer/AUTHORS -share/doc/gozer/ChangeLog -share/doc/gozer/README -share/doc/gozer/TODO +%%PORTDOCS%%share/doc/gozer/AUTHORS +%%PORTDOCS%%share/doc/gozer/ChangeLog +%%PORTDOCS%%share/doc/gozer/README +%%PORTDOCS%%share/doc/gozer/TODO share/gozer/fonts/20thcent.ttf share/gozer/fonts/cinema.ttf share/gozer/fonts/goodtime.ttf @@ -10,6 +11,6 @@ share/gozer/fonts/joystix.ttf share/gozer/fonts/morpheus.ttf share/gozer/fonts/notepad.ttf share/gozer/fonts/soulpapa.ttf -@dirrm share/doc/gozer +%%PORTDOCS%%@dirrm share/doc/gozer @dirrm share/gozer/fonts @dirrm share/gozer