freebsd-ports/chinese/enscript/Makefile
Christian Weisgerber 081a788e88 Don't duplicate bsd.port.mk.
PR:		77492
Submitted by:	Rong-En Fan <rafan@infor.org>
2005-02-14 14:51:05 +00:00

40 lines
971 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@infor.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
pre-fetch:
.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} ""
.endif
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"