diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-04 08:34:55 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-04 08:34:55 +0800 |
commit | 9bdf52ddd0927fb07ad143bf1cbaf49fb8b515e1 (patch) | |
tree | c346aa6fd58626ec076f7d5d1ff176b74066cada | |
parent | a5624b69a5f3a2f525c6036dbfb27baf2dcf507a (diff) | |
download | marcuscom-ports-9bdf52ddd0927fb07ad143bf1cbaf49fb8b515e1.tar marcuscom-ports-9bdf52ddd0927fb07ad143bf1cbaf49fb8b515e1.tar.gz marcuscom-ports-9bdf52ddd0927fb07ad143bf1cbaf49fb8b515e1.tar.bz2 marcuscom-ports-9bdf52ddd0927fb07ad143bf1cbaf49fb8b515e1.tar.lz marcuscom-ports-9bdf52ddd0927fb07ad143bf1cbaf49fb8b515e1.tar.xz marcuscom-ports-9bdf52ddd0927fb07ad143bf1cbaf49fb8b515e1.tar.zst marcuscom-ports-9bdf52ddd0927fb07ad143bf1cbaf49fb8b515e1.zip |
- Add py-libgsf, slave port to libgsf
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7536 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | devel/libgsf/files/patch-gsf-python-Makefile.in | 39 | ||||
-rw-r--r-- | devel/py-libgsf/Makefile | 30 | ||||
-rw-r--r-- | devel/py-libgsf/pkg-plist | 10 |
3 files changed, 79 insertions, 0 deletions
diff --git a/devel/libgsf/files/patch-gsf-python-Makefile.in b/devel/libgsf/files/patch-gsf-python-Makefile.in new file mode 100644 index 000000000..007dc120b --- /dev/null +++ b/devel/libgsf/files/patch-gsf-python-Makefile.in @@ -0,0 +1,39 @@ +--- python/Makefile.in.orig Tue Oct 3 20:31:15 2006 ++++ python/Makefile.in Tue Oct 3 20:32:17 2006 +@@ -59,15 +59,13 @@ + pygsfexecLTLIBRARIES_INSTALL = $(INSTALL) + LTLIBRARIES = $(pygsfexec_LTLIBRARIES) + am__DEPENDENCIES_1 = +-_gsfmodule_la_DEPENDENCIES = $(top_builddir)/gsf/libgsf-1.la \ +- $(am__DEPENDENCIES_1) ++_gsfmodule_la_DEPENDENCIES = $(am__DEPENDENCIES_1) + am__gsfmodule_la_OBJECTS = _gsfmodule_la-gsfmodule.lo + nodist__gsfmodule_la_OBJECTS = _gsfmodule_la-gsf.lo + _gsfmodule_la_OBJECTS = $(am__gsfmodule_la_OBJECTS) \ + $(nodist__gsfmodule_la_OBJECTS) + gnomemodule_la_DEPENDENCIES = \ +- $(top_builddir)/gsf-gnome/libgsf-gnome-1.la \ +- $(top_builddir)/gsf/libgsf-1.la $(am__DEPENDENCIES_1) \ ++ $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) + am_gnomemodule_la_OBJECTS = gnomemodule_la-gsfgnomemodule.lo + nodist_gnomemodule_la_OBJECTS = gnomemodule_la-gsfgnome.lo +@@ -312,8 +310,7 @@ + + gnomemodule_la_LDFLAGS = -module -avoid-version -export-symbols-regex initgnome + gnomemodule_la_LIBADD = \ +- $(top_builddir)/gsf-gnome/libgsf-gnome-1.la \ +- $(top_builddir)/gsf/libgsf-1.la \ ++ -lgsf-1 -lgsf-gnome-1 \ + $(LIBGSF_LIBS) $(LIBGSF_GNOME_LIBS) + + gnomemodule_la_SOURCES = gsfgnomemodule.c +@@ -323,7 +320,7 @@ + $(LIBGSF_CFLAGS) + + _gsfmodule_la_LDFLAGS = -module -avoid-version -export-symbols-regex init_gsf +-_gsfmodule_la_LIBADD = $(top_builddir)/gsf/libgsf-1.la $(LIBGSF_LIBS) ++_gsfmodule_la_LIBADD = $(LIBGSF_LIBS) + _gsfmodule_la_SOURCES = gsfmodule.c + nodist__gsfmodule_la_SOURCES = gsf.c + all: all-am diff --git a/devel/py-libgsf/Makefile b/devel/py-libgsf/Makefile new file mode 100644 index 000000000..dbdd247e1 --- /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$ + +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 000000000..6bbb1900d --- /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 |