79 lines
2.3 KiB
Makefile
79 lines
2.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.43 2010/11/19 07:23:06 espie Exp $
|
|
|
|
COMMENT= mail notification for freedesktop.org-compliant system trays
|
|
|
|
DISTNAME= mail-notification-5.4
|
|
REVISION= 16
|
|
|
|
CATEGORIES= mail
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
HOMEPAGE= http://www.nongnu.org/mailnotify/
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB += ICE ORBit-2 SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp
|
|
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender art_lgpl_2 atk-1.0
|
|
WANTLIB += bonobo-2 bonobo-activation bonoboui-2 c cairo crypto
|
|
WANTLIB += dbus-1 dbus-glib-1 expat fontconfig freetype gailutil
|
|
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glade-2.0 glib-2.0
|
|
WANTLIB += gmodule-2.0 gnome-2 gnome-keyring gnomecanvas-2
|
|
WANTLIB += gnomevfs-2 gobject-2.0 gthread-2.0 gtk-x11-2.0 m pango-1.0
|
|
WANTLIB += pangocairo-1.0 pangoft2-1.0 pixman-1 png popt pthread
|
|
WANTLIB += pthread-stubs ssl xcb xcb-render xcb-render-util xml2
|
|
WANTLIB += z gnomeui-2>=2400 notify sasl2 gmime-2.4
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH:=mailnotify/}
|
|
|
|
MODULES= devel/gettext \
|
|
textproc/intltool \
|
|
devel/gconf2
|
|
|
|
BUILD_DEPENDS= textproc/rarian
|
|
RUN_DEPENDS= devel/desktop-file-utils \
|
|
x11/gnome/yelp \
|
|
notification-daemon-*|notification-daemon-xfce-*|xfce4-notifyd-*:sysutils/notification-daemon
|
|
LIB_DEPENDS= x11/gnome/libgnomeui \
|
|
devel/libnotify \
|
|
security/cyrus-sasl2 \
|
|
gmime->=2.4,<2.6:mail/gmime24
|
|
|
|
NO_REGRESS= Yes
|
|
MODGCONF2_SCHEMAS_DIR= mail-notification
|
|
|
|
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}/${SCHEMAS_INSTDIR}/" \
|
|
gconftool-2="/usr/bin/true" \
|
|
destdir="${WRKINST}"
|
|
|
|
do-build:
|
|
cd ${WRKBUILD} && ./jb build
|
|
|
|
do-install:
|
|
cd ${WRKBUILD} && ./jb ${INSTALL_TARGET}
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mail-notification
|
|
mv ${PREFIX}${SYSCONFDIR}/xdg ${PREFIX}/share/examples/mail-notification
|
|
rm -fr ${PREFIX}${SYSCONFDIR}
|
|
|
|
.include <bsd.port.mk>
|