diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-05-09 11:30:04 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-05-09 11:30:04 +0800 |
commit | 10e521c5279a39be3b62a02905ccd8ce69bcd6bd (patch) | |
tree | 3be6e18597bb1b116a68e9c613f599c9fae57e80 /databases/pydbdesigner | |
parent | abe026b604420b93c8ef257f6a8ffe232c6b0301 (diff) | |
download | freebsd-ports-gnome-10e521c5279a39be3b62a02905ccd8ce69bcd6bd.tar.gz freebsd-ports-gnome-10e521c5279a39be3b62a02905ccd8ce69bcd6bd.tar.zst freebsd-ports-gnome-10e521c5279a39be3b62a02905ccd8ce69bcd6bd.zip |
- Stage
- Add LICENSE
PR: ports/188647
Submitted by: Bartek Rutkowski <ports@robakdesign.com>
Approved by: portmgr@
Diffstat (limited to 'databases/pydbdesigner')
-rw-r--r-- | databases/pydbdesigner/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/databases/pydbdesigner/Makefile b/databases/pydbdesigner/Makefile index 0761439075af..16cedbadd098 100644 --- a/databases/pydbdesigner/Makefile +++ b/databases/pydbdesigner/Makefile @@ -10,6 +10,8 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} 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> |