pkgsrc/www/amaya/Makefile

58 lines
1.6 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.17 2002/04/23 02:08:54 jlam Exp $
2000-06-20 18:50:08 +02:00
DISTNAME= amaya-src-5.1
PKGNAME= amaya-5.1
PKGREVISION= 1
WRKSRC= ${WRKDIR}/Amaya/work
2000-06-20 18:50:08 +02:00
CATEGORIES= www
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/
COMMENT= Web Browser/Editor from the World Wide Web Consortium
2000-06-20 18:50:08 +02:00
EXTRACT_ELEMENTS= Amaya
USE_BUILDLINK_ONLY= yes
USE_X11BASE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
2000-06-20 18:50:08 +02:00
CONFIGURE_SCRIPT= ../configure
CONFIGURE_ARGS+= --without-graphic-libs # use pkgsrc libraries
CONFIGURE_ARGS+= --with-motif
CONFIGURE_ENV+= ac_cv_path_motif="${ac_cv_path_motif}"
CFLAGS+= -Dunix
2000-06-20 18:50:08 +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}
# 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"
.include "../../www/libwww/buildlink.mk"
.include "../../mk/motif.buildlink.mk"
.include "../../mk/x11.buildlink.mk"
2000-06-20 18:50:08 +02:00
.include "../../mk/bsd.pkg.mk"