diff --git a/www/aria2/Makefile b/www/aria2/Makefile index 0624b864e649..b64edca7ea1b 100644 --- a/www/aria2/Makefile +++ b/www/aria2/Makefile @@ -3,6 +3,7 @@ PORTNAME= aria2 PORTVERSION= 1.31.0 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/release-${PORTVERSION}/ \ LOCAL/sunpoet @@ -54,4 +55,8 @@ SSH2_LIB_DEPENDS= libssh2.so:security/libssh2 ARIA2_DISK_CACHE?= 16M +post-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ + ${INSTALL_DATA} ${WRKSRC}/doc/bash_completion/aria2c ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ + .include diff --git a/www/aria2/pkg-plist b/www/aria2/pkg-plist index 3fdd4475c091..bf1f1e083c98 100644 --- a/www/aria2/pkg-plist +++ b/www/aria2/pkg-plist @@ -1,4 +1,5 @@ bin/aria2c +etc/bash_completion.d/aria2c include/aria2/aria2.h lib/libaria2.a lib/libaria2.so