summaryrefslogtreecommitdiff
path: root/editors/abiword/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/abiword/Makefile')
-rw-r--r--editors/abiword/Makefile31
1 files changed, 13 insertions, 18 deletions
diff --git a/editors/abiword/Makefile b/editors/abiword/Makefile
index d9a352c73fa..e126e93bcc4 100644
--- a/editors/abiword/Makefile
+++ b/editors/abiword/Makefile
@@ -1,52 +1,47 @@
-# $NetBSD: Makefile,v 1.5 2000/02/09 20:20:52 tron Exp $
+# $NetBSD: Makefile,v 1.6 2000/02/29 18:31:30 jlam 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.5
+ABIWORD_VERS= 0.7.8
CATEGORIES= editors
MASTER_SITES= http://www.abisource.com/downloads/Version-${ABIWORD_VERS}/lf/
-DISTFILES= ${ABISRC} ${ABIDISTFILES} ${UNIXFONTS} ${EXPATSRC} ${WVSRC}
+DISTFILES= ${ABISRC} ${ABIDISTFILES} ${ICONVSRC} ${EXPATSRC} \
+ ${UNIXFONTS} ${WVSRC}
MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://www.abisource.com/
-BUILD_DEPENDS+= ${LOCALBASE}/bin/unzip:../../archivers/unzip
+BUILD_DEPENDS+= ${LOCALBASE}/bin/unzip:../../archivers/unzip
DEPENDS+= gtk+-1.2.*:../../x11/gtk
DEPENDS+= png>=1.0.3:../../graphics/png
+DEPENDS+= xpm-3.4k:../../graphics/xpm
USE_X11= yes
USE_GMAKE= yes
NO_CONFIGURE= yes
-ALL_TARGET= canonical
+ALL_TARGET= compile canonical
DIST_SUBDIR= abisuite
ABISRC= ${DISTNAME}${EXTRACT_SUFX}
ABIDISTFILES= abidistfiles-${ABIWORD_VERS}${EXTRACT_SUFX}
-UNIXFONTS= unixfonts-${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
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-ZLIB_DIR= ${LOCALBASE}/lib
-LDFLAGS+= -L${ZLIB_DIR}
-.endif
-
-LIBPNG_DIR= ${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LIBPNG_DIR}
+LDFLAGS+= -Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib
MAKE_ENV+= ABI_BUILD_VERSION="${ABIWORD_VERS}" \
- MACHINE="${MACHINE}" \
ABISUITE_HOME="${ABISUITE_HOME}" \
ABISUITE_LIBEXEC="${ABISUITE_LIBEXEC}" \
- ZLIB_DIR="${ZLIB_DIR}" \
- LIBPNG_DIR="${LIBPNG_DIR}" \
OS_CFLAGS="${CPPFLAGS}" \
OS_DLLFLAGS="${LDFLAGS}"