ports/190208: [patch] Add staging support to www/jspacker

Joseph Benden joe at thrallingpenguin.com
Sun May 25 19:00:01 UTC 2014


>Number:         190208
>Category:       ports
>Synopsis:       [patch] Add staging support to www/jspacker
>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 25 19: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 at lucy:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Adds staging support to www/jspacker.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/www/jspacker/Makefile b/www/jspacker/Makefile
index feee8a4..39a5b5c 100644
--- a/www/jspacker/Makefile
+++ b/www/jspacker/Makefile
@@ -23,17 +23,16 @@ SUB_FILES=	${PORTNAME}
 SUB_LIST=	JSPACKER=${JSPACKER} \
 		PERL5=${PERL5}
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
-	${MKDIR} ${DATADIR} && \
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	${MKDIR} ${STAGEDIR}${DATADIR} && \
 	cd ${WRKSRC} && \
-	${INSTALL_DATA} *.pm ${DATADIR} && \
-	${INSTALL_SCRIPT} ${JSPACKER} ${DATADIR}
+	${INSTALL_DATA} *.pm ${STAGEDIR}${DATADIR} && \
+	${INSTALL_SCRIPT} ${JSPACKER} ${STAGEDIR}${DATADIR}
 .if !defined(NOPORTEXAMPLES)
-	${MKDIR} ${EXAMPLESDIR} && \
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR} && \
 	cd ${WRKSRC} && \
-	${INSTALL_DATA} *.htm ${EXAMPLESDIR}
+	${INSTALL_DATA} *.htm ${STAGEDIR}${EXAMPLESDIR}
 .endif
 
 .include <bsd.port.mk>


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


More information about the freebsd-ports-bugs mailing list