diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-09-10 15:37:36 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-09-10 15:37:36 +0000 |
commit | ebca11ac9c3d8657382e58234b03ebb3786ba907 (patch) | |
tree | 508bed6bd9d4ee13b87eebe21335fbd6f57325f3 | |
parent | New ports: textproc/rubygem-elasticsearch, textproc/rubygem-elasticsearch-api... (diff) |
- Allow staging as a regular user
- Do not overwrite config.php with and empty file on install
Notes
Notes:
svn path=/head/; revision=367865
-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%% |