blob: 5fdfe6479ae31d8bda5d1e712d5833839827494b (
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
|
# $NetBSD: Makefile,v 1.11 2000/08/04 11:09:38 abs Exp $
#
# According to AbiSource's explanation of their trademark rights,
# compilations/distributions of AbiWord not provided by AbiSource must
# be named "AbiWord Personal" or some name completely unlike AbiSource's
# registered trademarks.
#
DISTNAME= abi-${ABIWORD_VERS}
PKGNAME= abiword-personal-${ABIWORD_VERS}
ABIWORD_VERS= 0.7.10
CATEGORIES= editors
MASTER_SITES= http://download.abisource.com/releases/${ABIWORD_VERS}/src/lf/
DISTFILES= ${ABISRC} ${ABIDISTFILES} ${EXPATSRC} ${ICONVSRC} \
${UNIXFONTS} ${WVSRC}
MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://www.abisource.com/
BUILD_DEPENDS+= ${LOCALBASE}/bin/unzip:../../archivers/unzip
DEPENDS+= gtk+-1.2.*:../../x11/gtk
DEPENDS+= png>=1.0.6:../../graphics/png
DEPENDS+= xpm-3.4k:../../graphics/xpm
USE_X11= # defined
USE_GMAKE= # defined
NO_CONFIGURE= # defined
ALL_TARGET= compile canonical
DIST_SUBDIR= abisuite
ABISRC= ${DISTNAME}${EXTRACT_SUFX}
ABIDISTFILES= abidistfiles-${ABIWORD_VERS}${EXTRACT_SUFX}
EXPATSRC= expat-${ABIWORD_VERS}${EXTRACT_SUFX}
ICONVSRC= libiconv-${ABIWORD_VERS}${EXTRACT_SUFX}
UNIXFONTS= unixfonts-${ABIWORD_VERS}${EXTRACT_SUFX}
WVSRC= wv-${ABIWORD_VERS}${EXTRACT_SUFX}
CPPFLAGS+= -I${LOCALBASE}/include # png.h
LDFLAGS+= -Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib # -lpng
MAKE_ENV+= ABI_BUILD_VERSION="${ABIWORD_VERS}" \
OS_CFLAGS="${CPPFLAGS}" \
OS_DLLFLAGS="${LDFLAGS}"
post-install:
${CHMOD} -R a+r ${PREFIX}/share/AbiSuite
.include "../../mk/bsd.pkg.mk"
|