30b459ebc5
ports to be reset to ports@FreeBSD.org. We're sorry to see you go and want to thank you for your help in the past. PR: ports/59515 Submitted by: statue@freebsd.sinica.edu.tw
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
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
|
|
|
|
PAPERSIZE= a4
|
|
MASTERDIR= ${.CURDIR}/../../print/enscript-letter
|
|
|
|
MAINTAINER= keith@FreeBSD.org
|
|
|
|
RUN_DEPENDS= ttfm.sh:${PORTSDIR}/chinese/ttfm
|
|
|
|
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
|
|
|
|
do-install:
|
|
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
|
|
@${INSTALL_DATA} ${.CURDIR}/files/README.BIG5 ${PREFIX}/share/enscript
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include "${MASTERDIR}/Makefile"
|