# # $Id$ # PORTNAME= startup-notification PORTVERSION= 0.12 CATEGORIES= x11 gnome MASTER_SITES= http://www.freedesktop.org/software/startup-notification/releases/ DIST_SUBDIR= gnome2 PKGNAMEPREFIX= lib MAINTAINER= onborodin@gmail.com COMMENT= Library that supports startup notification spec from freedesktop.org LIB_DEPENDS+= libX11.so:x11/libX11 LIB_DEPENDS+= libXau.so:x11/libXau LIB_DEPENDS+= libXdmcp.so:x11/libXdmcp LIB_DEPENDS+= libxcb-util.so:x11/libxcb-util USES+= gmake GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ENV+= CPPFLAGS="${CFLAGS}" CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS+= ac_cv_lib_ICE_IceConnectionNumber=no CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib FILES+= ${WRKSRC}/Makefile.in FILES+= ${WRKSRC}/*/Makefile.in FILES+= ${WRKSRC}/*.pc.in FILES+= ${WRKSRC}/configure post-patch: ${REINPLACE_CMD} -e 's|n-1.0|n|g' ${FILES} ${REINPLACE_CMD} -e 's|notification-1.0|notification|g' ${FILES} ${REINPLACE_CMD} -e 's|notification-1|notification|g' ${FILES} ${REINPLACE_CMD} -e 's|notification_1|notification|g' ${FILES} cd ${WRKSRC} && ${CP} libstartup-notification-1.0.pc.in \ libstartup-notification.pc.in ${REINPLACE_CMD} -e 's|gconf-2.0|gconf|g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|gdk-2.0|gdk|g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|gdk-pixbuf-2.0|gdk-pixbuf|g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|gio-2.0|gio|g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|glib-2.0|glib|g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|gmodule-2.0|gmodule|g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|gnome-vfs-2.0|gnome-vfs|g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|gobject-2.0|gobject|g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|gthread-2.0|gthread|g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|gtk+-2.0|gtk+|g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|libIDL-2.0|libIDL|g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|libgnome-2.0|libgnome|g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|libxml-2.0|libxml2|g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|gtk+-unix-print-2.0|gtk+-unix-print|g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|gdk-x11-2.0|gdk-x11|g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|gdk-pixbuf-xlib-2.0|gdk-pixbuf-xlib|g' ${WRKSRC}/configure .include #EOF