blob: 71a4d70b1ae144c25961a3c9328f01ec01bc9c78 (
plain)
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
45
46
47
48
49
50
51
52
53
54
55
|
# $NetBSD: Makefile,v 1.53 2003/03/29 12:40:41 jmmv Exp $
#
# According to AbiSource's explanation of their trademark rights,
# compilations/distributions of AbiWord not provided by AbiSource must
# be named either "AbiWord Personal" or some name completely unlike
# AbiSource's registered trademarks.
DISTNAME= abiword-${ABIWORD_VERS}
PKGNAME= abiword-personal-${ABIWORD_VERS}
#PKGREVISION= 1
WRKSRC= ${WRKDIR}/${DISTNAME}/abi
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=abiword/}
MAINTAINER= dawszy@arhea.net
HOMEPAGE= http://www.abisource.com/
COMMENT= Open Source cross-platform word processor
DEPENDS+= ispell-base-[0-9]*:../../textproc/ispell-base
DIST_SUBDIR= abisuite
ABIWORD_VERS= 1.0.4
USE_BUILDLINK2= # defined
USE_X11= # defined
USE_GMAKE= # defined
GNU_CONFIGURE= # defined
MAKEFILE= GNUmakefile
CONFIGURE_ARGS+= --with-libiconv=${BUILDLINK_PREFIX.iconv}
CONFIGURE_ARGS+= --with-psiconv=${BUILDLINK_PREFIX.psiconv}
CONFIGURE_ARGS+= --with-expat=${BUILDLINK_PREFIX.expat}
CONFIGURE_ARGS+= --without-libwmf
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --datadir=${PREFIX}/share
OS_CFLAGS= ${CFLAGS}
.if exists(/usr/include/inttypes.h)
OS_CFLAGS+= -DHAVE_INTTYPE_H=1
.endif
MAKE_ENV+= OS_CFLAGS="${OS_CFLAGS}"
MAKE_FLAGS+= ABI_BUILD_VERSION="${ABIWORD_VERS}"
MAKE_FLAGS+= UNIX_CAN_BUILD_STATIC=0
.include "../../converters/libiconv/buildlink2.mk"
.include "../../converters/psiconv/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../textproc/expat/buildlink2.mk"
.include "../../graphics/xpm/buildlink2.mk"
.include "../../x11/gtk/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|