openbsd-ports/productivity/rubrica2/Makefile
2010-10-24 20:58:58 +00:00

67 lines
1.6 KiB
Makefile

# $OpenBSD: Makefile,v 1.7 2010/10/24 21:33:27 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= addressbook manager
DISTNAME= rubrica2-2.0.7
REVISION= 0
EPOCH= 0
CATEGORIES= productivity x11
EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://rubrica.berlios.de
SHARED_LIBS += ral 0.0 # .1.0
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_BERLIOS:=rubrica/}
WANTLIB += ORBit-2 X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo dbus-1
WANTLIB += dbus-glib-1 expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
WANTLIB += gtk-x11-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pcre pixman-1 png pthread xml2 z pthread-stubs xcb
MODULES= devel/gettext \
textproc/intltool \
devel/gconf2
USE_GMAKE= Yes
USE_LIBTOOL= Yes
MODGCONF2_SCHEMAS_DIR= rubrica2
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-gtk-doc=no
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils \
:shared-mime-info-*:misc/shared-mime-info \
::x11/gnome/icon-theme
LIB_DEPENDS= notify::devel/libnotify \
glade-2.0.>=0::devel/libglade2
pre-configure:
${SUBST_CMD} ${WRKSRC}/configure
@find ${WRKSRC} -name Makefile.in -exec perl -pi \
-e 's,-Wall -g,-Wall,g;' \
-e 's,-Wmissing-prototypes -g,-Wmissing-prototypes,g' {} \;
post-install:
ln -sf ${LOCALBASE}/share/icons/gnome \
${PREFIX}/share/pixmaps/rubrica2/22x22/hicolor
.include <bsd.port.mk>