2002-04-23 04:08:51 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 2002/04/23 02:08:54 jlam Exp $
|
2000-06-20 18:50:08 +02:00
|
|
|
|
2001-08-09 21:03:18 +02:00
|
|
|
DISTNAME= amaya-src-5.1
|
|
|
|
PKGNAME= amaya-5.1
|
2002-03-13 18:36:35 +01:00
|
|
|
PKGREVISION= 1
|
2001-07-21 17:23:51 +02:00
|
|
|
WRKSRC= ${WRKDIR}/Amaya/work
|
2000-06-20 18:50:08 +02:00
|
|
|
CATEGORIES= www
|
2001-08-09 21:03:18 +02:00
|
|
|
MASTER_SITES= http://www.w3.org/Amaya/Distribution/ \
|
|
|
|
ftp://ftp.w3.org/pub/amaya/ \
|
|
|
|
ftp://mirror.aarnet.edu.au/pub/amaya/
|
2000-06-20 18:50:08 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= drochner@netbsd.org
|
|
|
|
HOMEPAGE= http://www.w3.org/Amaya/
|
2001-02-17 18:21:28 +01:00
|
|
|
COMMENT= Web Browser/Editor from the World Wide Web Consortium
|
2000-06-20 18:50:08 +02:00
|
|
|
|
2001-08-09 21:03:18 +02:00
|
|
|
EXTRACT_ELEMENTS= Amaya
|
2001-07-21 17:23:51 +02:00
|
|
|
USE_BUILDLINK_ONLY= yes
|
2002-04-23 04:08:51 +02:00
|
|
|
USE_X11BASE= yes
|
2001-07-21 17:23:51 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2000-06-20 18:50:08 +02:00
|
|
|
CONFIGURE_SCRIPT= ../configure
|
2001-08-09 21:03:18 +02:00
|
|
|
CONFIGURE_ARGS+= --without-graphic-libs # use pkgsrc libraries
|
2001-07-21 17:23:51 +02:00
|
|
|
CONFIGURE_ARGS+= --with-motif
|
|
|
|
CONFIGURE_ENV+= ac_cv_path_motif="${ac_cv_path_motif}"
|
|
|
|
CFLAGS+= -Dunix
|
2000-06-20 18:50:08 +02:00
|
|
|
|
2001-07-21 17:23:51 +02:00
|
|
|
# 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
|
2000-06-20 18:50:08 +02:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${MKDIR} ${WRKSRC}
|
|
|
|
|
2001-08-09 21:03:18 +02:00
|
|
|
# Install into ${PREFIX}/lib/Amaya instead of ${PREFIX}/Amaya.
|
|
|
|
post-patch:
|
|
|
|
cd ${WRKSRC}/..; \
|
|
|
|
files="amaya/Makefile.in"; \
|
|
|
|
for file in $${files}; do \
|
|
|
|
${MV} $${file} $${file}.fixme; \
|
|
|
|
${SED} -e "s|\$$(prefix)/Amaya|\$$(prefix)/lib/Amaya|g" \
|
|
|
|
$${file}.fixme > $${file}; \
|
|
|
|
done
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/Amaya
|
|
|
|
|
2001-06-29 16:53:34 +02:00
|
|
|
.include "../../graphics/jpeg/buildlink.mk"
|
|
|
|
.include "../../graphics/png/buildlink.mk"
|
2001-08-09 21:03:18 +02:00
|
|
|
.include "../../www/libwww/buildlink.mk"
|
2001-09-08 21:55:39 +02:00
|
|
|
.include "../../mk/motif.buildlink.mk"
|
2001-10-25 00:10:43 +02:00
|
|
|
.include "../../mk/x11.buildlink.mk"
|
2000-06-20 18:50:08 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|