diff options
-rw-r--r-- | print/apsfilter/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/print/apsfilter/Makefile b/print/apsfilter/Makefile index 6cabb1add381..73cbe3a96d47 100644 --- a/print/apsfilter/Makefile +++ b/print/apsfilter/Makefile @@ -50,6 +50,7 @@ COMPRESS_DESC= print compressed documents DOCS_MAKE_ARGS= -DDOCS PORTDOCS= ANNOUNCE FAQ HOWTO-BUGREPORTS apsfilter4.png \ README.BSD handbook.html README.TeX paper +GS_USES= ghostscript:run .include <bsd.port.options.mk> @@ -58,9 +59,9 @@ PORTDOCS= ANNOUNCE FAQ HOWTO-BUGREPORTS apsfilter4.png \ # (instead of WITHOUT_X11=true, or similar) gmake won't pick it up. So make # sure that NO_X is defined *and* has a value. MAKE_ENV+= NO_X=true -.if empty(GHOSTSCRIPT_PORT:M*-nox11) -GSUFX= -nox11 -.endif +# ghostscript.mk USES doesn't check PORT_OPTIONS:MX11, so set this manualy +# so it selects the nox11 gs port +WITHOUT_X11= yes .endif # hint: for batch mode you can now draw the following decisions @@ -76,7 +77,6 @@ PSUFX= -letter PSUFX= -letterdj .endif -_DEPENDS_GS= gs:${PORTSDIR}/${GHOSTSCRIPT_PORT}${GSUFX} _DEPENDS_ASCII= a2ps:${PORTSDIR}/print/a2ps \ enscript:${PORTSDIR}/print/enscript${PSUFX} \ mpage:${PORTSDIR}/print/mpage \ |