mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
- Allow staging as a regular user
- Shebangfix
This commit is contained in:
parent
f4afd32cb9
commit
31fcd051f2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367849
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= atslog
|
||||
PORTVERSION= 2.1.1
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= comms
|
||||
MASTER_SITES= BERLIOS
|
||||
|
||||
@ -19,12 +19,14 @@ WWW_DESC= Install web interface
|
||||
WWWGD_DESC= Graphic reports
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= perl5
|
||||
USES= perl5 shebangfix
|
||||
USE_RC_SUBR= ${PORTNAME}d
|
||||
SHEBANG_FILES= include/atslogcleardb.pl.in include/atslogdb.pl.in
|
||||
PORTDOCS= CHANGES ChangeLog DEINSTALL INSTALL LICENSE TODO UPDATING USAGE
|
||||
SUB_FILES= pkg-message
|
||||
CONFIGS= ${PORTNAME}.conf.default ${PORTNAME}.conf.default.rus
|
||||
CONFIGURE_ARGS+=--localstatedir=/var
|
||||
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
|
||||
OPTIONS_SUB=yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
@ -102,7 +104,6 @@ do-install:
|
||||
${FIND} -E . -type f ! -iregex "(.*Makefile|.*\.orig)" -exec \
|
||||
${INSTALL_DATA} "{}" "${STAGEDIR}${WWWDIR}/{}" \;
|
||||
${MV} ${STAGEDIR}${WWWDIR}/include/config.inc.php.default ${STAGEDIR}${WWWDIR}/include/config.inc.php.sample
|
||||
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
|
||||
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for i in ${PORTDOCS}
|
||||
|
@ -103,6 +103,8 @@ man/ru.KOI8-R/man8/atslogmaster.8.gz
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/textlogs/Siemens Hicom-250.txt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/textlogs/Siemens Hicom-350H.txt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/textlogs/Telrad.txt
|
||||
%%WWW%%@owner %%WWWOWN%%
|
||||
%%WWW%%@group %%WWWGRP%%
|
||||
%%WWW%%%%WWWDIR%%/phonebook/index.html
|
||||
%%WWW%%%%WWWDIR%%/phonebook/index.php
|
||||
%%WWW%%%%WWWDIR%%/intern/index.html
|
||||
@ -333,6 +335,8 @@ man/ru.KOI8-R/man8/atslogmaster.8.gz
|
||||
%%WWW%%@dirrmtry %%WWWDIR%%/calls/query
|
||||
%%WWW%%@dirrmtry %%WWWDIR%%/calls
|
||||
%%WWW%%@dirrmtry %%WWWDIR%%
|
||||
%%WWW%%@owner root
|
||||
%%WWW%%@group wheel
|
||||
@dirrmtry libexec/atslog
|
||||
@dirrmtry %%DATADIR%%/lang
|
||||
@dirrmtry %%DATADIR%%/sql
|
||||
|
Loading…
Reference in New Issue
Block a user