Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2014 03:30:04 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353385 - head/databases/pydbdesigner
Message-ID:  <201405090330.s493U47A089812@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Fri May  9 03:30:04 2014
New Revision: 353385
URL: http://svnweb.freebsd.org/changeset/ports/353385
QAT: https://qat.redports.org/buildarchive/r353385/

Log:
  - Stage
  - Add LICENSE
  
  PR:		ports/188647
  Submitted by:	Bartek Rutkowski <ports@robakdesign.com>
  Approved by:	portmgr@

Modified:
  head/databases/pydbdesigner/Makefile

Modified: head/databases/pydbdesigner/Makefile
==============================================================================
--- head/databases/pydbdesigner/Makefile	Fri May  9 03:26:49 2014	(r353384)
+++ head/databases/pydbdesigner/Makefile	Fri May  9 03:30:04 2014	(r353385)
@@ -10,6 +10,8 @@ MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 MAINTAINER=	xride@FreeBSD.org
 COMMENT=	Graphical designer for relational databases
 
+LICENSE=	GPLv2
+
 EXTRACT_AFTER_ARGS=	--exclude CVS
 
 USE_PYTHON=	yes
@@ -22,21 +24,20 @@ NO_BUILD=	yes
 
 MY_SITELIBDIR=		${PYTHON_SITELIBDIR}/${PORTNAME}
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's,/usr/bin/env *python,${PYTHON_CMD},' \
 		${WRKSRC}/main.py
 
 do-install:
-	${MKDIR} ${MY_SITELIBDIR}
+	${MKDIR} ${STAGEDIR}${MY_SITELIBDIR}
 	cd ${WRKSRC};\
 	${FIND} . | cut -c3- \
-		| ${CPIO} -pdmv -R ${LIBOWN}:${LIBGRP} ${MY_SITELIBDIR};\
-	cd ${MY_SITELIBDIR};\
+		| ${CPIO} -pdmv -R ${LIBOWN}:${LIBGRP} ${STAGEDIR}${MY_SITELIBDIR};\
+	cd ${STAGEDIR}${MY_SITELIBDIR};\
 	${FIND} . -type d | cut -c3- | ${XARGS} ${CHMOD} ${BINMODE};\
 	${FIND} . -type f | cut -c3- | ${XARGS} ${CHMOD} ${LIBMODE};\
-	${RM} -f ${PREFIX}/bin/${PORTNAME};\
-	${LN} -s ${MY_SITELIBDIR}/main.py ${PREFIX}/bin/${PORTNAME}
-	${CHMOD} ${BINMODE} ${MY_SITELIBDIR}/main.py
+	${RM} -f ${STAGEDIR}${PREFIX}/bin/${PORTNAME};\
+	${LN} -s ${STAGEDIR}${MY_SITELIBDIR}/main.py ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	${CHMOD} ${BINMODE} ${STAGEDIR}${MY_SITELIBDIR}/main.py
 
 .include <bsd.port.mk>



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