aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-10-04 17:01:49 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-10-04 17:01:49 +0800
commit23f1e5e94123a40cf293f10e8315a499335c64dd (patch)
tree3b53ce01e731c3d77792fccba1aacf46e49009cf /www
parentde768950c48f29b721f9630a6243fc63c6e10852 (diff)
downloadfreebsd-ports-gnome-23f1e5e94123a40cf293f10e8315a499335c64dd.tar.gz
freebsd-ports-gnome-23f1e5e94123a40cf293f10e8315a499335c64dd.tar.zst
freebsd-ports-gnome-23f1e5e94123a40cf293f10e8315a499335c64dd.zip
- Add LICENSE
- Switch to USES=localbase - Switch to USES=ssl - Switch to options helpers
Diffstat (limited to 'www')
-rw-r--r--www/retawq/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/www/retawq/Makefile b/www/retawq/Makefile
index 5a78bbd8925a..cd13d5960b6c 100644
--- a/www/retawq/Makefile
+++ b/www/retawq/Makefile
@@ -10,7 +10,10 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-0.2.6c
MAINTAINER= ports@FreeBSD.org
COMMENT= Interactive, multi-threaded web browser for text terminals
-USES= gettext ncurses
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= gettext localbase ncurses
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --path-archprefix=${PREFIX} --path-prefix=${PREFIX} \
--enable-i18n --enable-local-cgi --enable-ipv6
@@ -23,18 +26,16 @@ PLIST_FILES= bin/retawq \
share/locale/pt_BR/LC_MESSAGES/retawq.mo
PORTDOCS= *
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -pthread
-
OPTIONS_DEFINE= DOCS
OPTIONS_RADIO= BACKEND
-BACKEND_DESC= SSL Backend
OPTIONS_RADIO_BACKEND= OPENSSL GNUTLS
+BACKEND_DESC= SSL Backend
+
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
GNUTLS_CONFIGURE_ON= --set-tls=1
-OPENSSL_USE= OPENSSL=yes
+OPENSSL_USES= ssl
OPENSSL_CONFIGURE_ON= --set-tls=2
OPENSSL_LDFLAGS= -lssl -lcrypto
@@ -50,6 +51,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/i18n/${lang}.mo \
${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo
.endfor
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docu/*.html ${STAGEDIR}${DOCSDIR}