| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: wbm.mk,v 1.9 2010/07/11 17:41:01 joerg Exp $ | | 1 | # $NetBSD: wbm.mk,v 1.10 2012/05/13 08:10:12 sbd Exp $ |
2 | # | | 2 | # |
3 | # Makefile fragment for Webmin modules | | 3 | # Makefile fragment for Webmin modules |
4 | # | | 4 | # |
5 | # Then following variables may be set prior to including this file: | | 5 | # Then following variables may be set prior to including this file: |
6 | # | | 6 | # |
7 | # WBM_NAME Module name. | | 7 | # WBM_NAME Module name. |
8 | # | | 8 | # |
9 | # WBM_STD_MODULE if "YES", then this package provided as standard | | 9 | # WBM_STD_MODULE if "YES", then this package provided as standard |
10 | # module. defaults to "YES". | | 10 | # module. defaults to "YES". |
11 | # | | 11 | # |
12 | # WBM_MOD_REV Updated revision number since the each release. | | 12 | # WBM_MOD_REV Updated revision number since the each release. |
13 | # Updated modules are taken from following URL: | | 13 | # Updated modules are taken from following URL: |
14 | # http://www.webmin.com/updates.html | | 14 | # http://www.webmin.com/updates.html |
| @@ -80,19 +80,19 @@ WEBMIN_OSVERSION_cmd= ${AWK} '/^os_versi | | | @@ -80,19 +80,19 @@ WEBMIN_OSVERSION_cmd= ${AWK} '/^os_versi |
80 | | | 80 | |
81 | wbm-configure: | | 81 | wbm-configure: |
82 | ${FIND} ${WBMSRC} -name "*.orig" -print | ${XARGS} ${RM} -f | | 82 | ${FIND} ${WBMSRC} -name "*.orig" -print | ${XARGS} ${RM} -f |
83 | | | 83 | |
84 | wbm-build: | | 84 | wbm-build: |
85 | ${FIND} ${WBMSRC} -name '*.cgi' -print -o -name '*.pl' -print | \ | | 85 | ${FIND} ${WBMSRC} -name '*.cgi' -print -o -name '*.pl' -print | \ |
86 | ${PERL5} ${WEBMIN_DIR}/perlpath.pl ${PERL5} - | | 86 | ${PERL5} ${WEBMIN_DIR}/perlpath.pl ${PERL5} - |
87 | | | 87 | |
88 | INSTALLATION_DIRS+= ${WBM_DIR} ${WBM_EGDIR} | | 88 | INSTALLATION_DIRS+= ${WBM_DIR} ${WBM_EGDIR} |
89 | | | 89 | |
90 | wbm-install: | | 90 | wbm-install: |
91 | ${CP} -R ${WBMSRC} ${DESTDIR}${WBM_DIR}/. | | 91 | ${CP} -R ${WBMSRC} ${DESTDIR}${WBM_DIR}/. |
92 | ${PERL5} ${WEBMIN_DIR}/copyconfig.pl \ | | 92 | ${PERL5} ${WEBMIN_DIR}/copyconfig.pl \ |
93 | ${WEBMIN_OSTYPE_cmd:sh:Q} ${WEBMIN_OSVERSION_cmd:sh:Q} \ | | 93 | ${WEBMIN_OSTYPE_cmd:sh:Q} ${WEBMIN_OSVERSION_cmd:sh:Q:S/^$/''/}\ |
94 | ${DESTDIR}${WBM_DIR} ${DESTDIR}${WBM_EGDIR} ${WBM_NAME} | | 94 | ${DESTDIR}${WBM_DIR} ${DESTDIR}${WBM_EGDIR} ${WBM_NAME} |
95 | | | 95 | |
96 | do-configure: wbm-configure | | 96 | do-configure: wbm-configure |
97 | do-build: wbm-build | | 97 | do-build: wbm-build |
98 | do-install: wbm-install | | 98 | do-install: wbm-install |