aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2014-04-26 21:01:23 +0000
committerSteve Wills <swills@FreeBSD.org>2014-04-26 21:01:23 +0000
commit3b5bf7c92981bd859c62077bd44f9c8058e605ce (patch)
tree75802302696fde5edf1ced8461a9b5140f5c9944 /cad
parentdd9460aeb5cdb5067ea45258ff2abfe718b668bc (diff)
downloadports-3b5bf7c92981bd859c62077bd44f9c8058e605ce.tar.gz
ports-3b5bf7c92981bd859c62077bd44f9c8058e605ce.zip
- Stage
- Pet portlint PR: ports/188821 Submitted by: Bartek Rutkowski <ports@robakdesign.com> Approved by: portmgr@ (blanket)
Notes
Notes: svn path=/head/; revision=352373
Diffstat (limited to 'cad')
-rw-r--r--cad/pythoncad/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/cad/pythoncad/Makefile b/cad/pythoncad/Makefile
index d59a34a644f8..c39a3d28000c 100644
--- a/cad/pythoncad/Makefile
+++ b/cad/pythoncad/Makefile
@@ -9,28 +9,27 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/R${PORTVERSION}%20PyGtk/Source
DISTNAME= PythonCAD-DS1-R${PORTVERSION}
MAINTAINER= fbsd-ports@xbsd.net
-COMMENT= An open-source CAD package built designed around Python
-
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2
+COMMENT= Open-source CAD package built designed around Python
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2
+
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= PythonCAD
PYDISTUTILS_PKGVERSION= DS1-R${PORTVERSION}
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
${WRKSRC}/PythonCAD/Generic/preferences.py \
${WRKSRC}/PythonCAD/Interface/Gtk/gtkimage.py
post-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/gtkpycad.py ${PREFIX}/bin/gtkpycad
- ${INSTALL_DATA} ${WRKSRC}/gtkpycad.png ${PREFIX}/share/pixmaps
- ${MKDIR} ${PREFIX}/etc/pythoncad
- ${INSTALL_DATA} ${WRKSRC}/prefs.py ${PREFIX}/etc/pythoncad/prefs.py.sample
+ ${INSTALL_SCRIPT} ${WRKSRC}/gtkpycad.py ${STAGEDIR}${PREFIX}/bin/gtkpycad
+ ${INSTALL_DATA} ${WRKSRC}/gtkpycad.png ${STAGEDIR}${PREFIX}/share/pixmaps
+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/pythoncad
+ ${INSTALL_DATA} ${WRKSRC}/prefs.py ${STAGEDIR}${PREFIX}/etc/pythoncad/prefs.py.sample
.include <bsd.port.mk>