ports/190144: [patch] Add staging support to www/hotcrp

Joseph Benden joe at thrallingpenguin.com
Fri May 23 15:10:00 UTC 2014


>Number:         190144
>Category:       ports
>Synopsis:       [patch] Add staging support to www/hotcrp
>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:   Fri May 23 15:10: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 and fixing build for www/hotcrp.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/www/hotcrp/Makefile b/www/hotcrp/Makefile
index 21eb6c6..b6e1c17 100644
--- a/www/hotcrp/Makefile
+++ b/www/hotcrp/Makefile
@@ -10,7 +10,7 @@ COMMENT=	Web based conference management software
 
 RUN_DEPENDS=	${PEARDIR}/Mail.php:${PORTSDIR}/mail/pear-Mail \
 		${PEARDIR}/Mail/mime.php:${PORTSDIR}/mail/pear-Mail_Mime \
-		pdftohtml:${PORTSDIR}/textproc/pdftohtml \
+		pdf-to-html:${PORTSDIR}/textproc/pdftohtml \
 		zip:${PORTSDIR}/archivers/zip
 
 USE_PHP=	mysqli gd session ctype
@@ -26,11 +26,10 @@ SUB_FILES=	pkg-message
 LICENSE=	BSD
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${WWWDIR}
-	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
-	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
+	${MKDIR} ${STAGEDIR}${WWWDIR}
+	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
+	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
 
 post-install:
 	@${CAT} ${PKGMESSAGE}


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


More information about the freebsd-ports-bugs mailing list