blob: ea9362761cea981b1709b9508f8ceb8526816dab (
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
61
|
# New ports collection makefile for: xxxterm
# Date created: 2011.01.15
# Whom: Aldis Berjoza <aldis@bsdroot.lv>
#
# $FreeBSD$
#
PORTNAME= xxxterm
PORTVERSION= 1.10.0
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= https://opensource.conformal.com/snapshots/xxxterm/ \
SF/xxxterm/
EXTRACT_SUFX= .tgz
MAINTAINER= graudeejs@gmail.com
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
PLIST_FILES+= share/xxxterm/style.css
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
${INSTALL_DATA} ${WRKSRC}/style.css ${PREFIX}/share/xxxterm/
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/favorites ${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/xxxterm.conf ${EXAMPLESDIR}/
.endif
.include <bsd.port.post.mk>
|