mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
28 lines
649 B
Makefile
28 lines
649 B
Makefile
# 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"
|