Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2014 15:08:05 GMT
From:      Joseph Benden <joe@thrallingpenguin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/190144: [patch] Add staging support to www/hotcrp
Message-ID:  <201405231508.s4NF85Hv009342@cgiserv.freebsd.org>
Resent-Message-ID: <201405231510.s4NFA0bu084949@freefall.freebsd.org>

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

>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@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:



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