Bug 102159 - Update of www/xaraya for version and PHP5 brokenness
Summary: Update of www/xaraya for version and PHP5 brokenness
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: Rong-En Fan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-16 21:40 UTC by neil
Modified: 2006-08-17 20:09 UTC (History)
0 users

See Also:


Attachments
file.diff (208 bytes, patch)
2006-08-16 21:40 UTC, neil
no flags Details | Diff
file.diff (603 bytes, patch)
2006-08-16 21:40 UTC, neil
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description neil 2006-08-16 21:40:15 UTC
Current port is outdated and marked as broken for PHP5.
		This port has minor changes:
		1) Corrected copy for all documentation now supplied in docs directory
		2) Relocated bundled example tools from DATADIR to EXAMPLESDIR to better reflect usage
		3) Install bundled example tools under EXAMPLESDIR without tools directory itself

Fix: PORTNAME=      xaraya
-PORTVERSION=   1.0.0r3
+PORTVERSION=   1.1.1
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=    ${PORTNAME}
-DISTNAME=      ${PORTNAME}-1.0.0-rc3-base
+DISTNAME=      ${PORTNAME}-1.1.1-base

 MAINTAINER=    ports@FreeBSD.org
 COMMENT=       Framework to create fully dynamic Content Mangement Solutions
@@ -22,9 +22,8 @@
 .else
 USE_PHP=       mysql
 .endif
-IGNORE_WITH_PHP=       5
 NO_BUILD=      yes
-WRKSRC=                ${WRKDIR}/${PORTNAME}-1.0.0-rc3
+WRKSRC=                ${WRKDIR}/${PORTNAME}-1.1.1

 # May user to override this
 XARAYADIR?=    www/xaraya
@@ -36,15 +35,13 @@
        ${MKDIR} ${PREFIX}/${XARAYADIR}
        ${CP} -r ${WRKSRC}/html/* ${PREFIX}/${XARAYADIR}
 .if !defined(NOTOOLS)
-       ${MKDIR} ${DATADIR}
-       ${CP} -r ${WRKSRC}/tools ${DATADIR}
+       ${MKDIR} ${EXAMPLESDIR}
+       ${CP} -r ${WRKSRC}/tools/* ${EXAMPLESDIR}
 .endif
        ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${XARAYADIR}
 .if !defined(NOPORTDOCS)
        ${MKDIR} ${DOCSDIR}
        ${CP} -r ${WRKSRC}/docs/* ${DOCSDIR}
-       ${CP} ${WRKSRC}/INSTALL.txt ${WRKSRC}/LICENSE.txt \
-               ${WRKSRC}/CREDITS.txt ${DOCSDIR}
 .endif

 # Create plist
@@ -69,9 +66,9 @@
                ${SORT} -r >> ${TMPPLIST}
 .endif
 .if !defined(NOTOOLS)
-       @${FIND} ${DATADIR} ! -type d | ${SED} -e \
+       @${FIND} ${EXAMPLESDIR} ! -type d | ${SED} -e \
                's,^${PREFIX}/,,' >> ${TMPPLIST}
-       @${FIND} ${DATADIR} -type d | ${SED} -e \
+       @${FIND} ${EXAMPLESDIR} -type d | ${SED} -e \
                's,^${PREFIX}/,@dirrm ,' | \
                ${SORT} -r >> ${TMPPLIST}
 .endif
Comment 1 Rong-En Fan freebsd_committer freebsd_triage 2006-08-17 08:17:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rafan

Eat.
Comment 2 Rong-En Fan freebsd_committer freebsd_triage 2006-08-17 20:09:47 UTC
State Changed
From-To: open->closed

Committed. Thanks!