summaryrefslogtreecommitdiffstats
path: root/www/xxxterm/Makefile
blob: e7e6fa3a056beab9ee74a27e0c0c96893b3a2014 (plain) (blame)
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
# New ports collection makefile for:    xxxterm
# Date created:             2011.01.15
# Whom:                 Aldis Berjoza <aldis@bsdroot.lv>
#
# $FreeBSD$
#

PORTNAME=   xxxterm
PORTVERSION=    1.339
PORTREVISION=   2
CATEGORIES= www
MASTER_SITES=   http://opensource.conformal.com/snapshots/xxxterm/
EXTRACT_SUFX=   .tgz

MAINTAINER= aldis@bsdroot.lv
COMMENT=    Minimalists vi-like web browser based on webkit and GTK+

LIB_DEPENDS=    gnutls.47:${PORTSDIR}/security/gnutls \
        soup-2.4:${PORTSDIR}/devel/libsoup \
        webkitgtk-1.0:${PORTSDIR}/www/webkit-gtk2

USE_GNOME=  gtk20 pkgconfig
USE_PERL5_BUILD=YES

PLIST_FILES=    bin/xxxterm
MAN1=       xxxterm.1
PORTEXAMPLES=   favorites xxxterm.conf
PLIST_DIRS+=    share/xxxterm

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 800041
BROKEN=     does not build due to missing arc4random_buf in libc
.endif

ICONS=  16 32 48 64 128
.for i in ${ICONS}
PLIST_FILES+=   share/xxxterm/xxxtermicon${i}.png
.endfor

do-build:
    (cd ${WRKSRC}/freebsd && make)

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/freebsd/xxxterm ${PREFIX}/bin/
    ${INSTALL_MAN} ${WRKSRC}/xxxterm.1 ${PREFIX}/man/man1/
    ${MKDIR} ${PREFIX}/share/${PORTNAME}
.for i in ${ICONS}
    ${INSTALL_DATA}  ${WRKSRC}/xxxtermicon${i}.png ${PREFIX}/share/xxxterm/
.endfor
.if !defined(NOPORTEXAMPLES)
    ${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/favorites ${EXAMPLESDIR}/
    ${INSTALL_DATA} ${WRKSRC}/xxxterm.conf ${EXAMPLESDIR}/
.endif

# vim: set ts=8 sw=8:
.include <bsd.port.post.mk>