diff options
author | marcus <marcus@FreeBSD.org> | 2003-08-31 10:06:06 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-08-31 10:06:06 +0800 |
commit | 686c7adeb33141182a227ab225a141fc4da1d57a (patch) | |
tree | 0230726a951f93bc0fb75afef9063bda38e4cca9 | |
parent | e265fcdc2b0f324a9a617c7a0c56616d94d6a8b8 (diff) | |
download | freebsd-ports-graphics-686c7adeb33141182a227ab225a141fc4da1d57a.tar.gz freebsd-ports-graphics-686c7adeb33141182a227ab225a141fc4da1d57a.tar.zst freebsd-ports-graphics-686c7adeb33141182a227ab225a141fc4da1d57a.zip |
* Unbreak with older versions of make(1)
* Echo messages during pre-everything
* Use ${ECHO_MSG} instead of ${ECHO} to display ghostscript message
-rw-r--r-- | print/ggv2/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/print/ggv2/Makefile b/print/ggv2/Makefile index 99e011a6ab5..5c5d083e78f 100644 --- a/print/ggv2/Makefile +++ b/print/ggv2/Makefile @@ -16,11 +16,15 @@ DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME 2 ghostscript viewer -.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes +.if defined(WITH_GHOSTSCRIPT_AFPL) +.if ${WITH_GHOSTSCRIPT_AFPL} == yes GSPORT?= print/ghostscript-afpl .else GSPORT?= print/ghostscript-gnu .endif +.else +GSPORT?= print/ghostscript-gnu +.endif BUILD_DEPENDS= gs:${PORTSDIR}/${GSPORT} RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT} @@ -34,12 +38,12 @@ USE_REINPLACE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -pre-fetch: +pre-everything:: .if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes - @${ECHO} "" - @${ECHO} " Define WITH_GHOSTSCRIPT_AFPL=yes to use" - @${ECHO} " AFPL Postscript interpreter instead of GNU one" - @${ECHO} "" + @${ECHO_MSG} "" + @${ECHO_MSG} " Define WITH_GHOSTSCRIPT_AFPL=yes to use" + @${ECHO_MSG} " AFPL Postscript interpreter instead of GNU one" + @${ECHO_MSG} "" .endif .include <bsd.port.mk> |