aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/py-fox/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-04-18 20:32:41 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-04-18 20:32:41 +0000
commita145ef44b0219b7620d0f07b570303063785944a (patch)
tree9aad7b14367957980e385d82f27524a0df4b285b /x11-toolkits/py-fox/Makefile
parentad76ce6da93fcdd577b52373fa1ef7b039e7c989 (diff)
downloadports-a145ef44b0219b7620d0f07b570303063785944a.tar.gz
ports-a145ef44b0219b7620d0f07b570303063785944a.zip
Notes
Diffstat (limited to 'x11-toolkits/py-fox/Makefile')
-rw-r--r--x11-toolkits/py-fox/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/x11-toolkits/py-fox/Makefile b/x11-toolkits/py-fox/Makefile
new file mode 100644
index 000000000000..e24330e2a769
--- /dev/null
+++ b/x11-toolkits/py-fox/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: py-fox
+# Date created: 5 Apr 2004
+# Whom: Radim Kolar
+#
+# $FreeBSD$
+#
+
+PORTNAME= fox
+PORTVERSION= 1.0.5
+CATEGORIES= x11-toolkits
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= fxpy
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= FXPy-${PORTVERSION}
+
+MAINTAINER= hsn@netmag.cz
+COMMENT= Python interface to FOX Graphics library
+
+LIB_DEPENDS= FOX-1.0:${PORTSDIR}/x11-toolkits/fox
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+USE_XLIB= yes
+
+WRKSRC= ${WRKDIR}/FXPy-${PORTVERSION}
+DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
+EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
+
+do-install:
+ @(cd ${INSTALL_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} install ${PYDISTUTILS_INSTALLARGS})
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.png ${DOCSDIR}
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/*.xml ${EXAMPLESDIR}
+ ${MKDIR} ${EXAMPLESDIR}/icons
+ ${INSTALL_DATA} ${WRKSRC}/examples/icons/*.png ${EXAMPLESDIR}/icons
+.endif
+
+.include <bsd.port.mk>