mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- Stage
- Add LICENSE PR: ports/188647 Submitted by: Bartek Rutkowski <ports@robakdesign.com> Approved by: portmgr@
This commit is contained in:
parent
2f1484fd4d
commit
5ac1c9aa8f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353385
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user