diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-08-31 02:06:06 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-08-31 02:06:06 +0000 |
commit | ef6d0f0c0ee0f487870bbb3f84a01f5082e08153 (patch) | |
tree | aaf6be3c6fadf78a9f69db3b0f09a80da37effa5 | |
parent | 03672f594857c69a693102badda697eb8a2135b0 (diff) | |
download | ports-ef6d0f0c0ee0f487870bbb3f84a01f5082e08153.tar.gz ports-ef6d0f0c0ee0f487870bbb3f84a01f5082e08153.zip |
* Unbreak with older versions of make(1)
* Echo messages during pre-everything
* Use ${ECHO_MSG} instead of ${ECHO} to display ghostscript message
Notes
Notes:
svn path=/head/; revision=88154
-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 99e011a6ab5f..5c5d083e78f1 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> |