Add GHOSTSCRIPT_DEFAULT to bsd.default-versions.mk for easy version selection. Arguments supported: <empty>, build, run, nox11 and agpl PR: 201201 (exp-run) Approved by: portmgr (mat@) Exp run by: antione@ (previous patch) Differential Revision: https://reviews.freebsd.org/D2938
26 lines
625 B
Makefile
26 lines
625 B
Makefile
# Created by: Jing-Tang Keith Jang <keith@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
CATEGORIES= chinese
|
|
|
|
MAINTAINER= ports@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
|
|
|
|
USES+= ghostscript:run
|
|
|
|
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
|
|
|
|
.include "${MASTERDIR}/Makefile"
|