From 716daaf761fa96dacf5b50934b60141c3fac82e4 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sun, 29 Jan 2017 16:04:52 +0000 Subject: [PATCH] Install bash completion file - Bump PORTREVISION for package change --- www/aria2/Makefile | 5 +++++ www/aria2/pkg-plist | 1 + 2 files changed, 6 insertions(+) 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