aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/enscript/Makefile
blob: 60591a2ac94577ee4158358c878d269fac9352c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: 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 ${STAGEDIR}${PREFIX}/share/enscript
    @${CAT} ${PKGMESSAGE}

.include "${MASTERDIR}/Makefile"