summaryrefslogtreecommitdiff
path: root/graphics/pstoedit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pstoedit/Makefile')
-rw-r--r--graphics/pstoedit/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/graphics/pstoedit/Makefile b/graphics/pstoedit/Makefile
index 11373c118c1..f1676bd209f 100644
--- a/graphics/pstoedit/Makefile
+++ b/graphics/pstoedit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2002/07/02 12:52:53 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2002/09/13 06:53:35 jlam Exp $
DISTNAME= pstoedit_3_31
PKGNAME= pstoedit-3.31
@@ -12,8 +12,6 @@ COMMENT= Convert PostScript / PDF into various vector graphic formats
# Requires C++ support of plotutils.
DEPENDS+= plotutils>=2.4.1:../../graphics/plotutils
-# Any ghostscript pkg will probably do, if not a font pkg.
-DEPENDS+= ghostscript-[^f]*:../../print/ghostscript
RESTRICTED?= "The author writes: If you include this program on a CDROM, please send me a copy of the CD, or if it goes with a book, of the book."
NO_SRC_ON_CDROM= ${RESTRICTED}
@@ -26,7 +24,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV+= LIBTOOL="${LIBTOOL}" LIBPLOTTERLA="${X11PREFIX}/lib/libplotter.la"
CONFIGURE_ENV+= CXXFLAGS="${CFLAGS} -Dunix"
CONFIGURE_ENV+= LDLIBS="-Wl,-R${X11BASE}/lib -L${X11BASE}/lib"
-CONFIGURE_ENV+= AWK=${AWK} GS=${PREFIX}/bin/gs
+CONFIGURE_ENV+= AWK=${AWK} GS=${LOCALBASE}/bin/gs
CONFIGURE_ARGS+=--datadir=${PREFIX}/share
CONFIGURE_ARGS+=--libdir=${PREFIX}/lib/pstoedit # plugin dir -- unused for now
ALL_TARGET=
@@ -42,4 +40,5 @@ post-install:
${INSTALL_DATA} ${DOCSRC}/*.htm ${DOCDIR}
${INSTALL_DATA} ${DOCSRC}/readme.txt ${DOCDIR}
+.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"