mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Allow staging as a regular user
- Bump portrevision as files were not packaged with intended owner
This commit is contained in:
parent
9cddf72c14
commit
a854a3c91c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368034
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= kplaylist
|
||||
PORTVERSION= 1.8.505
|
||||
PORTREVISION?= 1
|
||||
PORTREVISION?= 2
|
||||
CATEGORIES= www multimedia
|
||||
MASTER_SITES= http://www.kplaylist.net/archive.php?file=1.8.505&tar=true/
|
||||
DISTNAME= ${PORTNAME}.${PORTVERSION}
|
||||
@ -18,16 +18,14 @@ RUN_DEPENDS= lame:${PORTSDIR}/audio/lame \
|
||||
USE_PHP= curl mysql session iconv
|
||||
|
||||
WRKSRC= ${WRKDIR}
|
||||
WWWDIR?= ${PREFIX}/www/${PORTNAME}
|
||||
NO_BUILD= yes
|
||||
|
||||
PLIST_FILES= %%WWWDIR%%/index.php
|
||||
PLIST_DIRS= %%WWWDIR%%
|
||||
PLIST_FILES= "@(${WWWOWN},${WWWGRP},) %%WWWDIR%%/index.php" \
|
||||
"@dirrm(${WWWOWN},${WWWGRP},) %%WWWDIR%%"
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${WWWDIR}
|
||||
@cd ${WRKSRC} && ${CP} kplaylist.1.8.505.php \
|
||||
${STAGEDIR}${WWWDIR}/index.php
|
||||
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user