2014-01-17 18:08:41 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= edbrowse
|
2018-04-14 20:09:03 +02:00
|
|
|
DISTVERSIONPREFIX= v
|
2018-10-11 04:23:26 +02:00
|
|
|
DISTVERSION= 3.7.4
|
2014-01-17 18:08:41 +01:00
|
|
|
CATEGORIES= www editors
|
|
|
|
|
2018-04-14 20:09:03 +02:00
|
|
|
MAINTAINER= alfix86@gmail.com
|
2014-01-17 18:08:41 +01:00
|
|
|
COMMENT= Line-oriented Web browser and text editor
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-04-01 16:33:55 +02:00
|
|
|
LIB_DEPENDS= libpcre.so:devel/pcre \
|
2018-04-14 20:09:03 +02:00
|
|
|
libcurl.so:ftp/curl \
|
|
|
|
libtidy.so:www/tidy-lib \
|
|
|
|
libtidy5.so:www/tidy-html5 \
|
|
|
|
libduktape.so:lang/duktape-lib
|
2014-01-17 18:08:41 +01:00
|
|
|
|
2018-10-11 04:23:26 +02:00
|
|
|
USES= cmake perl5 readline
|
|
|
|
USE_PERL5= build
|
2018-04-14 20:09:03 +02:00
|
|
|
USE_GITHUB= yes
|
2018-10-11 04:23:26 +02:00
|
|
|
|
2018-04-14 20:09:03 +02:00
|
|
|
GH_ACCOUNT= CMB
|
2017-05-23 00:29:17 +02:00
|
|
|
|
2018-04-14 20:09:03 +02:00
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
|
|
man/man1/${PORTNAME}.1.gz
|
2014-01-17 18:08:41 +01:00
|
|
|
|
2018-04-14 20:09:03 +02:00
|
|
|
PORTDOCS= *
|
2014-01-17 18:08:41 +01:00
|
|
|
|
2018-10-11 04:23:26 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man-edbrowse-freebsd.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}.1
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/edbrowse ${STAGEDIR}${PREFIX}/bin
|
2014-01-17 18:08:41 +01:00
|
|
|
|
2016-07-19 13:04:13 +02:00
|
|
|
post-install-DOCS-on:
|
2014-01-17 18:08:41 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2018-04-14 20:09:03 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/doc && \
|
2014-01-17 18:08:41 +01:00
|
|
|
${FIND} . \( -name setup.ebrc -or -name "man-edbrowse*" \) -delete && \
|
2018-04-14 20:09:03 +02:00
|
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
2014-01-17 18:08:41 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|