1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- 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
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-07-14 10:06:22 +00:00
parent dee72a9c9d
commit e4baa771b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361758
3 changed files with 6 additions and 26 deletions

View File

@ -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>

View File

@ -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

View File

@ -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