Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2019 04:42:16 +0000 (UTC)
From:      =?UTF-8?Q?Alexandre_C=2e_Guimar=c3=a3es?= <rigoletto@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r498691 - in head: devel/php-libawl www/davical
Message-ID:  <201904120442.x3C4gGCf067757@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rigoletto
Date: Fri Apr 12 04:42:16 2019
New Revision: 498691
URL: https://svnweb.freebsd.org/changeset/ports/498691

Log:
  devel/php-libawl: Update to 0.60 and flavorize it.
  
  - take maintainership (three time-outs)
  - modify www/davical due to flavorized linawl
  - flavorize www/davical
  
  PR:		236649
  Reported by:	rearnsha <rwe@eyrie.plus.com>
  Reviewed by:	mat
  Approved by:	tcberner
  Differential Revision:	https://reviews.freebsd.org/D19653

Added:
  head/devel/php-libawl/pkg-message   (contents, props changed)
Modified:
  head/devel/php-libawl/Makefile
  head/devel/php-libawl/distinfo
  head/devel/php-libawl/pkg-plist
  head/www/davical/Makefile

Modified: head/devel/php-libawl/Makefile
==============================================================================
--- head/devel/php-libawl/Makefile	Fri Apr 12 03:21:56 2019	(r498690)
+++ head/devel/php-libawl/Makefile	Fri Apr 12 04:42:16 2019	(r498691)
@@ -1,44 +1,39 @@
 # Created by: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
 # $FreeBSD$
 
-PORTNAME=	php-libawl
-PORTVERSION=	0.57
+PORTNAME=	libawl
 DISTVERSIONPREFIX=	r
+DISTVERSION=	0.60
 CATEGORIES=	devel
-MASTER_SITES=	https://gitlab.com/davical-project/awl/repository/archive.tar.gz?ref=${DISTVERSIONPREFIX}${PORTVERSION}&dummy=/
-DISTNAME=	awl-${DISTVERSIONPREFIX}${PORTVERSION}
+PKGNAMEPREFIX=	${PHP_PKGNAMEPREFIX}
 
-MAINTAINER=	cristianorolim@outlook.com
+MAINTAINER=	rigoletto@FreeBSD.org
 COMMENT=	Andrew.s Web Libraries - PHP Utility Libraries
 
 LICENSE=	GPLv2 LGPL21
 LICENSE_COMB=	multi
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-OPTIONS_DEFINE=	PHP
-OPTIONS_DEFAULT=	PHP
+USES=		php:build,flavors
 
-.include <bsd.port.options.mk>
+USE_GITLAB=	yes
+GL_ACCOUNT=	davical-project
+GL_PROJECT=	awl
+GL_COMMIT=	3efb13de38ea4c1cc298f206199848467af18456
 
-.if ${PORT_OPTIONS:MPHP}
-USE_PHP=	YES
-.endif
-NO_BUILD=	YES
+NO_ARCH=	yes
+NO_BUILD=	yes
+
 LIBAWLDIR?=	share/awl
-PLIST_SUB+=	LIBAWLDIR=${LIBAWLDIR}
 
