Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2014 07:50:27 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350062 - head/databases/dalmp
Message-ID:  <201404040750.s347oRcP058320@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Apr  4 07:50:26 2014
New Revision: 350062
URL: http://svnweb.freebsd.org/changeset/ports/350062
QAT: https://qat.redports.org/buildarchive/r350062/

Log:
  - Support staging
  - Correct LICENSE definition
  - Specify LICENSE_FILE
  - Convert USE_BZIP2=yes to USES=tar:bzip2
  - Use DEFAULT_VERSIONS instead of DEFAULT_PHP_VER
  - Use COPYTREE_SHARE istead of CP

Modified:
  head/databases/dalmp/Makefile

Modified: head/databases/dalmp/Makefile
==============================================================================
--- head/databases/dalmp/Makefile	Fri Apr  4 07:40:14 2014	(r350061)
+++ head/databases/dalmp/Makefile	Fri Apr  4 07:50:26 2014	(r350062)
@@ -9,18 +9,18 @@ MASTER_SITES=	GOOGLE_CODE
 MAINTAINER=	nbari@dalmp.com
 COMMENT=	Database Abstraction Layer for MySQL using PHP
 
-LICENSE=	BSD
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USE_BZIP2=	YES
+USES=		tar:bzip2
 
-DEFAULT_PHP_VER=5
+DEFAULT_VERSIONS=php=5
 
-NO_BUILD=	YES
+NO_BUILD=	yes
 USE_PHP=	pcre mysql mysqli session memcache sqlite3 curl
 
-NO_STAGE=	yes
 do-install:
-	@${MKDIR} ${DATADIR}
-	@${CP} -R ${WRKSRC}/ ${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
 
 .include <bsd.port.mk>



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