diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libnotify/Makefile | 32 | ||||
-rw-r--r-- | devel/libnotify/distinfo | 2 | ||||
-rw-r--r-- | devel/libnotify/files/patch-Makefile | 11 | ||||
-rw-r--r-- | devel/libnotify/files/patch-configure | 129 | ||||
-rw-r--r-- | devel/libnotify/pkg-descr | 10 | ||||
-rw-r--r-- | devel/libnotify/pkg-plist | 27 |
6 files changed, 211 insertions, 0 deletions
diff --git a/devel/libnotify/Makefile b/devel/libnotify/Makefile new file mode 100644 index 000000000..3e99d733d --- /dev/null +++ b/devel/libnotify/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: libnotify +# Date created: 2005-08-06 +# Whom: Andreas Kohn <andreas@syndrom23.de> +# +# $FreeBSD$ +# $MCom: ports/devel/libnotify/Makefile,v 1.21 2011/06/11 19:51:15 mezz Exp $ +# + +PORTNAME= libnotify +PORTVERSION= 0.7.4 +CATEGORIES= devel gnome +MASTER_SITES= GNOME + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A library for desktop notifications + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection +RUN_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection + +USE_XZ= yes +USE_GNOME= gnomehack intlhack glib20 gtk20 ltverhack +USE_GETTEXT= yes +USE_GMAKE= yes +USE_LDCONFIG= yes +USE_AUTOTOOLS= libtool +CPPFLAGS= -I${LOCALBASE}/include +CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" + +.include <bsd.port.mk> diff --git a/devel/libnotify/distinfo b/devel/libnotify/distinfo new file mode 100644 index 000000000..e60d7b077 --- /dev/null +++ b/devel/libnotify/distinfo @@ -0,0 +1,2 @@ +SHA256 (libnotify-0.7.4.tar.xz) = e3c58345112672c2cbb05a67512ff6c7028892df7a34746e2162fe76d9877019 +SIZE (libnotify-0.7.4.tar.xz) = 272016 diff --git a/devel/libnotify/files/patch-Makefile b/devel/libnotify/files/patch-Makefile new file mode 100644 index 000000000..8305c3d1a --- /dev/null +++ b/devel/libnotify/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2011-06-07 22:09:51.000000000 +0200 ++++ Makefile.in 2011-06-07 22:10:05.000000000 +0200 +@@ -281,7 +281,7 @@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} +-SUBDIRS = libnotify docs tools tests ++SUBDIRS = libnotify docs tools + pcdata_DATA = libnotify.pc + pcdatadir = $(prefix)/libdata/pkgconfig + EXTRA_DIST = \ diff --git a/devel/libnotify/files/patch-configure b/devel/libnotify/files/patch-configure new file mode 100644 index 000000000..fa512f8de --- /dev/null +++ b/devel/libnotify/files/patch-configure @@ -0,0 +1,129 @@ +--- configure.orig 2011-08-30 23:03:20.000000000 +0200 ++++ configure 2011-08-30 23:03:01.000000000 +0200 +@@ -648,8 +648,6 @@ + INTROSPECTION_COMPILER + INTROSPECTION_SCANNER + GLIB_GENMARSHAL +-TESTS_LIBS +-TESTS_CFLAGS + PACKAGE_LIBS + PACKAGE_CFLAGS + PKG_CONFIG_LIBDIR +@@ -806,8 +804,6 @@ + PKG_CONFIG_LIBDIR + PACKAGE_CFLAGS + PACKAGE_LIBS +-TESTS_CFLAGS +-TESTS_LIBS + GTKDOC_DEPS_CFLAGS + GTKDOC_DEPS_LIBS + XMLTO +@@ -1477,9 +1473,6 @@ + C compiler flags for PACKAGE, overriding pkg-config + PACKAGE_LIBS + linker flags for PACKAGE, overriding pkg-config +- TESTS_CFLAGS +- C compiler flags for TESTS, overriding pkg-config +- TESTS_LIBS linker flags for TESTS, overriding pkg-config + GTKDOC_DEPS_CFLAGS + C compiler flags for GTKDOC_DEPS, overriding pkg-config + GTKDOC_DEPS_LIBS +@@ -11664,98 +11657,6 @@ + + fi + +-tests_modules="gtk+-3.0 >= $REQ_GTK_VERSION" +- +-pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TESTS" >&5 +-$as_echo_n "checking for TESTS... " >&6; } +- +-if test -n "$TESTS_CFLAGS"; then +- pkg_cv_TESTS_CFLAGS="$TESTS_CFLAGS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$tests_modules\""; } >&5 +- ($PKG_CONFIG --exists --print-errors "$tests_modules") 2>&5 +- ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then +- pkg_cv_TESTS_CFLAGS=`$PKG_CONFIG --cflags "$tests_modules" 2>/dev/null` +-else +- pkg_failed=yes +-fi +- else +- pkg_failed=untried +-fi +-if test -n "$TESTS_LIBS"; then +- pkg_cv_TESTS_LIBS="$TESTS_LIBS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$tests_modules\""; } >&5 +- ($PKG_CONFIG --exists --print-errors "$tests_modules") 2>&5 +- ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then +- pkg_cv_TESTS_LIBS=`$PKG_CONFIG --libs "$tests_modules" 2>/dev/null` +-else +- pkg_failed=yes +-fi +- else +- pkg_failed=untried +-fi +- +- +- +-if test $pkg_failed = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +- +-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then +- _pkg_short_errors_supported=yes +-else +- _pkg_short_errors_supported=no +-fi +- if test $_pkg_short_errors_supported = yes; then +- TESTS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$tests_modules" 2>&1` +- else +- TESTS_PKG_ERRORS=`$PKG_CONFIG --print-errors "$tests_modules" 2>&1` +- fi +- # Put the nasty error message in config.log where it belongs +- echo "$TESTS_PKG_ERRORS" >&5 +- +- as_fn_error $? "Package requirements ($tests_modules) were not met: +- +-$TESTS_PKG_ERRORS +- +-Consider adjusting the PKG_CONFIG_PATH environment variable if you +-installed software in a non-standard prefix. +- +-Alternatively, you may set the environment variables TESTS_CFLAGS +-and TESTS_LIBS to avoid the need to call pkg-config. +-See the pkg-config man page for more details." "$LINENO" 5 +- +-elif test $pkg_failed = untried; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +-is in your PATH or set the PKG_CONFIG environment variable to the full +-path to pkg-config. +- +-Alternatively, you may set the environment variables TESTS_CFLAGS +-and TESTS_LIBS to avoid the need to call pkg-config. +-See the pkg-config man page for more details. +- +-To get pkg-config, see <http://pkg-config.freedesktop.org/>. +-See \`config.log' for more details" "$LINENO" 5; } +- +-else +- TESTS_CFLAGS=$pkg_cv_TESTS_CFLAGS +- TESTS_LIBS=$pkg_cv_TESTS_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +- +-fi + + GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0` + diff --git a/devel/libnotify/pkg-descr b/devel/libnotify/pkg-descr new file mode 100644 index 000000000..15579caee --- /dev/null +++ b/devel/libnotify/pkg-descr @@ -0,0 +1,10 @@ +The Desktop Notifications framework provides a standard way of doing passive +pop-up notifications on the desktop. These are designed to notify the +user of something without interrupting their work with a dialog box that they +must close. Passive popups can automatically disappear after a short period +of time. + +This port contains the library and a small command line client. +See deskutils/notification-daemon for the daemon. + +WWW: http://www.galago-project.org/specs/notification/index.php diff --git a/devel/libnotify/pkg-plist b/devel/libnotify/pkg-plist new file mode 100644 index 000000000..488d07c4a --- /dev/null +++ b/devel/libnotify/pkg-plist @@ -0,0 +1,27 @@ +bin/notify-send +include/libnotify/notification.h +include/libnotify/notify-enum-types.h +include/libnotify/notify-features.h +include/libnotify/notify.h +lib/girepository-1.0/Notify-0.7.typelib +lib/libnotify.a +lib/libnotify.la +lib/libnotify.so +lib/libnotify.so.4 +libdata/pkgconfig/libnotify.pc +share/gir-1.0/Notify-0.7.gir +share/gtk-doc/html/libnotify/NotifyNotification.html +share/gtk-doc/html/libnotify/ch01.html +share/gtk-doc/html/libnotify/home.png +share/gtk-doc/html/libnotify/index.html +share/gtk-doc/html/libnotify/index.sgml +share/gtk-doc/html/libnotify/left.png +share/gtk-doc/html/libnotify/libnotify-notify.html +share/gtk-doc/html/libnotify/libnotify.devhelp2 +share/gtk-doc/html/libnotify/right.png +share/gtk-doc/html/libnotify/style.css +share/gtk-doc/html/libnotify/up.png +@dirrm share/gtk-doc/html/libnotify +@dirrmtry share/gtk-doc/html +@dirrmtry share/gtk-doc +@dirrm include/libnotify |