summaryrefslogtreecommitdiff
path: root/print/pstotext
diff options
context:
space:
mode:
Diffstat (limited to 'print/pstotext')
-rw-r--r--print/pstotext/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/print/pstotext/Makefile b/print/pstotext/Makefile
index d6a70beea282..f1cd66e579a5 100644
--- a/print/pstotext/Makefile
+++ b/print/pstotext/Makefile
@@ -15,17 +15,11 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= ob@breuninger.org
COMMENT= A PostScript to Text converter
-.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
-GSPORT?= print/ghostscript-afpl
-.else
-GSPORT?= print/ghostscript-gnu
-.endif
-
-RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
+USE_GHOSTSCRIPT_RUN= yes
MAN1= pstotext.1
-pre-fetch:
+pre-everything::
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
@${ECHO} ""
@${ECHO} " Define WITH_GHOSTSCRIPT_AFPL=yes to use"