pkgsrc/www/amaya/Makefile
adam e70a5ce83a Changes 9.0:
* A new User interface based on wxWidgets
* Amaya provides now a panel of tools on the left which can be hidden or shown
* All Amaya versions use now F2 key. A message is displayed when the Esc key is used
* Default GTK fonts are now expressed in point sizes
* WX version: when a 2nd Amaya instance is launched, the argument of the 2nd
  instance is sent to the first instance and the 2nd one stops
2005-01-18 16:35:18 +00:00

48 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.36 2005/01/18 16:35:18 adam Exp $
DISTNAME= amaya-fullsrc-9.0
PKGNAME= ${DISTNAME:S/-fullsrc//}
CATEGORIES= www
MASTER_SITES= http://www.w3.org/Amaya/Distribution/ \
ftp://ftp.w3.org/pub/amaya/ \
ftp://mirror.aarnet.edu.au/pub/amaya/
EXTRACT_SUFX= .tgz
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.w3.org/Amaya/
COMMENT= Web browser/editor from the World Wide Web Consortium (W3C)
EXTRACT_ELEMENTS= Amaya libwww
WRKSRC= ${WRKDIR}/Amaya/work
USE_BUILDLINK3= yes
USE_GNU_TOOLS+= make
USE_X11= yes
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../configure
CONFIGURE_ARGS+= --without-graphic-libs # Use pkgsrc libraries
CFLAGS+= -Dunix
# link correctly with pkgsrc zlib
LIBS+= -Wl,-R${LOCALBASE}/lib
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
.include "../../graphics/imlib/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"