2010-01-08 11:02:36 +01:00
|
|
|
# Ports collection makefile for: uzbl
|
|
|
|
# Date created: 2009/12/14
|
|
|
|
# Whom: aehlig@linta.de
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= uzbl
|
|
|
|
DISTVERSION= 0.0.0.${GITDATE}
|
|
|
|
CATEGORIES= www
|
2010-03-15 12:10:55 +01:00
|
|
|
MASTER_SITES= http://www.linta.de/distfiles/
|
2010-01-08 11:02:36 +01:00
|
|
|
|
|
|
|
MAINTAINER= aehlig@linta.de
|
|
|
|
COMMENT= Web interface tools which adhere to the unix philosophy
|
|
|
|
|
|
|
|
LIB_DEPENDS= webkit:${PORTSDIR}/www/webkit-gtk2
|
2010-08-09 16:07:54 +02:00
|
|
|
RUN_DEPENDS= socat:${PORTSDIR}/net/socat
|
2010-01-08 11:02:36 +01:00
|
|
|
|
|
|
|
USE_GNOME= gtk20
|
|
|
|
USE_LDCONFIG= yes
|
2010-03-02 00:53:58 +01:00
|
|
|
USE_GMAKE= yes
|
2010-01-08 11:02:36 +01:00
|
|
|
|
2010-08-09 16:07:54 +02:00
|
|
|
GITDATE= 2010.08.05
|
|
|
|
GITVERSION= 9cc39cb
|
2010-01-08 11:02:36 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/Dieterbe-uzbl-${GITVERSION}
|
|
|
|
|
2010-08-09 16:07:54 +02:00
|
|
|
LICENSE= GPLv3
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2010-03-02 00:53:58 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= AUTHORS README COMMUNITY CONTRIBUTING FAQ INSTALL TODO config-syntax \
|
|
|
|
multiple-instances-management performance url-editing config.h
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(NOPORTDATA)
|
|
|
|
PORTDATA= examples
|
|
|
|
.endif
|
|
|
|
|
2010-01-08 11:02:36 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|" \
|
2010-03-02 00:53:58 +01:00
|
|
|
${WRKSRC}/examples/config/config \
|
|
|
|
${WRKSRC}/src/uzbl-browser \
|
|
|
|
${WRKSRC}/examples/data/scripts/uzbl-event-manager
|
|
|
|
@${REINPLACE_CMD} -e "s|share/uzbl|${DATADIR_REL}|" \
|
2010-03-15 12:10:55 +01:00
|
|
|
${WRKSRC}/examples/config/config \
|
|
|
|
${WRKSRC}/src/uzbl-browser \
|
2010-03-02 00:53:58 +01:00
|
|
|
${WRKSRC}/examples/data/scripts/uzbl-event-manager
|
2010-04-06 01:31:06 +02:00
|
|
|
@${REINPLACE_CMD} -e "s|/usr/share/uzbl|${DATADIR}|" \
|
|
|
|
${WRKSRC}/examples/data/scripts/uzbl-tabbed
|
2010-01-08 11:02:36 +01:00
|
|
|
|
|
|
|
post-build:
|
2010-03-02 00:53:58 +01:00
|
|
|
@${FIND} ${WRKSRC} \( -name "*.orig" -or -name "*.bak" \) -exec ${RM} -f {} \;
|
2010-01-08 11:02:36 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/uzbl-core ${PREFIX}/bin
|
2010-03-02 00:53:58 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/uzbl-browser ${PREFIX}/bin
|
2010-01-08 11:02:36 +01:00
|
|
|
.for f in uzbl-event-manager uzbl-cookie-daemon uzbl-tabbed
|
2010-03-02 00:53:58 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/data/scripts/${f} ${PREFIX}/bin
|
2010-01-08 11:02:36 +01:00
|
|
|
.endfor
|
2010-03-02 00:53:58 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/config.h ${DOCSDIR}
|
2010-01-08 11:02:36 +01:00
|
|
|
.for f in COMMUNITY CONTRIBUTING FAQ INSTALL TODO config-syntax \
|
|
|
|
multiple-instances-management performance url-editing
|
2010-03-02 00:53:58 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}/${f}
|
2010-01-08 11:02:36 +01:00
|
|
|
.endfor
|
|
|
|
.for f in AUTHORS README
|
2010-03-02 00:53:58 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/${f}
|
2010-01-08 11:02:36 +01:00
|
|
|
.endfor
|
2010-03-02 00:53:58 +01:00
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTDATA)
|
2010-04-06 01:31:06 +02:00
|
|
|
${MKDIR} ${DATADIR}/examples/data/dforms ${DATADIR}/examples/config
|
2010-03-02 00:53:58 +01:00
|
|
|
.for f in config/cookies \
|
|
|
|
data/bookmarks \
|
2010-04-06 01:31:06 +02:00
|
|
|
data/dforms/bbs.archlinux.org \
|
2010-03-02 00:53:58 +01:00
|
|
|
data/style.css data/uzbl.png
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${DATADIR}/examples/${f}
|
2010-01-08 11:02:36 +01:00
|
|
|
.endfor
|
2010-03-02 00:53:58 +01:00
|
|
|
${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
|
2010-01-08 11:02:36 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|