-pre-everything::
-	@${ECHO_CMD} "# you can customize the installation directory"
-	@${ECHO_CMD} "# by setting LIBAWLDIR in /etc/make.conf"
-
-post-extract:
-	@${MV} ${WRKDIR}/${DISTNAME}-* ${WRKSRC}
-
 post-patch:
 	${RM} ${WRKSRC}/inc/*.orig
 
 do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/${LIBAWLDIR}
-	cd ${WRKSRC} && ${CP} -pR dba inc ${STAGEDIR}${PREFIX}/${LIBAWLDIR}/
+.for d in dba inc
+	cd ${WRKSRC} && \
+		${COPYTREE_SHARE} ${d} ${STAGEDIR}${PREFIX}/${LIBAWLDIR}/
+.endfor
 
 .include <bsd.port.mk>

Modified: head/devel/php-libawl/distinfo
==============================================================================
--- head/devel/php-libawl/distinfo	Fri Apr 12 03:21:56 2019	(r498690)
+++ head/devel/php-libawl/distinfo	Fri Apr 12 04:42:16 2019	(r498691)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1485808005
-SHA256 (awl-r0.57.tar.gz) = 26b504afd4151cbe6af47c219b206c6493323d0ae9060cc6abf615a06a5f3cbc
-SIZE (awl-r0.57.tar.gz) = 573804
+TIMESTAMP = 1553039279
+SHA256 (davical-project-awl-3efb13de38ea4c1cc298f206199848467af18456_GL0.tar.gz) = 3d84b0e3196c54d2f1b99df5a344fe4feaa2a4ba408f3c3a10281dc4d0138272
+SIZE (davical-project-awl-3efb13de38ea4c1cc298f206199848467af18456_GL0.tar.gz) = 600960

Added: head/devel/php-libawl/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/php-libawl/pkg-message	Fri Apr 12 04:42:16 2019	(r498691)
@@ -0,0 +1,7 @@
+
+#########################################################
+
+     you can customize the installation directory"
+     by setting LIBAWLDIR in /etc/make.conf"
+
+#########################################################

Modified: head/devel/php-libawl/pkg-plist
==============================================================================
--- head/devel/php-libawl/pkg-plist	Fri Apr 12 03:21:56 2019	(r498690)
+++ head/devel/php-libawl/pkg-plist	Fri Apr 12 04:42:16 2019	(r498691)
@@ -1,32 +1,32 @@
-%%LIBAWLDIR%%/dba/awl-tables.sql
-%%LIBAWLDIR%%/dba/grant-minimum-permissions.sh
-%%LIBAWLDIR%%/dba/grant-on-all-tables.sh
-%%LIBAWLDIR%%/dba/schema-management.sql
-%%LIBAWLDIR%%/inc/AWLUtilities.php
-%%LIBAWLDIR%%/inc/AWLUtilities.php.in
-%%LIBAWLDIR%%/inc/AuthPlugin.php
-%%LIBAWLDIR%%/inc/AuthPlugins.php
-%%LIBAWLDIR%%/inc/AwlCache.php
-%%LIBAWLDIR%%/inc/AwlDBDialect.php
-%%LIBAWLDIR%%/inc/AwlDatabase.php
-%%LIBAWLDIR%%/inc/AwlQuery.php
-%%LIBAWLDIR%%/inc/AwlUpgrader.php
-%%LIBAWLDIR%%/inc/DataEntry.php
-%%LIBAWLDIR%%/inc/DataUpdate.php
-%%LIBAWLDIR%%/inc/EMail.php
-%%LIBAWLDIR%%/inc/MenuSet.php
-%%LIBAWLDIR%%/inc/Multipart.php
-%%LIBAWLDIR%%/inc/PgQuery.php
-%%LIBAWLDIR%%/inc/Session.php
-%%LIBAWLDIR%%/inc/Translation.php
-%%LIBAWLDIR%%/inc/User.php
-%%LIBAWLDIR%%/inc/Validation.php
-%%LIBAWLDIR%%/inc/XMLDocument.php
-%%LIBAWLDIR%%/inc/XMLElement.php
-%%LIBAWLDIR%%/inc/classBrowser.php
-%%LIBAWLDIR%%/inc/classEditor.php
-%%LIBAWLDIR%%/inc/iCalendar.php
-%%LIBAWLDIR%%/inc/vCalendar.php
-%%LIBAWLDIR%%/inc/vComponent.php
-%%LIBAWLDIR%%/inc/vObject.php
-%%LIBAWLDIR%%/inc/vProperty.php
+share/awl/dba/awl-tables.sql
+share/awl/dba/grant-minimum-permissions.sh
+share/awl/dba/grant-on-all-tables.sh
+share/awl/dba/schema-management.sql
+share/awl/inc/AWLUtilities.php
+share/awl/inc/AWLUtilities.php.in
+share/awl/inc/AuthPlugin.php
+share/awl/inc/AuthPlugins.php
+share/awl/inc/AwlCache.php
+share/awl/inc/AwlDBDialect.php
+share/awl/inc/AwlDatabase.php
+share/awl/inc/AwlQuery.php
+share/awl/inc/AwlUpgrader.php
+share/awl/inc/DataEntry.php
+share/awl/inc/DataUpdate.php
+share/awl/inc/EMail.php
+share/awl/inc/MenuSet.php
+share/awl/inc/Multipart.php
+share/awl/inc/PgQuery.php
+share/awl/inc/Session.php
+share/awl/inc/Translation.php
+share/awl/inc/User.php
+share/awl/inc/Validation.php
+share/awl/inc/XMLDocument.php
+share/awl/inc/XMLElement.php
+share/awl/inc/classBrowser.php
+share/awl/inc/classEditor.php
+share/awl/inc/iCalendar.php
+share/awl/inc/vCalendar.php
+share/awl/inc/vComponent.php
+share/awl/inc/vObject.php
+share/awl/inc/vProperty.php

Modified: head/www/davical/Makefile
==============================================================================
--- head/www/davical/Makefile	Fri Apr 12 03:21:56 2019	(r498690)
+++ head/www/davical/Makefile	Fri Apr 12 04:42:16 2019	(r498691)
@@ -4,7 +4,9 @@
 PORTNAME=	davical
 DISTVERSIONPREFIX=	r
 DISTVERSION=	1.1.8
+PORTREVISION=	1
 CATEGORIES?=	www
+PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
 MAINTAINER=	rigoletto@FreeBSD.org
 COMMENT=	Simple CalDAV server using a postgres backend
@@ -13,24 +15,30 @@ LICENSE=	GPLv2 LGPL21
 LICENSE_COMB=	multi
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-RUN_DEPENDS=	p5-DBD-Pg>=0:databases/p5-DBD-Pg \
+RUN_DEPENDS=	${PHP_PKGNAMEPREFIX}libawl>=0.60:devel/php-libawl@${PHP_FLAVOR} \
+		p5-DBD-Pg>=0:databases/p5-DBD-Pg \
 		p5-DBI>=0:databases/p5-DBI \
 		p5-YAML>=0:textproc/p5-YAML \
-		php-libawl>=0.54:devel/php-libawl \
 		pwgen:sysutils/pwgen
 
-USES=		pgsql php shebangfix
+USES=		pgsql php:flavors shebangfix
+
 USE_GITLAB=	yes
 GL_ACCOUNT=	davical-project
 GL_COMMIT=	4af9595f4d0530268ac1289ba4ab2adb4890802e
-USE_PHP=	calendar curl gettext iconv pcre pdo pdo_pgsql pgsql xml
-SHEBANG_FILES=	scripts/sync-remote-caldav.php
-SUB_FILES=	pkg-message httpd-davical.conf
-PORTDOCS=	README INSTALL davical_en_user_guide.odt phpdoc.ini \
-		translation.rst
-PORTEXAMPLES=	config
+
+USE_PHP=	calendar curl gettext iconv pcre pdo \
+		pdo_pgsql pgsql xml
+
 NO_ARCH=	yes
 NO_BUILD=	yes
+
+PORTDOCS=	README INSTALL davical_en_user_guide.odt \
+		phpdoc.ini translation.rst
+PORTEXAMPLES=	config
+
+SHEBANG_FILES=	scripts/sync-remote-caldav.php
+SUB_FILES=	pkg-message httpd-davical.conf
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 



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