aboutsummaryrefslogtreecommitdiffstats
path: root/www/aria2
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-07-14 18:06:22 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-07-14 18:06:22 +0800
commit227dab2c6cc50191943a40685535125ddf6da3e9 (patch)
tree58ea20f7690bbd2d325ad3f96901be1bcb87d78a /www/aria2
parent9e084ecff53826fc5649a38f1599c3b268b74e2f (diff)
downloadfreebsd-ports-graphics-227dab2c6cc50191943a40685535125ddf6da3e9.tar.gz
freebsd-ports-graphics-227dab2c6cc50191943a40685535125ddf6da3e9.tar.zst
freebsd-ports-graphics-227dab2c6cc50191943a40685535125ddf6da3e9.zip
- Update to 1.18.6
- Strip shared library in post-install: - Use PORTDOCS - Simplify Makefile Changes: http://sourceforge.net/projects/aria2/files/stable/aria2-1.18.6/README.rst/view
Diffstat (limited to 'www/aria2')
-rw-r--r--www/aria2/Makefile17
-rw-r--r--www/aria2/distinfo4
-rw-r--r--www/aria2/pkg-plist11
3 files changed, 6 insertions, 26 deletions
diff --git a/www/aria2/Makefile b/www/aria2/Makefile
index 05c1bae0382..2fac383e185 100644
--- a/www/aria2/Makefile
+++ b/www/aria2/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= aria2
-PORTVERSION= 1.18.5
-PORTREVISION= 3
+PORTVERSION= 1.18.6
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION}
@@ -35,6 +34,8 @@ USE_LDCONFIG= yes
USE_OPENSSL= yes
USES= compiler:c++11-lib libtool pathfix pkgconfig tar:xz
+PORTDOCS= *
+
CA_BUNDLE_CONFIGURE_OFF=--without-ca-bundle
CA_BUNDLE_CONFIGURE_ON= --with-ca-bundle=${LOCALBASE}/share/certs/ca-root-nss.crt
CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
@@ -53,17 +54,7 @@ ARIA2_DISK_CACHE?= 16M
BROKEN= Does not install on powerpc-9
.endif
-post-patch:
-.if !${PORT_OPTIONS:MDOCS}
- @${REINPLACE_CMD} -e 's|\(install-exec-am\) install-data-am|\1|' ${WRKSRC}/Makefile.in ${WRKSRC}/doc/Makefile.in
-.endif
-
-post-build:
- @${STRIP_CMD} ${WRKSRC}/src/.libs/libaria2.so.0
-
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${INSTALL_DATA} ${WRKSRC}/README.html ${STAGEDIR}${DOCSDIR}/
-.endif
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaria2.so.0.0.0
.include <bsd.port.post.mk>
diff --git a/www/aria2/distinfo b/www/aria2/distinfo
index 6a35c2e4a8a..9bfb0442f1f 100644
--- a/www/aria2/distinfo
+++ b/www/aria2/distinfo
@@ -1,2 +1,2 @@
-SHA256 (aria2-1.18.5.tar.xz) = 90a15959498673ebe6a964f8f9fe840f4adbb0a1904a9810cd7da6743c0b619b
-SIZE (aria2-1.18.5.tar.xz) = 1343468
+SHA256 (aria2-1.18.6.tar.xz) = b9890e1d353e76a87bf94dc8a810586f4b7899130603599dd1227ed0c19e0d74
+SIZE (aria2-1.18.6.tar.xz) = 1365776
diff --git a/www/aria2/pkg-plist b/www/aria2/pkg-plist
index de5f1500829..dadd4528aef 100644
--- a/www/aria2/pkg-plist
+++ b/www/aria2/pkg-plist
@@ -8,14 +8,6 @@ libdata/pkgconfig/libaria2.pc
man/man1/aria2c.1.gz
man/pt/man1/aria2c.1.gz
man/ru/man1/aria2c.1.gz
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README.html
-%%PORTDOCS%%%%DOCSDIR%%/README.rst
-%%PORTDOCS%%%%DOCSDIR%%/bash_completion/README.txt
-%%PORTDOCS%%%%DOCSDIR%%/bash_completion/aria2c
-%%PORTDOCS%%%%DOCSDIR%%/xmlrpc/README.txt
-%%PORTDOCS%%%%DOCSDIR%%/xmlrpc/aria2mon
-%%PORTDOCS%%%%DOCSDIR%%/xmlrpc/aria2rpc
%%NLS%%share/locale/ar/LC_MESSAGES/aria2.mo
%%NLS%%share/locale/bg/LC_MESSAGES/aria2.mo
%%NLS%%share/locale/bn/LC_MESSAGES/aria2.mo
@@ -70,9 +62,6 @@ man/ru/man1/aria2c.1.gz
%%NLS%%@dirrmtry share/locale/en@quot
%%NLS%%@dirrmtry share/locale/en@boldquot/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/en@boldquot
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/xmlrpc
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/bash_completion
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrmtry man/ru/man1
@dirrmtry man/ru
@dirrmtry man/pt/man1