mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
* Unbreak with older versions of make(1)
* Echo messages during pre-everything * Use ${ECHO_MSG} instead of ${ECHO} to display ghostscript message
This commit is contained in:
parent
03672f5948
commit
ef6d0f0c0e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88154
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user