Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 May 2015 20:41:58 +0000 (UTC)
From:      Bartek Rutkowski <robak@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r385346 - head/databases/sqlbuddy
Message-ID:  <201505032041.t43Kfw9X007804@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: robak
Date: Sun May  3 20:41:57 2015
New Revision: 385346
URL: https://svnweb.freebsd.org/changeset/ports/385346

Log:
  databases/sqlbuddy: UNBREAK and various fixes
  
  - Fix unfetchable distfile
  - Convert to USE_GITHUB
  - Add LICENSE
  
  PR:		199499
  Submitted by:	Chenguang Li <horus.li@gmail.com> (maintainer)

Modified:
  head/databases/sqlbuddy/Makefile
  head/databases/sqlbuddy/distinfo
  head/databases/sqlbuddy/pkg-plist

Modified: head/databases/sqlbuddy/Makefile
==============================================================================
--- head/databases/sqlbuddy/Makefile	Sun May  3 20:33:43 2015	(r385345)
+++ head/databases/sqlbuddy/Makefile	Sun May  3 20:41:57 2015	(r385346)
@@ -3,20 +3,21 @@
 
 PORTNAME=	sqlbuddy
 PORTVERSION=	1.3.3
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	databases www
-MASTER_SITES=	http://www.sqlbuddy.com/download/
-DISTNAME=	${PORTNAME}_1_3_3
 
 MAINTAINER=	horus.li@gmail.com
 COMMENT=	Web based MySQL administration with a set of PHP scripts
 
-BROKEN=		Unfetchable
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		zip
-NO_BUILD=	yes
+USE_GITHUB=	yes
+GH_ACCOUNT=	deliciousbrains
+GH_PROJECT=	${PORTNAME}
+GH_TAGNAME=	b2cdc2b
 
-WRKSRC=		${WRKDIR}/${PORTNAME}
+NO_BUILD=	yes
 
 USE_PHP=	ctype pcre session mysql
 WANT_PHP_WEB=	yes
@@ -37,6 +38,6 @@ do-install:
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} "Installing SQL Buddy under ${WWWDIR}/"
 	@${MKDIR} ${STAGEDIR}${WWWDIR}
-	@cd ${WRKSRC} && ${CP} -R * ${STAGEDIR}${WWWDIR}
+	@cd ${WRKSRC} && ${CP} -R src/* ${STAGEDIR}${WWWDIR} && ${CP} LICENSE README.md ${STAGEDIR}${WWWDIR}
 
 .include <bsd.port.mk>

Modified: head/databases/sqlbuddy/distinfo
==============================================================================
--- head/databases/sqlbuddy/distinfo	Sun May  3 20:33:43 2015	(r385345)
+++ head/databases/sqlbuddy/distinfo	Sun May  3 20:41:57 2015	(r385346)
@@ -1,2 +1,2 @@
-SHA256 (sqlbuddy_1_3_3.zip) = 2fedfef88c9f8bd267e5cb0277d7d805a76805563adf2fbc1e4878f00007857f
-SIZE (sqlbuddy_1_3_3.zip) = 385517
+SHA256 (deliciousbrains-sqlbuddy-1.3.3-b2cdc2b_GH0.tar.gz) = aa5991abd6c5c93560b950483b9efb49c45f7b561798bfe6853bc91e89112ae5
+SIZE (deliciousbrains-sqlbuddy-1.3.3-b2cdc2b_GH0.tar.gz) = 260545

Modified: head/databases/sqlbuddy/pkg-plist
==============================================================================
--- head/databases/sqlbuddy/pkg-plist	Sun May  3 20:33:43 2015	(r385345)
+++ head/databases/sqlbuddy/pkg-plist	Sun May  3 20:41:57 2015	(r385346)
@@ -1,7 +1,7 @@
 @owner %%WWWOWN%%
 @group %%WWWGRP%%
 %%WWWDIR%%/LICENSE
-%%WWWDIR%%/README
+%%WWWDIR%%/README.md
 %%WWWDIR%%/ajaxcreatetable.php
 %%WWWDIR%%/ajaxfulltext.php
 %%WWWDIR%%/ajaximportfile.php



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