diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/scrot/Makefile | 9 | ||||
-rw-r--r-- | graphics/scrot/files/patch-aa | 25 | ||||
-rw-r--r-- | graphics/scrot/pkg-plist | 11 |
3 files changed, 35 insertions, 10 deletions
diff --git a/graphics/scrot/Makefile b/graphics/scrot/Makefile index a20c5c56bf13..d51e0d7c6e6f 100644 --- a/graphics/scrot/Makefile +++ b/graphics/scrot/Makefile @@ -10,12 +10,17 @@ PORTVERSION= 0.6 CATEGORIES= graphics MASTER_SITES= http://www.linuxbrit.co.uk/downloads/ -MAINTAINER= ishmael27@home.com +MAINTAINER= ishmael27x@yahoo.com LIB_DEPENDS= giblib.1:${PORTSDIR}/graphics/giblib -GNU_CONFIGURE= yes USE_X_PREFIX= yes +GNU_CONFIGURE= yes +CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL} + +.if defined(NOPORTDOCS) +MAKE_ENV= NO_DOC=yes +.endif MAN1= scrot.1 diff --git a/graphics/scrot/files/patch-aa b/graphics/scrot/files/patch-aa index 572a1e13dbca..c46271709049 100644 --- a/graphics/scrot/files/patch-aa +++ b/graphics/scrot/files/patch-aa @@ -1,6 +1,9 @@ ---- Makefile.in.orig Thu Oct 26 10:25:54 2000 -+++ Makefile.in Thu Oct 26 23:55:44 2000 -@@ -76,7 +76,7 @@ + +$FreeBSD$ + +--- Makefile.in.orig Wed Aug 29 13:57:11 2001 ++++ Makefile.in Sun Jan 27 10:19:21 2002 +@@ -82,7 +82,7 @@ man_MANS = scrot.1 docs_DATA = README AUTHORS ChangeLog TODO @@ -9,3 +12,19 @@ EXTRA_DIST = scrot.spec scrot.1 $(docs_DATA) +@@ -195,6 +195,7 @@ + $(MAKE) $(AM_MAKEFLAGS) uninstall-man1 + + install-docsDATA: $(docs_DATA) ++.if !defined(NO_DOC) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(docsdir) + @list='$(docs_DATA)'; for p in $$list; do \ +@@ -206,6 +207,7 @@ + $(INSTALL_DATA) $$p $(DESTDIR)$(docsdir)/$$p; \ + fi; fi; \ + done ++.endif + + uninstall-docsDATA: + @$(NORMAL_UNINSTALL) diff --git a/graphics/scrot/pkg-plist b/graphics/scrot/pkg-plist index 39e51ccca095..f52efd25485e 100644 --- a/graphics/scrot/pkg-plist +++ b/graphics/scrot/pkg-plist @@ -1,6 +1,7 @@ +@comment $FreeBSD$ bin/scrot -share/doc/scrot/AUTHORS -share/doc/scrot/ChangeLog -share/doc/scrot/README -share/doc/scrot/TODO -@dirrm share/doc/scrot +%%PORTDOCS%%share/doc/scrot/AUTHORS +%%PORTDOCS%%share/doc/scrot/ChangeLog +%%PORTDOCS%%share/doc/scrot/README +%%PORTDOCS%%share/doc/scrot/TODO +%%PORTDOCS%%@dirrm share/doc/scrot |