blob: 980264eded495c73cb89fee6ff431bb2581ef0e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# $NetBSD: Makefile,v 1.21 2003/05/02 11:56:38 wiz Exp $
#
DISTNAME= amaya-src-7.2
PKGREVISION= 1
PKGNAME= amaya-7.2
WRKSRC= ${WRKDIR}/Amaya/work
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= packages@netbsd.org
HOMEPAGE= http://www.w3.org/Amaya/
COMMENT= Web browser/editor from the World Wide Web Consortium (W3C)
EXTRACT_ELEMENTS= Amaya libwww
USE_BUILDLINK2= YES
USE_X11BASE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../configure
CONFIGURE_ARGS+= --without-graphic-libs # Use pkgsrc libraries
CFLAGS+= -Dunix
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/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../x11/gtk/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|