blob: 5b67a295a1a38a629e0d1547d33a0ce389990226 (
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
51
52
53
54
55
56
57
58
59
60
|
# $NetBSD: Makefile,v 1.51 2008/09/08 08:03:15 dholland Exp $
DISTNAME= amaya-fullsrc-9.2.1
PKGNAME= ${DISTNAME:S/-fullsrc//}
PKGREVISION= 6
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= pkgsrc-users@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_DIRS+= xdg-1.1
USE_LANGUAGES= c c++
USE_TOOLS+= gmake perl
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../configure
CONFIGURE_ARGS+= --without-graphic-libs # Use pkgsrc libraries
CFLAGS+= -Dunix
# link correctly with pkgsrc zlib
LIBS+= ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib
FONTS_DIRS.ttf+= ${PREFIX}/share/Amaya/fonts
REQD_DIRS+= ${PREFIX}/share/Amaya ${PREFIX}/share/Amaya/fonts
.include "../../mk/bsd.prefs.mk"
# GNOME/KDE integration (only for Linux)
PLIST_VARS+= desktop
.if ${OPSYS} == "Linux"
PLIST.desktop= yes
.endif
post-extract:
${MKDIR} ${WRKSRC}
post-configure:
${CP} ${WRKSRC}/Options.orig ${WRKSRC}/Options
${TOUCH} ${WRKSRC}/Makefile
# currently uses its own copy of these
#.include "../../graphics/jpeg/buildlink3.mk"
#.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/imlib/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/xproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|