diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2014-02-24 23:27:39 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2014-02-24 23:27:39 +0800 |
commit | 972dedc69854dcd044b305b5cd18e5cc02ed276d (patch) | |
tree | 0fe028006684e98a14a121262accd44478382d35 /www | |
parent | a630ea3db2c8679ce8b2797370b4de3ad784a10c (diff) | |
download | freebsd-ports-gnome-972dedc69854dcd044b305b5cd18e5cc02ed276d.tar.gz freebsd-ports-gnome-972dedc69854dcd044b305b5cd18e5cc02ed276d.tar.zst freebsd-ports-gnome-972dedc69854dcd044b305b5cd18e5cc02ed276d.zip |
- Use hard-coded zenphoto instead of %%PORTNAME%%
- Sort SUB_FILES
- Cosmetic change
Diffstat (limited to 'www')
-rw-r--r-- | www/zenphoto/Makefile | 11 | ||||
-rw-r--r-- | www/zenphoto/files/pkg-message.in | 2 |
2 files changed, 6 insertions, 7 deletions
diff --git a/www/zenphoto/Makefile b/www/zenphoto/Makefile index 337ee1bf1adf..e920db20b88e 100644 --- a/www/zenphoto/Makefile +++ b/www/zenphoto/Makefile @@ -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 diff --git a/www/zenphoto/files/pkg-message.in b/www/zenphoto/files/pkg-message.in index 67a9d93bca30..f2f5ff8e600b 100644 --- a/www/zenphoto/files/pkg-message.in +++ b/www/zenphoto/files/pkg-message.in @@ -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: |