2013-04-29 10:57:12 +02:00
|
|
|
# Created by: Alan Eldridge <alane@geeksrus.net>
|
2003-01-02 13:42:09 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pydbdesigner
|
2006-04-19 17:38:58 +02:00
|
|
|
PORTVERSION= 0.1.4.1
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 4
|
2003-01-02 13:42:09 +01:00
|
|
|
CATEGORIES= databases
|
2009-08-22 02:18:43 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2003-01-02 13:42:09 +01:00
|
|
|
|
2006-09-30 00:01:22 +02:00
|
|
|
MAINTAINER= xride@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= Graphical designer for relational databases
|
2003-01-02 13:42:09 +01:00
|
|
|
|
2013-04-29 10:57:12 +02:00
|
|
|
EXTRACT_AFTER_ARGS= --exclude CVS
|
2003-01-02 13:42:09 +01:00
|
|
|
|
2006-04-19 17:38:58 +02:00
|
|
|
USE_PYTHON= 2.2+
|
2006-12-01 08:39:02 +01:00
|
|
|
USE_WX= 2.4
|
|
|
|
WX_COMPS= python
|
2006-04-19 17:38:58 +02:00
|
|
|
REINPLACE_ARGS= -i ""
|
|
|
|
WRKSRC= ${WRKDIR}/PyDBDesigner
|
2003-01-02 13:42:09 +01:00
|
|
|
|
2006-04-19 17:38:58 +02:00
|
|
|
NO_BUILD= yes
|
2003-01-02 13:42:09 +01:00
|
|
|
|
2006-04-19 17:38:58 +02:00
|
|
|
MY_SITELIBDIR= ${PYTHON_SITELIBDIR}/${PORTNAME}
|
2003-01-02 13:42:09 +01:00
|
|
|
|
2013-09-20 18:13:47 +02:00
|
|
|
NO_STAGE= yes
|
2003-01-02 13:42:09 +01:00
|
|
|
post-patch:
|
2006-04-19 17:38:58 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,/usr/bin/env *python,${PYTHON_CMD},' \
|
|
|
|
${WRKSRC}/main.py
|
2003-01-02 13:42:09 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${MY_SITELIBDIR}
|
|
|
|
cd ${WRKSRC};\
|
|
|
|
${FIND} . | cut -c3- \
|
|
|
|
| ${CPIO} -pdmv -R ${LIBOWN}:${LIBGRP} ${MY_SITELIBDIR};\
|
|
|
|
cd ${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
|
|
|
|
|
2006-04-19 17:38:58 +02:00
|
|
|
.include <bsd.port.mk>
|