aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2006-10-14 17:06:29 +0800
committerahze <ahze@FreeBSD.org>2006-10-14 17:06:29 +0800
commit56c1857ff94b728a418cdcc5dd55d00351db22f5 (patch)
treea5fae08c75dea0eb5d955d1dbd96c0463e81db1d /devel
parentc90e1e921cebfa083601a73745baeeb095f3bcef (diff)
downloadfreebsd-ports-graphics-56c1857ff94b728a418cdcc5dd55d00351db22f5.tar.gz
freebsd-ports-graphics-56c1857ff94b728a418cdcc5dd55d00351db22f5.tar.zst
freebsd-ports-graphics-56c1857ff94b728a418cdcc5dd55d00351db22f5.zip
- Add py-libgsf
Python wrapper for libgsf Approved by: portmgr (marcus, kris)
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-libgsf/Makefile30
-rw-r--r--devel/py-libgsf/pkg-plist10
3 files changed, 41 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 2012152b039..8e4fc437d94 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1693,6 +1693,7 @@
SUBDIR += py-kjbuckets
SUBDIR += py-kqueue
SUBDIR += py-levenshtein
+ SUBDIR += py-libgsf
SUBDIR += py-ll-core
SUBDIR += py-log4py
SUBDIR += py-logging
diff --git a/devel/py-libgsf/Makefile b/devel/py-libgsf/Makefile
new file mode 100644
index 00000000000..33106fe8525
--- /dev/null
+++ b/devel/py-libgsf/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: py-libgsf
+# Date created: Oct 3, 2006
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/devel/py-libgsf/Makefile,v 1.1 2006/10/04 00:34:55 ahze Exp $
+
+CATEGORIES= devel gnome python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Python wrapper for libgsf
+
+BUILD_WRKSRC= ${WRKSRC}/python
+INSTALL_WRKSRC= ${BUILD_WRKSRC}
+
+MASTERDIR= ${.CURDIR}/../libgsf
+PLIST= ${.CURDIR}/pkg-plist
+
+USE_GNOME= gnomehack libgsf_gnome gnomevfs2 ltverhack intlhack pygtk2
+USE_PYTHON= yes
+CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc/gsf \
+ --disable-gtk-doc --with-bz2 --with-gnome --with-python
+CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
+ LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS=
+GSF_SLAVE= yes
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/py-libgsf/pkg-plist b/devel/py-libgsf/pkg-plist
new file mode 100644
index 00000000000..6bbb1900dc5
--- /dev/null
+++ b/devel/py-libgsf/pkg-plist
@@ -0,0 +1,10 @@
+%%PYTHON_SITELIBDIR%%/gsf/__init__.py
+%%PYTHON_SITELIBDIR%%/gsf/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gsf/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gsf/_gsfmodule.a
+%%PYTHON_SITELIBDIR%%/gsf/_gsfmodule.la
+%%PYTHON_SITELIBDIR%%/gsf/_gsfmodule.so
+%%PYTHON_SITELIBDIR%%/gsf/gnomemodule.a
+%%PYTHON_SITELIBDIR%%/gsf/gnomemodule.la
+%%PYTHON_SITELIBDIR%%/gsf/gnomemodule.so
+@dirrm %%PYTHON_SITELIBDIR%%/gsf