Changeset View
Changeset View
Standalone View
Standalone View
head/Mk/Uses/ghostscript.mk
Show All 32 Lines | |||||
_GS_VERSION= 7 8 9 agpl | _GS_VERSION= 7 8 9 agpl | ||||
_GS_ARGS= ${ghostscript_ARGS} | _GS_ARGS= ${ghostscript_ARGS} | ||||
.if ${_GS_ARGS:N[789]:Nagpl:Nx11:Nbuild:Nrun} | .if ${_GS_ARGS:N[789]:Nagpl:Nx11:Nbuild:Nrun} | ||||
IGNORE?= Unknown ghostscript argument ${_GS_ARGS} | IGNORE?= Unknown ghostscript argument ${_GS_ARGS} | ||||
.endif | .endif | ||||
# Determine version number of Ghostscript to use | |||||
.include "${PORTSDIR}/Mk/bsd.default-versions.mk" | |||||
.if ${GHOSTSCRIPT_DEFAULT:N[789]:Nagpl} | .if ${GHOSTSCRIPT_DEFAULT:N[789]:Nagpl} | ||||
IGNORE?= Invalid GHOSTSCRIPT_DEFAULT value: ${GHOSTSCRIPT_DEFAULT}, please select one of ${_GS_VERSION} | IGNORE?= Invalid GHOSTSCRIPT_DEFAULT value: ${GHOSTSCRIPT_DEFAULT}, please select one of ${_GS_VERSION} | ||||
.endif | .endif | ||||
# Make sure that no dependency or some other environment variable | # Make sure that no dependency or some other environment variable | ||||
# pollutes the build/run dependency detection | # pollutes the build/run dependency detection | ||||
.undef _GS_BUILD_DEP | .undef _GS_BUILD_DEP | ||||
.undef _GS_RUN_DEP | .undef _GS_RUN_DEP | ||||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |