Bug 190144 - [patch] Add staging support to www/hotcrp
Summary: [patch] Add staging support to www/hotcrp
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Kevin Lo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-23 16:10 UTC by joe
Modified: 2014-05-24 16:20 UTC (History)
0 users

See Also:


Attachments
file.diff (916 bytes, patch)
2014-05-23 16:10 UTC, joe
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description joe 2014-05-23 16:10:00 UTC
Adds staging support and fixing build for www/hotcrp.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-23 16:10:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kevlo

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-05-24 16:10:03 UTC
Author: kevlo
Date: Sat May 24 15:09:58 2014
New Revision: 355043
URL: http://svnweb.freebsd.org/changeset/ports/355043
QAT: https://qat.redports.org/buildarchive/r355043/

Log:
  Stage support
  
  PR:	ports/190144
  Submitted by:	Joseph Benden

Modified:
  head/www/hotcrp/Makefile

Modified: head/www/hotcrp/Makefile
==============================================================================
--- head/www/hotcrp/Makefile	Sat May 24 14:38:42 2014	(r355042)
+++ head/www/hotcrp/Makefile	Sat May 24 15:09:58 2014	(r355043)
@@ -10,7 +10,7 @@ COMMENT=	Web based conference management
 
 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}
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Kevin Lo freebsd_committer freebsd_triage 2014-05-24 16:10:34 UTC
State Changed
From-To: open->closed

Committed, thanks.