| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.7 2013/05/10 12:01:50 imil Exp $ | | 1 | # $NetBSD: Makefile,v 1.8 2013/05/10 12:04:00 imil Exp $ |
2 | # | | 2 | # |
3 | # Note to packagers: | | 3 | # Note to packagers: |
4 | # packages installing additional completion files should drop | | 4 | # packages installing additional completion files should drop |
5 | # them into ${DESTDIR}${PREFIX}/share/bash-completion.d | | 5 | # them into ${DESTDIR}${PREFIX}/share/bash-completion.d |
6 | # with the name of the package as file name. | | 6 | # with the name of the package as file name. |
7 | | | 7 | |
8 | DISTNAME= bash-completion-2.1 | | 8 | DISTNAME= bash-completion-2.1 |
9 | CATEGORIES= shells | | 9 | CATEGORIES= shells |
10 | MASTER_SITES= http://bash-completion.alioth.debian.org/files/ | | 10 | MASTER_SITES= http://bash-completion.alioth.debian.org/files/ |
11 | | | 11 | |
12 | MAINTAINER= pkgsrc-users@NetBSD.org | | 12 | MAINTAINER= pkgsrc-users@NetBSD.org |
13 | HOMEPAGE= http://bash-completion.alioth.debian.org/ | | 13 | HOMEPAGE= http://bash-completion.alioth.debian.org/ |
14 | COMMENT= Programmable completion specifications for bash | | 14 | COMMENT= Programmable completion specifications for bash |
| @@ -16,26 +16,14 @@ LICENSE= gnu-gpl-v2 | | | @@ -16,26 +16,14 @@ LICENSE= gnu-gpl-v2 |
16 | | | 16 | |
17 | USE_TOOLS+= bash:run gmake | | 17 | USE_TOOLS+= bash:run gmake |
18 | | | 18 | |
19 | USE_LANGUAGES= # none | | 19 | USE_LANGUAGES= # none |
20 | GNU_CONFIGURE= yes | | 20 | GNU_CONFIGURE= yes |
21 | | | 21 | |
22 | SUBST_CLASSES+= path | | 22 | SUBST_CLASSES+= path |
23 | SUBST_SED.path+= -e "s,/etc/bash_completion.d,${PREFIX}/share/bash-completion.d,g" | | 23 | SUBST_SED.path+= -e "s,/etc/bash_completion.d,${PREFIX}/share/bash-completion.d,g" |
24 | SUBST_SED.path+= -e "s,/etc/bash_completion,${PREFIX}/share/bash-completion/bash_completion,g" | | 24 | SUBST_SED.path+= -e "s,/etc/bash_completion,${PREFIX}/share/bash-completion/bash_completion,g" |
25 | SUBST_STAGE.path= pre-build | | 25 | SUBST_STAGE.path= pre-build |
26 | SUBST_FILES.path+= README | | 26 | SUBST_FILES.path+= README |
27 | SUBST_MESSAGE.path= Fixing path to completion files. | | 27 | SUBST_MESSAGE.path= Fixing path to completion files. |
28 | | | 28 | |
29 | #do-build: | | | |
30 | | | | |
31 | #do-install: | | | |
32 | # ${INSTALL_DATA} ${WRKSRC}/README \ | | | |
33 | # ${DESTDIR}${PREFIX}/share/doc/bash-completion | | | |
34 | # ${INSTALL_DATA} ${WRKSRC}/bash_completion \ | | | |
35 | # ${DESTDIR}${PREFIX}/share/bash-completion | | | |
36 | # ${INSTALL_DATA} ${WRKSRC}/bash_completion.sh \ | | | |
37 | # ${DESTDIR}${PREFIX}/share/bash-completion | | | |
38 | # ${INSTALL_DATA} ${WRKSRC}/contrib/* \ | | | |
39 | # ${DESTDIR}${PREFIX}/share/bash-completion.d | | | |
40 | | | | |
41 | .include "../../mk/bsd.pkg.mk" | | 29 | .include "../../mk/bsd.pkg.mk" |