ef2dae86e4
This patch allows the admin of the machine to choose either print/ghostscript-gnu or print/ghostscript-afp1 PR: ports/54919 Submitted by: Jens Rehsack <rehsack@liwing.de>
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# New ports collection makefile for: zh-abiWord
|
|
# Date created: 8 March 2001
|
|
# Whom: Jing-Tang Keith Jang <keith@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= abiword
|
|
PORTVERSION= 1.0.3
|
|
CATEGORIES= chinese editors
|
|
MASTER_SITES= # none
|
|
DISTFILES= # none
|
|
|
|
MAINTAINER= keith@FreeBSD.org
|
|
COMMENT= A cross-platform WYSIWYG word processor, with BIG5/GB available
|
|
|
|
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
|
GSPORT?= print/ghostscript-afpl
|
|
.else
|
|
GSPORT?= print/ghostscript-gnu
|
|
.endif
|
|
|
|
RUN_DEPENDS= AbiWord:${PORTSDIR}/editors/AbiWord \
|
|
ttfm.sh:${PORTSDIR}/chinese/ttfm \
|
|
${LOCALBASE}/share/fonts/TrueType/bkai00mp.ttf:${PORTSDIR}/chinese/arphicttf \
|
|
gs:${PORTSDIR}/${GSPORT}
|
|
|
|
NO_BUILD= yes
|
|
USE_X_PREFIX= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
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
|
|
|
|
do-install:
|
|
@${SETENV} PKG_PREFIX=${LOCALBASE} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
.include <bsd.port.post.mk>
|