freebsd-ports/chinese/enscript/Makefile
Rong-En Fan 9716a77fea Remove print/ghostscript-afpl as it has been replaced by print/ghostscript-gpl
since version 8.57. The leading ghostscript is the -gpl one.

Approved by:	portmgr (pav)
2007-09-24 08:43:49 +00:00

31 lines
734 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
MAINTAINER= rafan@FreeBSD.org
RUN_DEPENDS= ttfm.sh:${PORTSDIR}/chinese/ttfm
PAPERSIZE= a4
MASTERDIR= ${.CURDIR}/../../print/enscript-letter
EXTRA_PATCHES= ${.CURDIR}/files/patch-*
PLIST= ${WRKDIR}/pkg-plist
PKGMESSAGE= ${.CURDIR}/pkg-message
USE_GHOSTSCRIPT_RUN= yes
post-patch:
@${ECHO_CMD} "share/enscript/README.BIG5" > ${WRKDIR}/pkg-plist
@${CAT} ${MASTERDIR}/pkg-plist >> ${WRKDIR}/pkg-plist
post-install:
@${INSTALL_DATA} ${.CURDIR}/files/README.BIG5 ${PREFIX}/share/enscript
@${CAT} ${PKGMESSAGE}
.include "${MASTERDIR}/Makefile"