blob: 3bfe434e674d04316e09b7496abff5e67021394d (
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
# Ports collection makefile for: uzbl
# Date created: 2009/12/14
# Whom: aehlig@linta.de
#
# $FreeBSD: ports/www/uzbl/Makefile,v 1.9 2010/12/01 12:48:45 pav Exp $
#
PORTNAME= uzbl
DISTVERSION= 0.0.0.${GITDATE}
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.linta.de/distfiles/
MAINTAINER= aehlig@linta.de
COMMENT= Web interface tools which adhere to the unix philosophy
LIB_DEPENDS= webkitgtk-1.0:${PORTSDIR}/www/webkit-gtk2
RUN_DEPENDS= socat:${PORTSDIR}/net/socat
USE_GNOME= gtk20
USE_LDCONFIG= yes
USE_GMAKE= yes
GITDATE= 2010.11.25
GITVERSION= 5180049
WRKSRC= ${WRKDIR}/Dieterbe-uzbl-${GITVERSION}
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
.if !defined(NOPORTDOCS)
PORTDOCS= AUTHORS README COMMUNITY CONTRIBUTING FAQ INSTALL TODO config-syntax \
multiple-instances-management performance url-editing config.h vim README.cookies
.endif
.if !defined(NOPORTDATA)
PORTDATA= examples
.endif
post-patch:
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|" \
${WRKSRC}/examples/config/config \
${WRKSRC}/src/uzbl-browser \
${WRKSRC}/examples/data/scripts/uzbl-event-manager
@${REINPLACE_CMD} -e "s|share/uzbl|${DATADIR_REL}|" \
${WRKSRC}/examples/config/config \
${WRKSRC}/src/uzbl-browser \
${WRKSRC}/examples/data/scripts/uzbl-event-manager
@${REINPLACE_CMD} -e "s|/usr/share/uzbl|${DATADIR}|" \
${WRKSRC}/examples/data/scripts/uzbl-tabbed
post-build:
@${FIND} ${WRKSRC} \( -name "*.orig" -or -name "*.bak" \) -exec ${RM} -f {} \;
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/uzbl-core ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/uzbl-cookie-manager ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/src/uzbl-browser ${PREFIX}/bin
.for f in uzbl-event-manager uzbl-cookie-daemon uzbl-tabbed
${INSTALL_SCRIPT} ${WRKSRC}/examples/data/scripts/${f} ${PREFIX}/bin
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/src/config.h ${DOCSDIR}
.for f in COMMUNITY CONTRIBUTING FAQ INSTALL TODO config-syntax \
multiple-instances-management performance url-editing README.cookies
${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}/${f}
.endfor
.for f in AUTHORS README
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/${f}
.endfor
(cd ${WRKSRC}/extras && ${COPYTREE_SHARE} vim ${DOCSDIR})
.endif
.if !defined(NOPORTDATA)
${MKDIR} ${DATADIR}/examples/data/dforms ${DATADIR}/examples/config
.for f in data/bookmarks \
data/dforms/bbs.archlinux.org \
data/style.css data/uzbl.png
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${DATADIR}/examples/${f}
.endfor
${INSTALL_DATA} ${WRKSRC}/examples/config/config ${DATADIR}/examples/config/config
(cd ${WRKSRC}/examples/data && \
${COPYTREE_BIN} plugins ${DATADIR}/examples/data/)
(cd ${WRKSRC}/examples/data && \
${COPYTREE_BIN} scripts ${DATADIR}/examples/data/)
.endif
.include <bsd.port.mk>
|