diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2005-01-17 03:10:52 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2005-01-17 03:10:52 +0000 |
commit | fbfa025a9f7868ebb97703150a47633a9f4a1f5c (patch) | |
tree | 6926956a9b518acaa03e54978e18261c6c3aafab /cad/pythoncad/Makefile | |
parent | a1df6f5954290a3d7b411442b6b2d23dd261977d (diff) | |
download | ports-fbfa025a9f7868ebb97703150a47633a9f4a1f5c.tar.gz ports-fbfa025a9f7868ebb97703150a47633a9f4a1f5c.zip |
Notes
Diffstat (limited to 'cad/pythoncad/Makefile')
-rw-r--r-- | cad/pythoncad/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/cad/pythoncad/Makefile b/cad/pythoncad/Makefile index b0d08436078a..4aca4b3d154d 100644 --- a/cad/pythoncad/Makefile +++ b/cad/pythoncad/Makefile @@ -7,8 +7,8 @@ # PORTNAME= pythoncad -PORTVERSION= 16 -PORTREVISION= 1 +PORTVERSION= 21 +PORTREVISION= 0 CATEGORIES= cad MASTER_SITES= http://www.pythoncad.org/releases/ DISTNAME= PythonCAD-DS1-R${PORTVERSION} @@ -22,7 +22,13 @@ USE_PYTHON= 2.2+ USE_PYDISTUTILS= yes USE_BZIP2= yes +PLIST_FILES= bin/gtkpycad + post-install: - ${INSTALL_SCRIPT} ${WRKSRC}/gtkpycad.py ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/gtkpycad.py ${PREFIX}/bin/gtkpycad + @${FIND} ${PYTHON_SITELIBDIR}/PythonCAD* ! -type d | \ + ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} + @${FIND} ${PYTHON_SITELIBDIR}/PythonCAD* -type d | ${SORT} -r | \ + ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} .include <bsd.port.mk> |