changes-pkgsrc:

--------------
	o Revision package::
	o SET LICENSE= gnu-gpl-v3
	o remove TEST_TARGET: not neccessary TEST_TARGET
	o actived: vala and mono option in options.mk
	o create PLIST.vala, PLIST.mono and PLIST.python
	o remove: TODO
This commit is contained in:
Kamel Ibn Aziz Derouiche 2009-08-28 11:48:15 +00:00 committed by Thomas Klausner
parent ef822d8ecf
commit 044a56dc56
7 changed files with 20 additions and 16 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2009/05/27 15:25:38 jihbed Exp $
# $NetBSD: Makefile,v 1.3 2009/08/28 11:48:15 jihbed Exp $
#
DISTNAME= rss-glib-0.2.2
@ -8,6 +8,7 @@ MASTER_SITES= http://ftp.dronelabs.com/sources/rss-glib/0.2/
MAINTAINER= kamel.derouiche@gmail.com
HOMEPAGE= http://dronelabs.com/
COMMENT= Rss GLib is a RSS and Atom parser for GObject
LICENSE= gnu-gpl-v3
PKG_DESTDIR_SUPPORT= user-destdir
@ -15,7 +16,6 @@ GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config gmake
TEST_TARGET= test
PKGCONFIG_OVERRIDE+= bindings/mono/rss-glib-sharp-1.0.pc.in
PKGCONFIG_OVERRIDE+= rss-glib.pc.in

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2009/05/27 15:13:54 jihbed Exp $
@comment $NetBSD: PLIST,v 1.2 2009/08/28 11:48:15 jihbed Exp $
include/rss-glib-1.0/rss-glib/rss-document.h
include/rss-glib-1.0/rss-glib/rss-glib.h
include/rss-glib-1.0/rss-glib/rss-item.h
@ -6,7 +6,6 @@ include/rss-glib-1.0/rss-glib/rss-parser.h
include/rss-glib-1.0/rss-glib/rss-version.h
lib/librss-glib-1.0.la
lib/pkgconfig/rss-glib-1.0.pc
${PYSITELIB}/gtk-2.0/rss.la
share/gtk-doc/html/rss-glib/RssDocument.html
share/gtk-doc/html/rss-glib/RssItem.html
share/gtk-doc/html/rss-glib/RssParser.html
@ -21,11 +20,3 @@ share/gtk-doc/html/rss-glib/rss-glib.devhelp
share/gtk-doc/html/rss-glib/rss-glib.devhelp2
share/gtk-doc/html/rss-glib/style.css
share/gtk-doc/html/rss-glib/up.png
share/pygtk/2.0/defs/rss.defs
@dirrm share/pygtk/2.0/defs
@dirrm share/pygtk/2.0
@dirrm share/pygtk
@dirrm share/gtk-doc/html/rss-glib
@dirrm ${PYSITELIB}/gtk-2.0
@dirrm include/rss-glib-1.0/rss-glib
@dirrm include/rss-glib-1.0

7
rss-glib/PLIST.mono Normal file
View file

@ -0,0 +1,7 @@
@comment $NetBSD: PLIST.mono,v 1.1 2009/08/28 11:48:15 jihbed Exp $
lib/mono/gac/rss-glib-sharp/${PKGVERSION}.0__25389429e069c928/rss-glib-sharp.dll
lib/mono/gac/rss-glib-sharp/${PKGVERSION}.0__25389429e069c928/rss-glib-sharp.dll.config
lib/mono/gac/rss-glib-sharp/${PKGVERSION}.0__25389429e069c928/rss-glib-sharp.dll.mdb
lib/mono/rss-glib-sharp-1.0/rss-glib-sharp.dll
lib/mono/rss-glib-sharp-1.0/rss-glib-sharp.dll.mdb
lib/pkgconfig/rss-glib-sharp-1.0.pc

3
rss-glib/PLIST.python Normal file
View file

@ -0,0 +1,3 @@
@comment $NetBSD: PLIST.python,v 1.1 2009/08/28 11:48:15 jihbed Exp $
${PYSITELIB}/gtk-2.0/rss.la
share/pygtk/2.0/defs/rss.defs

2
rss-glib/PLIST.vala Normal file
View file

@ -0,0 +1,2 @@
@comment $NetBSD: PLIST.vala,v 1.1 2009/08/28 11:48:15 jihbed Exp $
share/vala/vapi/rss-glib-1.0.vapi

View file

@ -1,2 +0,0 @@
o Working mono bindings
o Working vala bindings

View file

@ -1,9 +1,9 @@
# $NetBSD: options.mk,v 1.1.1.1 2009/05/27 15:13:54 jihbed Exp $
# $NetBSD: options.mk,v 1.2 2009/08/28 11:48:15 jihbed Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.rss-glib
PKG_SUPPORTED_OPTIONS= python mono vala
PKG_SUGGESTED_OPTIONS= python
PKG_SUGGESTED_OPTIONS= python mono vala
.include "../../mk/bsd.options.mk"
@ -17,6 +17,7 @@ PYTHON_VERSIONS_ACCEPTED= 26 25 24 23 22
PLIST_SUBST+= PYSITELIB=${PYSITELIB}
. include "../../devel/py-gobject/buildlink3.mk"
. include "../../x11/py-gtk2/buildlink3.mk"
PLIST_SRC+= ${PKGDIR}/PLIST.python
.else
CONFIGURE_ARGS+= --disable-python
.endif
@ -28,6 +29,7 @@ CONFIGURE_ARGS+= --disable-python
. include "../../lang/mono/buildlink3.mk"
. include "../../x11/gtk-sharp/buildlink3.mk"
CONFIGURE_ARGS+= --enable-mono=yes
PLIST_SRC+= ${PKGDIR}/PLIST.mono
.else
CONFIGURE_ARGS+= --disable-mono
.endif
@ -38,6 +40,7 @@ CONFIGURE_ARGS+= --disable-mono
.if !empty(PKG_OPTIONS:Mvala)
. include "../../lang/vala/buildlink3.mk"
CONFIGURE_ARGS+= --enable-vala=yes
PLIST_SRC+= ${PKGDIR}/PLIST.vala
.else
CONFIGURE_ARGS+= --disable-vala
.endif