2008-12-17 13:40:13 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.24 2008/12/17 18:42:31 jasper 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
|
2008-12-02 04:11:15 -05:00
|
|
|
DISTNAME= mail-notification-5.4
|
2008-12-17 13:40:13 -05:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2008-06-14 21:44:16 -04:00
|
|
|
CATEGORIES= mail
|
2004-10-10 20:51:34 -04:00
|
|
|
|
2008-12-02 04:11:15 -05:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2004-10-10 20:51:34 -04:00
|
|
|
HOMEPAGE= http://www.nongnu.org/mailnotify/
|
2008-06-14 21:44:16 -04:00
|
|
|
|
2008-12-02 04:11:15 -05:00
|
|
|
# GPLv3
|
2004-10-10 20:51:34 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2008-06-14 21:44:16 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2008-06-05 11:57:40 -04:00
|
|
|
|
2008-12-02 04:11:15 -05:00
|
|
|
WANTLIB= ICE ORBit-2 SM X11 Xau Xcomposite Xcursor Xdamage \
|
|
|
|
Xdmcp 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 fontconfig freetype gailutil \
|
|
|
|
gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glade-2.0 \
|
|
|
|
glib-2.0 glitz gmodule-2.0 gnome-2 gnome-keyring \
|
|
|
|
gnomecanvas-2 gnomevfs-2 gobject-2.0 gthread-2.0 \
|
|
|
|
gtk-x11-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0 \
|
|
|
|
pixman-1 png popt pthread ssl xml2 z
|
2004-10-10 20:51:34 -04:00
|
|
|
|
2008-06-14 21:44:16 -04:00
|
|
|
MASTER_SITES= http://savannah.nongnu.org/download/mailnotify/
|
2004-10-10 20:51:34 -04:00
|
|
|
|
2008-06-14 21:44:16 -04:00
|
|
|
MODULES= devel/gettext \
|
|
|
|
textproc/intltool
|
2008-06-03 10:56:09 -04:00
|
|
|
|
2008-12-17 13:40:13 -05:00
|
|
|
BUILD_DEPENDS= ::textproc/rarian
|
|
|
|
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils \
|
|
|
|
::textproc/rarian \
|
2008-12-02 04:11:15 -05:00
|
|
|
:yelp-*:x11/gnome/yelp \
|
|
|
|
:notification-daemon-*|notification-daemon-xfce-*:sysutils/notification-daemon
|
|
|
|
LIB_DEPENDS= gnomeui-2.>=2400::x11/gnome/libgnomeui \
|
|
|
|
notify::devel/libnotify \
|
2008-06-29 16:31:14 -04:00
|
|
|
sasl2::security/cyrus-sasl2 \
|
|
|
|
gmime-2.0::mail/gmime
|
2007-05-20 09:22:31 -04:00
|
|
|
|
2006-11-13 06:20:24 -05:00
|
|
|
USE_X11= Yes
|
2008-12-02 04:11:15 -05:00
|
|
|
NO_REGRESS= Yes
|
2007-05-20 09:22:31 -04:00
|
|
|
|
2008-12-02 04:11:15 -05:00
|
|
|
do-configure:
|
|
|
|
cd ${WRKSRC} && ./jb configure ${JB_FLAGS} \
|
|
|
|
evolution=no hotmail=no yahoo=no \
|
|
|
|
cc="${CC}" \
|
|
|
|
cflags="${CFLAGS}" \
|
|
|
|
cppflags="-I${LOCALBASE}/include" \
|
|
|
|
ldflags="-L${LOCALBASE}/lib -liconv" \
|
|
|
|
prefix="${PREFIX}" \
|
|
|
|
data-owner=${SHAREOWN} \
|
|
|
|
data-group=${SHAREGRP} \
|
|
|
|
program-owner=${BINOWN} \
|
|
|
|
program-group=${BINGRP} \
|
|
|
|
library-owner=${BINOWN} \
|
|
|
|
library-group=${BINGRP} \
|
|
|
|
gconf-schemas-dir="${LOCALBASE}/share/schemas/mail-notification" \
|
|
|
|
scrollkeeper-update="/usr/bin/true" \
|
|
|
|
gconftool-2="/usr/bin/true" \
|
|
|
|
destdir="${WRKINST}"
|
2007-05-20 09:22:31 -04:00
|
|
|
|
2008-12-02 04:11:15 -05:00
|
|
|
do-build:
|
|
|
|
cd ${WRKBUILD} && ./jb build
|
2004-10-10 20:51:34 -04:00
|
|
|
|
2008-12-02 04:11:15 -05:00
|
|
|
do-install:
|
|
|
|
cd ${WRKBUILD} && ./jb ${INSTALL_TARGET}
|
2004-10-10 20:51:34 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mail-notification
|
2008-12-02 04:11:15 -05:00
|
|
|
mv ${PREFIX}${SYSCONFDIR}/xdg ${PREFIX}/share/examples/mail-notification
|
2008-12-16 08:16:37 -05:00
|
|
|
rm -fr ${PREFIX}${SYSCONFDIR}
|
2004-10-10 20:51:34 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|