summaryrefslogtreecommitdiff
path: root/www/amaya/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/amaya/Makefile')
-rw-r--r--www/amaya/Makefile29
1 files changed, 17 insertions, 12 deletions
diff --git a/www/amaya/Makefile b/www/amaya/Makefile
index 2eaf8f19a0c..afcf335f6fa 100644
--- a/www/amaya/Makefile
+++ b/www/amaya/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2001/06/29 15:01:35 zuntum Exp $
+# $NetBSD: Makefile,v 1.10 2001/07/21 15:23:51 jlam Exp $
DISTNAME= amaya-src-4.3.2
PKGNAME= amaya-4.3.2
+WRKSRC= ${WRKDIR}/Amaya/work
CATEGORIES= www
MASTER_SITES= ftp://ftp.w3.org/pub/amaya/
EXTRACT_SUFX= .tgz
@@ -10,23 +11,27 @@ MAINTAINER= drochner@netbsd.org
HOMEPAGE= http://www.w3.org/Amaya/
COMMENT= Web Browser/Editor from the World Wide Web Consortium
-USE_BUILDLINK_ONLY= YES
-WRKSRC= ${WRKDIR}/Amaya/work
-GNU_CONFIGURE= yes
+USE_BUILDLINK_ONLY= yes
+USE_GMAKE= yes
+
+GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../configure
-CONFIGURE_ARGS+= --with-motif --without-graphic-libs
-CONFIGURE_ENV+= MOTIFBASE=${MOTIFBASE}
-CFLAGS+= -Dunix
+CONFIGURE_ARGS+= --without-graphic-libs
+CONFIGURE_ARGS+= --with-motif
+CONFIGURE_ENV+= ac_cv_path_motif="${ac_cv_path_motif}"
+CFLAGS+= -Dunix
-USE_MOTIF= yes
-USE_GMAKE= yes
+# Craft the ac_cv_path_motif variable so that configure "finds" the Motif
+# files in the right place.
+#
+ac_cv_path_motif= no_motif=
+ac_cv_path_motif+= ac_motif_includes=${BUILDLINK_DIR}/include
+ac_cv_path_motif+= ac_motif_libraries=${BUILDLINK_DIR}/lib
post-extract:
${MKDIR} ${WRKSRC}
- ${RM} -rf ${WRKDIR}/Amaya/libjpeg
- ${RM} -rf ${WRKDIR}/Amaya/libpng/zlib
- ${RM} -rf ${WRKDIR}/Amaya/libpng
.include "../../graphics/jpeg/buildlink.mk"
.include "../../graphics/png/buildlink.mk"
+.include "../../x11/lesstif/buildlink.mk"
.include "../../mk/bsd.pkg.mk"