svn commit: r350062 - head/databases/dalmp

Emanuel Haupt ehaupt at FreeBSD.org
Fri Apr 4 07:50:27 UTC 2014


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 at 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>


More information about the svn-ports-all mailing list