- Use hard-coded zenphoto instead of %%PORTNAME%%

- Sort SUB_FILES
- Cosmetic change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-02-24 15:27:39 +00:00
parent 9a75d2ba3a
commit d43475694e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345867
2 changed files with 6 additions and 7 deletions

View file

@ -20,8 +20,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME}-${PORTVERSION}
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message pkg-deinstall
SUB_LIST= PORTNAME=${PORTNAME}
SUB_FILES= pkg-deinstall pkg-message
post-extract:
@${MKDIR} ${WRKSRC}/cache/
@ -39,13 +38,13 @@ MS_DIRRMTRY= albums cache themes zp-core
MS_PLIST= ${WRKDIR}/.ms-pkg-plist
genplist: do-clean extract
${ECHO} "@owner www" > ${MS_PLIST}
${ECHO} "@group www" >> ${MS_PLIST}
${ECHO} '@owner www' > ${MS_PLIST}
${ECHO} '@group www' >> ${MS_PLIST}
cd ${WRKSRC}/ && ${FIND} -s * -type f | ${SED} 's|^|%%WWWDIR%%/|' >> ${MS_PLIST}
cd ${WRKSRC}/ && ${FIND} -s * -type d | ${TAIL} -r | ${SED} 's|^|@dirrm %%WWWDIR%%/|' >> ${MS_PLIST}
${ECHO} '@dirrmtry %%WWWDIR%%' >> ${MS_PLIST}
${ECHO} "@owner" >> ${MS_PLIST}
${ECHO} "@group" >> ${MS_PLIST}
${ECHO} '@owner' >> ${MS_PLIST}
${ECHO} '@group' >> ${MS_PLIST}
.for dir in ${MS_DIRRMTRY}
${REINPLACE_CMD} '/^@dirrm %%WWWDIR%%\/${dir:C/\//\\\//g}$$/ s|@dirrm|&try|' ${MS_PLIST}
.endfor

View file

@ -1,5 +1,5 @@
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Browse http://your.host.tld/%%PORTNAME%%/ to configure your gallery
Browse http://your.host.tld/zenphoto/ to configure your gallery
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
To make zenphoto available through your web site, I suggest
that you add something like the following to httpd.conf: