diff options
author | antoine <antoine@FreeBSD.org> | 2014-09-10 23:37:36 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-09-10 23:37:36 +0800 |
commit | ccfb482a739d753109234b02ade82e65148d404c (patch) | |
tree | 508bed6bd9d4ee13b87eebe21335fbd6f57325f3 /www | |
parent | 0f99a36bc6aa1e9f0ef4ed18306b2fd6c7db0f03 (diff) | |
download | freebsd-ports-gnome-ccfb482a739d753109234b02ade82e65148d404c.tar.gz freebsd-ports-gnome-ccfb482a739d753109234b02ade82e65148d404c.tar.zst freebsd-ports-gnome-ccfb482a739d753109234b02ade82e65148d404c.zip |
- Allow staging as a regular user
- Do not overwrite config.php with and empty file on install
Diffstat (limited to 'www')
-rw-r--r-- | www/yanopaste/Makefile | 9 | ||||
-rw-r--r-- | www/yanopaste/pkg-plist | 3 |
2 files changed, 3 insertions, 9 deletions
diff --git a/www/yanopaste/Makefile b/www/yanopaste/Makefile index cc8dcac614d3..c73371180cfa 100644 --- a/www/yanopaste/Makefile +++ b/www/yanopaste/Makefile @@ -3,7 +3,7 @@ PORTNAME= yanopaste PORTVERSION= 1.3.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -13,9 +13,6 @@ COMMENT= Yet Another Nopaste NO_BUILD= yes USE_PHP= xsl session xmlwriter xmlreader SUB_FILES= pkg-message -WWWDIR?= ${PREFIX}/www/${PORTNAME} - -.include <bsd.port.pre.mk> post-patch: ${FIND} ${WRKSRC} -name .svn -type d | ${XARGS} ${RM} -rf @@ -23,8 +20,6 @@ post-patch: do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} ${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR} - @${TOUCH} ${STAGEDIR}${WWWDIR}/config.php - @${CHOWN} ${WWWOWN} ${STAGEDIR}${WWWDIR}/config.php create-plist: @${FIND} -s ${WRKSRC}/${file} -not -type d \ @@ -34,4 +29,4 @@ create-plist: @${FIND} -ds ${WRKSRC}/${file} -type d \ | ${SED} -e 's,^${WRKSRC},@dirrm %%WWWDIR%%,' >> ${PLIST} -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/www/yanopaste/pkg-plist b/www/yanopaste/pkg-plist index 9b25f4df6d77..bc2ba64c4f3e 100644 --- a/www/yanopaste/pkg-plist +++ b/www/yanopaste/pkg-plist @@ -3,7 +3,6 @@ %%WWWDIR%%/INSTALL %%WWWDIR%%/LICENSE %%WWWDIR%%/common.js -%%WWWDIR%%/config.php %%WWWDIR%%/config.php.sample %%WWWDIR%%/functions.php %%WWWDIR%%/header.jpg @@ -154,4 +153,4 @@ %%WWWDIR%%/upgrade.php @dirrm %%WWWDIR%%/includes/geshi @dirrm %%WWWDIR%%/includes -@dirrm %%WWWDIR%%/ +@dirrm %%WWWDIR%% |