2008-05-26 12:29:26 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2008/05/26 16:29:27 ajacoutot Exp $
|
2004-10-10 20:51:34 -04:00
|
|
|
|
2007-09-15 20:17:04 -04:00
|
|
|
COMMENT= mail notification for freedesktop.org-compliant system trays
|
2007-05-20 09:22:31 -04:00
|
|
|
DISTNAME= mail-notification-4.0
|
2008-05-26 12:29:26 -04:00
|
|
|
PKGNAME= ${DISTNAME}p3
|
2004-10-10 20:51:34 -04:00
|
|
|
CATEGORIES= mail
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.nongnu.org/mailnotify/
|
|
|
|
|
|
|
|
MAINTAINER= Thomas Delaet <thomas@delaet.org>
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-05-20 09:22:31 -04:00
|
|
|
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcursor Xdmcp \
|
2007-11-14 04:43:39 -05:00
|
|
|
Xcomposite Xdamage pcre \
|
2007-05-20 09:22:31 -04:00
|
|
|
Xext Xfixes Xi Xinerama Xrandr Xrender art_lgpl_2 atk-1.0 \
|
|
|
|
audiofile bonobo-2 bonobo-activation bonoboui-2 c cairo \
|
|
|
|
crypto dbus-1 dbus-glib-1 esd expat fam fontconfig \
|
|
|
|
freetype gailutil gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 \
|
|
|
|
glade-2.0 glib-2.0 glitz gmodule-2.0 gnome-2 gnome-desktop-2 \
|
|
|
|
gnome-keyring gnome-menu gnomecanvas-2 gnomeui-2 gnomevfs-2 \
|
|
|
|
gobject-2.0 gthread-2.0 gtk-x11-2.0 jpeg m pango-1.0 \
|
|
|
|
pangocairo-1.0 pangoft2-1.0 png popt pthread rpcsvc \
|
|
|
|
ssl startup-notification-1 stdc++ util xml2 z
|
2004-10-10 20:51:34 -04:00
|
|
|
|
|
|
|
MASTER_SITES= http://savannah.nongnu.org/download/mailnotify/
|
|
|
|
|
2005-03-05 15:47:05 -05:00
|
|
|
MODULES= devel/gettext
|
2007-05-20 09:22:31 -04:00
|
|
|
BUILD_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper \
|
2004-10-10 20:51:34 -04:00
|
|
|
:p5-XML-Parser-*:textproc/p5-XML-Parser
|
2007-05-20 09:22:31 -04:00
|
|
|
RUN_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper \
|
2007-12-15 16:13:00 -05:00
|
|
|
:gnome-icon-theme-*:x11/gnome/icon-theme \
|
2008-05-26 12:29:26 -04:00
|
|
|
:desktop-file-utils-*:devel/desktop-file-utils \
|
|
|
|
:yelp-*:x11/gnome/yelp
|
2007-05-20 09:22:31 -04:00
|
|
|
LIB_DEPENDS= notify::devel/libnotify \
|
|
|
|
eel-2::x11/gnome/eel
|
|
|
|
|
2006-11-13 06:20:24 -05:00
|
|
|
USE_X11= Yes
|
2004-10-10 20:51:34 -04:00
|
|
|
USE_GMAKE= Yes
|
2007-05-20 09:22:31 -04:00
|
|
|
|
2004-10-10 20:51:34 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2007-05-20 09:22:31 -04:00
|
|
|
CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/mail-notification \
|
|
|
|
--disable-schemas-install \
|
2007-05-20 09:24:09 -04:00
|
|
|
--disable-evolution
|
2007-05-20 09:22:31 -04:00
|
|
|
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2004-10-10 20:51:34 -04:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mail-notification
|
2007-05-20 09:22:31 -04:00
|
|
|
mv ${WRKINST}${SYSCONFDIR}/* ${PREFIX}/share/examples/mail-notification
|
2004-10-10 20:51:34 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
2007-05-20 09:22:31 -04:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir="${SYSCONFDIR}/gnome"
|