mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Fix pkg-plist
- Add x-generate-plist target to generate pkg-plist for maintenance Reported by: pointyhat (pav)
This commit is contained in:
parent
996d853fd4
commit
b3c3c64ce0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=269674
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= swfed
|
||||
PORTVERSION= 0.31
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics www
|
||||
MASTER_SITES= SFJP
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}/51037
|
||||
@ -62,4 +63,9 @@ post-install:
|
||||
@${CP} -R ${WRKDIR}/${DISTNAME}/www/ ${WWWDIR}
|
||||
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
|
||||
|
||||
x-generate-plist:
|
||||
${FIND} ${WWWDIR} -type f | ${SORT} | ${SED} -e 's,${WWWDIR},%%WWWDIR%%,g' >> pkg-plist.new
|
||||
${FIND} ${WWWDIR} -type d -depth | ${SORT} -r | ${SED} -e 's,${WWWDIR},@dirrm %%WWWDIR%%,g' >> pkg-plist.new
|
||||
${ECHO} '@exec chown -R %%WWWOWN%%:%%WWWGRP%% %D/%%WWWDIR%%' >> pkg-plist.new
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,7 +1,9 @@
|
||||
%%WWWDIR%%/define.php
|
||||
%%WWWDIR%%/index.php
|
||||
%%WWWDIR%%/shapetpl.swf
|
||||
%%WWWDIR%%/swfimage.php
|
||||
%%WWWDIR%%/swfimagelist.php
|
||||
%%WWWDIR%%/swfimagereplace.php
|
||||
%%WWWDIR%%/swfshape.php
|
||||
@dirrm %%WWWDIR%%
|
||||
@exec chown -R %%WWWOWN%%:%%WWWGRP%% %D/%%WWWDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user