Fri Sep 19 19:08:10 2008 UTC ()
s/LOCALBASE/PREFIX/
Needs pkg-config.


(joerg)
diff -r1.52 -r1.53 pkgsrc/www/amaya/Makefile

cvs diff -r1.52 -r1.53 pkgsrc/www/amaya/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/www/amaya/Attic/Makefile 2008/09/11 04:22:50 1.52
+++ pkgsrc/www/amaya/Attic/Makefile 2008/09/19 19:08:10 1.53
@@ -1,32 +1,32 @@ @@ -1,32 +1,32 @@
1# $NetBSD: Makefile,v 1.52 2008/09/11 04:22:50 dholland Exp $ 1# $NetBSD: Makefile,v 1.53 2008/09/19 19:08:10 joerg Exp $
2 2
3DISTNAME= amaya-fullsrc-10.0.1 3DISTNAME= amaya-fullsrc-10.0.1
4PKGNAME= ${DISTNAME:S/-fullsrc//} 4PKGNAME= ${DISTNAME:S/-fullsrc//}
5CATEGORIES= www 5CATEGORIES= www
6MASTER_SITES= http://www.w3.org/Amaya/Distribution/ \ 6MASTER_SITES= http://www.w3.org/Amaya/Distribution/ \
7 ftp://ftp.w3.org/pub/amaya/ \ 7 ftp://ftp.w3.org/pub/amaya/ \
8 ftp://mirror.aarnet.edu.au/pub/amaya/ 8 ftp://mirror.aarnet.edu.au/pub/amaya/
9EXTRACT_SUFX= .tgz 9EXTRACT_SUFX= .tgz
10 10
11MAINTAINER= pkgsrc-users@NetBSD.org 11MAINTAINER= pkgsrc-users@NetBSD.org
12HOMEPAGE= http://www.w3.org/Amaya/ 12HOMEPAGE= http://www.w3.org/Amaya/
13COMMENT= Web browser/editor from the World Wide Web Consortium (W3C) 13COMMENT= Web browser/editor from the World Wide Web Consortium (W3C)
14 14
15PKG_DESTDIR_SUPPORT= user-destdir 15PKG_DESTDIR_SUPPORT= user-destdir
16 16
17USE_DIRS+= xdg-1.1 17USE_DIRS+= xdg-1.1
18USE_LANGUAGES= c c++ 18USE_LANGUAGES= c c++
19USE_TOOLS+= gmake perl 19USE_TOOLS+= gmake perl pkg-config
20GNU_CONFIGURE= yes 20GNU_CONFIGURE= yes
21 21
22WRKSRC= ${WRKDIR}/Amaya/work 22WRKSRC= ${WRKDIR}/Amaya/work
23CONFIGURE_SCRIPT= ../configure 23CONFIGURE_SCRIPT= ../configure
24BUILD_TARGET= all 24BUILD_TARGET= all
25 25
26CFLAGS+= -Dunix 26CFLAGS+= -Dunix
27 27
28FONTS_DIRS.ttf+= ${PREFIX}/share/Amaya/fonts 28FONTS_DIRS.ttf+= ${PREFIX}/share/Amaya/fonts
29REQD_DIRS+= ${PREFIX}/share/Amaya ${PREFIX}/share/Amaya/fonts 29REQD_DIRS+= ${PREFIX}/share/Amaya ${PREFIX}/share/Amaya/fonts
30 30
31.include "../../mk/bsd.prefs.mk" 31.include "../../mk/bsd.prefs.mk"
32 32
@@ -115,27 +115,27 @@ post-configure: @@ -115,27 +115,27 @@ post-configure:
115EXTRACT_ELEMENTS= Amaya 115EXTRACT_ELEMENTS= Amaya
116 116
117# Requires its own custom-patched libwww, 117# Requires its own custom-patched libwww,
118# which also incl. a custom-patched expat. 118# which also incl. a custom-patched expat.
119EXTRACT_ELEMENTS+= libwww 119EXTRACT_ELEMENTS+= libwww
120# -or- 120# -or-
121#.include "../../www/libwww/buildlink3.mk" 121#.include "../../www/libwww/buildlink3.mk"
122#.include "../../textproc/expat/buildlink3.mk" 122#.include "../../textproc/expat/buildlink3.mk"
123 123
124# The Amaya portion of the distfile inclues copies of libpng, jpeg, and zlib. 124# The Amaya portion of the distfile inclues copies of libpng, jpeg, and zlib.
125# Use pkgsrc's libpng, jpeg, and zlib instead. 125# Use pkgsrc's libpng, jpeg, and zlib instead.
126CONFIGURE_ARGS+= --without-graphic-libs # Use pkgsrc libraries 126CONFIGURE_ARGS+= --without-graphic-libs # Use pkgsrc libraries
127# link correctly with pkgsrc zlib (XXX: is this needed or correct?) 127# link correctly with pkgsrc zlib (XXX: is this needed or correct?)
128LIBS+= ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib 128LIBS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib
129.include "../../graphics/jpeg/buildlink3.mk" 129.include "../../graphics/jpeg/buildlink3.mk"
130.include "../../graphics/png/buildlink3.mk" 130.include "../../graphics/png/buildlink3.mk"
131.include "../../devel/zlib/buildlink3.mk" 131.include "../../devel/zlib/buildlink3.mk"
132 132
133# The davlib code doesn't build. 133# The davlib code doesn't build.
134CONFIGURE_ARGS+= --without-dav 134CONFIGURE_ARGS+= --without-dav
135 135
136# pkgsrc doesn't have redland (yet?) 136# pkgsrc doesn't have redland (yet?)
137# disable; currently doesn't work and I don't have time to chase down why 137# disable; currently doesn't work and I don't have time to chase down why
138#EXTRACT_ELEMENTS+= redland 138#EXTRACT_ELEMENTS+= redland
139# -or- 139# -or-
140#CONFIGURE_ARGS+= --enable-system-redland 140#CONFIGURE_ARGS+= --enable-system-redland
141#.include "../../???/redland/buildlink3.mk" 141#.include "../../???/redland/buildlink3.mk"