blob: 6198af6b8301a6afdadaa48e287de859a1f900d6 (
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
|
# $NetBSD: Makefile,v 1.4 2009/08/26 19:58:27 sno Exp $
#
DISTNAME= netsurf-1.2-src
PKGNAME= ${DISTNAME:S/-src$//}
PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.netsurf-browser.org/downloads/releases/
MAINTAINER= ahoka@NetBSD.org
HOMEPAGE= http://www.netsurf-browser.org/
COMMENT= Web browser for RISC OS and UNIX-like platforms
PKG_DESTDIR_SUPPORT= user-destdir
# current codebase needs strndup
NOT_FOR_PLATFORM= NetBSD-[0-3]*-*
WRKSRC= ${WRKDIR}/netsurf
USE_TOOLS+= gmake perl:build pax pkg-config
BUILD_DEPENDS+= lemon>=1.0:../../devel/lemon
BUILD_DEPENDS+= re2c>=0.12.*:../../devel/re2c
INSTALLATION_DIRS+= share/netsurf bin
post-extract:
find ${WRKSRC}/!NetSurf -type f | xargs chmod a-x
do-install:
cd ${WRKSRC} && pax -rw !NetSurf ${DESTDIR}${PREFIX}/share/netsurf/
cd ${WRKSRC} && pax -rw gtk/res ${DESTDIR}${PREFIX}/share/netsurf/
${INSTALL_PROGRAM} ${WRKSRC}/nsgtk ${DESTDIR}${PREFIX}/share/netsurf/nsgtk
${INSTALL_SCRIPT} ${WRKSRC}/netsurf ${DESTDIR}${PREFIX}/bin/netsurf
.include "../../x11/gtk2/buildlink3.mk"
.include "../../devel/libglade/buildlink3.mk"
.include "../../graphics/librsvg/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../graphics/mng/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|