summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/php-libawl/Makefile12
-rw-r--r--devel/php-libawl/distinfo11
-rw-r--r--devel/php-libawl/patches/patch-Makefile15
3 files changed, 29 insertions, 9 deletions
diff --git a/devel/php-libawl/Makefile b/devel/php-libawl/Makefile
index d9012ea533f..18491714ca4 100644
--- a/devel/php-libawl/Makefile
+++ b/devel/php-libawl/Makefile
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.13 2016/06/07 17:55:51 joerg Exp $
+# $NetBSD: Makefile,v 1.14 2017/06/05 16:01:56 taca Exp $
#
DISTNAME= libawl-${LIBAWL_VERSION}
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
-LIBAWL_VERSION= 0.56
CATEGORIES= devel
-MASTER_SITES= -https://gitlab.com/davical-project/awl/repository/archive.tar.gz?ref=r${LIBAWL_VERSION}
+MASTER_SITES= -https://gitlab.com/davical-project/awl/repository/archive.tar.gz?ref=${GITLAB_TAG}
MAINTAINER= jym@NetBSD.org
HOMEPAGE= https://gitlab.com/davical-project/awl
@@ -19,7 +18,12 @@ DEPENDS+= ${PHP_PKG_PREFIX}-gettext-[0-9]*:../../devel/php-gettext
INSTALLATION_DIRS= ${LIBAWLDIR} ${LIBAWLDIR}/inc ${LIBAWLDIR}/dba
-WRKSRC= ${WRKDIR}/awl-r0.56-9abf998ba0179b9995747c7cc1a848b39cff0b3b
+LIBAWL_VERSION= 0.57
+GITLAB_TAG= r${LIBAWL_VERSION}
+GITLAB_REV= 4c75c662e8605ed54ba4b8e65e4c3a8cc773052f
+
+pre-patch:
+ ${MV} ${WRKDIR}/awl-${GITLAB_TAG}-${GITLAB_REV} ${WRKSRC}
do-install:
cd ${WRKSRC}/dba; \
diff --git a/devel/php-libawl/distinfo b/devel/php-libawl/distinfo
index e59d994115b..cfd403b61c0 100644
--- a/devel/php-libawl/distinfo
+++ b/devel/php-libawl/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.10 2016/06/07 17:55:51 joerg Exp $
+$NetBSD: distinfo,v 1.11 2017/06/05 16:01:56 taca Exp $
-SHA1 (libawl-0.56.tar.gz) = 9d88cdd139349e2b2330565c656e7c631adc3d77
-RMD160 (libawl-0.56.tar.gz) = 8f6b2265c7c95242c7fb251b2aa731dc675662d6
-SHA512 (libawl-0.56.tar.gz) = 6336d6f938330eee0b51f04665776269d974086ba56a3c8f4b7f53e7e17b637d899e9b329aeba3dcd690673a1a95a8cf03ae8417ebb9f356294314790915886a
-Size (libawl-0.56.tar.gz) = 769208 bytes
+SHA1 (libawl-0.57.tar.gz) = 3895707944695644255bd7070e8755ca4435ab2a
+RMD160 (libawl-0.57.tar.gz) = dd659c3fe36919089da1cbb3f8cb4986b04c1a66
+SHA512 (libawl-0.57.tar.gz) = 0000a6ebb8d60c064f4083d2bc0c8d4f3f80fa69e422cab831192a8973749b0a88b2656a02f7d288a6fb7c7381e75b6d7886f4d15e335e886c28e98c277bc504
+Size (libawl-0.57.tar.gz) = 573804 bytes
+SHA1 (patch-Makefile) = d56f95c5731321f87baec22bad0b1a830ea9bdef
diff --git a/devel/php-libawl/patches/patch-Makefile b/devel/php-libawl/patches/patch-Makefile
new file mode 100644
index 00000000000..598a857c701
--- /dev/null
+++ b/devel/php-libawl/patches/patch-Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2017/06/05 16:01:56 taca Exp $
+
+Do not try to build doc.
+
+--- Makefile.orig 2017-01-23 22:12:05.000000000 +0000
++++ Makefile
+@@ -10,7 +10,7 @@ snapshot : gitrev = $(shell git rev-pars
+ snapshot : version = $(majorversion)-git$(gitrev)
+ snapshot : issnapshot = 1
+
+-all: built-docs inc/AWLUtilities.php
++all: inc/AWLUtilities.php
+
+ built-docs: docs/phpdoc.ini inc/*.php
+ apigen generate --title=AWL --todo --tree --deprecated -s inc -d docs/api || phpdoc -c docs/phpdoc.ini || echo "WARNING: the docs could not be built"