diff options
author | markd <markd@pkgsrc.org> | 2007-07-01 20:56:27 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2007-07-01 20:56:27 +0000 |
commit | f63ce7c23ef6ba7f9bbd92d9599b3b3ab8c44714 (patch) | |
tree | 6b260e9b97f85e7d72ad2c567803bc6bac1f4cd5 /print/ghostscript | |
parent | c1fcb95598e00aad9d58d9bd74b76eb16b48448a (diff) | |
download | pkgsrc-f63ce7c23ef6ba7f9bbd92d9599b3b3ab8c44714.tar.gz |
Re-add support for the PAPERSIZE variable, lost when the various
ghostscript packages were merged. Bump PKGREVISION.
Diffstat (limited to 'print/ghostscript')
-rw-r--r-- | print/ghostscript/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/print/ghostscript/Makefile b/print/ghostscript/Makefile index 7ebf9c7bdab..791ca7dcf25 100644 --- a/print/ghostscript/Makefile +++ b/print/ghostscript/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.28 2007/06/29 19:24:45 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.29 2007/07/01 20:56:27 markd Exp $ DISTNAME= ghostscript-8.54-gpl PKGNAME= ghostscript-8.54 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ghostscript/} EXTRACT_SUFX= .tar.bz2 @@ -22,6 +22,12 @@ GNU_CONFIGURE= yes GS_RESOURCEDIR= ${PREFIX}/share/ghostscript/Resource +.include "../../mk/bsd.prefs.mk" + +.if defined(PAPERSIZE) && (${PAPERSIZE} == "A4" || ${PAPERSIZE} == "a4") +CFLAGS+= -DA4 +.endif + REQD_DIRS+= share/ghostscript SUBST_CLASSES+= resdir |