freebsd-ports/chinese/enscript/Makefile
Akinori MUSHA 8fdfd13285 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 09:39:59 +00:00

32 lines
917 B
Makefile

# New ports collection makefile for: zh Big5/GB-izedenscript (a4)
# Date created: 27 Nov, 2000
# Whom: Jing-Tang Keith Jang <keith@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= chinese
PAPERSIZE= a4
MASTERDIR= ${.CURDIR}/../../print/enscript-letter
MAINTAINER= keith@FreeBSD.org
RUN_DEPENDS= ttfm.sh:${PORTSDIR}/chinese/ttfm \
${LOCALBASE}/share/ghostscript/CJK/CMap/ac13/cid2code.txt:${PORTSDIR}/chinese/ghostscript6
EXTRA_PATCHES= ${.CURDIR}/files/patch-*
PLIST= ${WRKDIR}/pkg-plist
PKGMESSAGE= ${.CURDIR}/pkg-message
post-patch:
@${ECHO_CMD} "share/enscript/README.BIG5" > ${WRKDIR}/pkg-plist
@${CAT} ${MASTERDIR}/pkg-plist >> ${WRKDIR}/pkg-plist
do-install:
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
@${INSTALL_DATA} ${.CURDIR}/files/README.BIG5 ${PREFIX}/share/enscript
@${CAT} ${PKGMESSAGE}
.include "${MASTERDIR}/Makefile"