Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 2014 17:55:42 GMT
From:      Joseph Benden <joe@thrallingpenguin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189913: [patch] Add staging support to www/smarty2
Message-ID:  <201405181755.s4IHtgkJ037915@cgiserv.freebsd.org>
Resent-Message-ID: <201405181800.s4II00BV085097@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189913
>Category:       ports
>Synopsis:       [patch] Add staging support to www/smarty2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 18 18:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Joseph Benden
>Release:        FreeBSD 11
>Organization:
>Environment:
FreeBSD lucy 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r264887: Thu Apr 24 12:43:46 MST 2014     root@lucy:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Adds staging support to www/smarty2.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/www/smarty2/Makefile b/www/smarty2/Makefile
index a8cfc2d..fbc1c96 100644
--- a/www/smarty2/Makefile
+++ b/www/smarty2/Makefile
@@ -19,7 +19,6 @@ WRKSRC=		${WRKDIR}/Smarty-${PORTVERSION}
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MDOCS}
@@ -34,21 +33,21 @@ PKGMESSAGE=	${WRKDIR}/pkg-message
 SUB_FILES=	pkg-message
 
 do-install:
-	@${MKDIR} ${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}
 .for f in Config_File.class.php Smarty.class.php Smarty_Compiler.class.php debug.tpl
-	@${INSTALL_DATA} ${WRKSRC}/libs/$f ${DATADIR}
+	@${INSTALL_DATA} ${WRKSRC}/libs/$f ${STAGEDIR}${DATADIR}
 .endfor
-	@${MKDIR} ${DATADIR}/internals
-	@${INSTALL_DATA} ${WRKSRC}/libs/internals/* ${DATADIR}/internals
-	@${MKDIR} ${DATADIR}/plugins
-	@${INSTALL_DATA} ${WRKSRC}/libs/plugins/* ${DATADIR}/plugins
+	@${MKDIR} ${STAGEDIR}${DATADIR}/internals
+	@${INSTALL_DATA} ${WRKSRC}/libs/internals/* ${STAGEDIR}${DATADIR}/internals
+	@${MKDIR} ${STAGEDIR}${DATADIR}/plugins
+	@${INSTALL_DATA} ${WRKSRC}/libs/plugins/* ${STAGEDIR}${DATADIR}/plugins
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in BUGS FAQ INSTALL NEWS README
-	@${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
 .endfor
-	@${MKDIR} ${DOCSDIR}/manual
-	@cd ${WRKDIR}/manual-en && ${FIND} . | ${CPIO} --quiet -dumpR ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}/manual
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}/manual
+	@cd ${WRKDIR}/manual-en && ${FIND} . | ${CPIO} --quiet -dumpR ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}/manual
 .endif
 
 post-install:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405181755.s4IHtgkJ037915>