blob: ceba55daef975366978cce160154243317fce10a (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# 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= ports@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-2.0:${PORTSDIR}/editors/AbiWord2 \
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>
|