Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2014 10:06:22 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361758 - head/www/aria2
Message-ID:  <201407141006.s6EA6MlD073569@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Jul 14 10:06:22 2014
New Revision: 361758
URL: http://svnweb.freebsd.org/changeset/ports/361758
QAT: https://qat.redports.org/buildarchive/r361758/

Log:
  - 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

Modified:
  head/www/aria2/Makefile
  head/www/aria2/distinfo
  head/www/aria2/pkg-plist

Modified: head/www/aria2/Makefile
==============================================================================
--- head/www/aria2/Makefile	Mon Jul 14 10:02:27 2014	(r361757)
+++ head/www/aria2/Makefile	Mon Jul 14 10:06:22 2014	(r361758)
@@ -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>

Modified: head/www/aria2/distinfo
==============================================================================
--- head/www/aria2/distinfo	Mon Jul 14 10:02:27 2014	(r361757)
+++ head/www/aria2/distinfo	Mon Jul 14 10:06:22 2014	(r361758)
@@ -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

Modified: head/www/aria2/pkg-plist
==============================================================================
--- head/www/aria2/pkg-plist	Mon Jul 14 10:02:27 2014	(r361757)
+++ head/www/aria2/pkg-plist	Mon Jul 14 10:06:22 2014	(r361758)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407141006.s6EA6MlD073569>