- use FAKE_FLAGS so these patches aren't needed anymore

This commit is contained in:
jasper 2011-07-08 12:20:49 +00:00
parent 59b762b1fb
commit 374755e18d
5 changed files with 9 additions and 29 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.15 2010/11/15 19:45:58 espie Exp $
# $OpenBSD: Makefile,v 1.16 2011/07/08 12:20:49 jasper Exp $
COMMENT= utility library including a imlib2 wrapper
@ -29,4 +29,6 @@ CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
LDFLAGS="-L${X11BASE}/lib"
FAKE_FLAGS+= docsdir=${PREFIX}/share/doc/giblib/
.include <bsd.port.mk>

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-Makefile_in,v 1.1 2011/07/08 11:32:17 jasper Exp $
--- Makefile.in.orig Sat Sep 4 17:03:31 2004
+++ Makefile.in Fri Jul 8 13:26:28 2011
@@ -95,7 +95,7 @@ VERSION = @VERSION@
SUBDIRS = giblib
docs_DATA = README AUTHORS ChangeLog TODO
-docsdir = $(prefix)/doc/giblib
+docsdir = $(prefix)/share/doc/giblib
EXTRA_DIST = $(docs_DATA) giblib.pc.in

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.11 2010/11/17 08:05:16 espie Exp $
# $OpenBSD: Makefile,v 1.12 2011/07/08 12:20:49 jasper Exp $
COMMENT= commandline screen capture util
DISTNAME= scrot-0.8
REVISION = 1
REVISION = 2
CATEGORIES= graphics
HOMEPAGE= http://www.linuxbrit.co.uk/scrot/
@ -27,4 +27,6 @@ LIB_DEPENDS= devel/giblib \
USE_GROFF = Yes
CONFIGURE_STYLE= gnu
FAKE_FLAGS+= docsdir=${PREFIX}/share/doc/scrot/
.include <bsd.port.mk>

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-Makefile_in,v 1.1 2011/07/08 11:25:47 jasper Exp $
--- Makefile.in.orig Mon Jun 23 14:13:33 2003
+++ Makefile.in Fri Jul 8 13:22:30 2011
@@ -82,7 +82,7 @@ INCLUDES = -I/usr/X11R6/include $(X_CFLAGS) -I$(prefix
man_MANS = scrot.1
docs_DATA = README AUTHORS ChangeLog TODO
-docsdir = $(prefix)/doc/scrot
+docsdir = $(prefix)/share/doc/scrot
EXTRA_DIST = scrot.spec scrot.1 $(docs_DATA)

View File

@ -1,5 +1,5 @@
@comment $OpenBSD: PLIST,v 1.2 2004/09/15 00:50:11 espie Exp $
bin/scrot
@comment $OpenBSD: PLIST,v 1.3 2011/07/08 12:20:49 jasper Exp $
@bin bin/scrot
@man man/man1/scrot.1
share/doc/scrot/
share/doc/scrot/AUTHORS