summaryrefslogtreecommitdiff
path: root/print/ghostscript/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript/Makefile')
-rw-r--r--print/ghostscript/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/print/ghostscript/Makefile b/print/ghostscript/Makefile
index 2ce330c73ab..324e699d9c5 100644
--- a/print/ghostscript/Makefile
+++ b/print/ghostscript/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.50 2008/08/07 18:21:40 drochner Exp $
+# $NetBSD: Makefile,v 1.51 2008/09/03 21:31:12 markd Exp $
DISTNAME= ghostscript-8.63
+PKGREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ghostscript/}
EXTRACT_SUFX= .tar.bz2
@@ -23,6 +24,10 @@ GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= no
UNLIMIT_RESOURCES+= datasize # gsromfs1.c
+BUILD_TARGET= so
+INSTALL_TARGET= soinstall
+CONFIGURE_ARGS+= -with-omni=no # otherwise pulls in libstdc++
+
REPLACE_PERL+= lib/fixmswrd.pl
GS_RESOURCEDIR= ${PREFIX}/share/ghostscript/Resource
@@ -58,6 +63,9 @@ post-extract:
${MV} ${WRKSRC}/libpng ${WRKSRC}/libpng.dontuse
# ${MV} ${WRKSRC}/zlib ${WRKSRC}/zlib.dontuse
+post-install:
+ ${LN} -sf gsc ${DESTDIR}${PREFIX}/bin/gs
+
.include "options.mk"
.include "../../graphics/png/buildlink3.mk"