freebsd-ports/japanese/ghostscript-gnu-jpnfont/Makefile
Akinori MUSHA 0b10204950 Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.

Use command macros where appropriate.
2002-01-29 11:08:52 +00:00

34 lines
944 B
Makefile

# New ports collection makefile for: ghostscript
# Date created: 14 Jan 2002
# Whom: Mita Yoshio <mita@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ghostscript
PORTVERSION= 6.52
CATEGORIES= japanese print
MASTER_SITES= # nonexistent
PKGNAMESUFFIX= -gnu-cjk
DISTNAME= # nonexistent
DISTFILES= # empty
MAINTAINER= mita@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/Resource/cid.sh:${PORTSDIR}/print/ghostscript-gnu-cjk \
${X11BASE}/lib/X11/fonts/TrueType/kochi-mincho.ttf:${PORTSDIR}/japanese/kochi-ttfonts
NO_BUILD= yes
NO_WRKSUBDIR= yes
GSLIB_DIR= ${PREFIX}/share/ghostscript/${PORTVERSION}/lib
PLIST_SUB= GS_VERSION=${PORTVERSION}
do-install:
${INSTALL_DATA} ${FILESDIR}/CIDFnmap.jp ${GSLIB_DIR}
${MV} ${GSLIB_DIR}/CIDFnmap ${GSLIB_DIR}/CIDFnmap.orig
${GREP} -v -e "CIDFnmap.jp" ${GSLIB_DIR}/CIDFnmap.orig > \
${GSLIB_DIR}/CIDFnmap
${ECHO_CMD} '(CIDFnmap.jp) .runlibfile' >> ${GSLIB_DIR}/CIDFnmap
.include <bsd.port.mk>