aboutsummaryrefslogtreecommitdiff
path: root/print/ghostscript-afpl/Makefile
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2004-07-25 14:40:42 +0000
committerHiroki Sato <hrs@FreeBSD.org>2004-07-25 14:40:42 +0000
commit6ee0081670195823addc3d80e6078acb92d581e1 (patch)
tree8fcaba8ea9e06c4ff58dbecd7c30a75084de1249 /print/ghostscript-afpl/Makefile
parent2cf887f8cfd47212035eddefdabc07b3f9582218 (diff)
downloadports-6ee0081670195823addc3d80e6078acb92d581e1.tar.gz
ports-6ee0081670195823addc3d80e6078acb92d581e1.zip
Notes
Diffstat (limited to 'print/ghostscript-afpl/Makefile')
-rw-r--r--print/ghostscript-afpl/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/print/ghostscript-afpl/Makefile b/print/ghostscript-afpl/Makefile
index bb3b902e01ab..56f8d09a3c64 100644
--- a/print/ghostscript-afpl/Makefile
+++ b/print/ghostscript-afpl/Makefile
@@ -61,7 +61,8 @@ USE_REINPLACE= yes
USE_GMAKE= yes
MAKE_ENV= CC="${CC}" CXX="${CXX}" CFLAGS_STANDARD="${CFLAGS}" \
XCFLAGS="${XCFLAGS}"
-PLIST_SUB= GS_VERSION="${GS_VERSION}"
+PLIST_SUB= GS_VERSION="${GS_VERSION}" \
+ CIDFONTDIR=${CIDFONTDIR}
SCRIPTS_ENV= GS_DRIVERS_LIST="${GS_DRIVERS_LIST}" \
WITHOUT_X11="${WITHOUT_X11}" \
@@ -113,6 +114,7 @@ PLIST_SUB+= SHLIB="@comment "
.endif
GS_SRCS= ${DISTNAME}${EXTRACT_SUFX}
+CIDFONTDIR= ${PREFIX}/share/ghostscript/${GS_VERSION}/Resource
# Additional Drivers:
@@ -439,6 +441,7 @@ pre-su-install:
post-install:
${ECHO_MSG} ">>> in post-install ..."
+ ${LN} -s -f ${LOCALBASE}/share/fonts/CIDFont ${CIDFONTDIR}/CIDFont
${ECHO_MSG} ">>> stripping gs ..."
.if defined(WITH_SHLIB)
${STRIP_CMD} ${PREFIX}/bin/gsc ${PREFIX}/bin/gsx