blob: 2ebebbdb86f6f06cfbeadc19da391f40dcf8949a (
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
|
# $NetBSD: Makefile,v 1.8 2000/03/21 22:40:51 tron Exp $
#
# According to the AbiSource license, compilations/distributions of AbiWord
# not provided by AbiSource must be named "AbiWord Personal".
#
DISTNAME= abi-${ABIWORD_VERS}
PKGNAME= abiword-personal-${ABIWORD_VERS}
ABIWORD_VERS= 0.7.8
CATEGORIES= editors
MASTER_SITES= http://www.abisource.com/downloads/Version-${ABIWORD_VERS}/lf/
DISTFILES= ${ABISRC} ${ABIDISTFILES} ${ICONVSRC} ${EXPATSRC} \
${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= yes
USE_GMAKE= yes
NO_CONFIGURE= yes
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}
ABISUITE_HOME= ${PREFIX}/share/AbiSuite
ABISUITE_LIBEXEC= ${PREFIX}/libexec/AbiSuite
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib
MAKE_ENV+= ABI_BUILD_VERSION="${ABIWORD_VERS}" \
ABISUITE_HOME="${ABISUITE_HOME}" \
ABISUITE_LIBEXEC="${ABISUITE_LIBEXEC}" \
OS_CFLAGS="${CPPFLAGS}" \
OS_DLLFLAGS="${LDFLAGS}"
post-patch:
${MKDIR} ${WRKSRC}/src/pkg/netbsd
${CP} ${FILESDIR}/GNUMakefile.install ${WRKSRC}/src/pkg/netbsd/Makefile
.include "../../mk/bsd.pkg.mk"
|