openbsd-ports/productivity/rubrica2/Makefile
ajacoutot 9e465cf2dc Import rubrica2-2.0.6
Rubrica is an addressbook manager for the GNOME Environment.  It allows
you to add personal data (name, surname, address, etc.), web links, irc
and email addresses, telephone numbers, job information (company where
contact works, company infos, contact's assigment, etc.) and notes.

Rubrica can import/export addressbooks from/to GnomeCard, KAddressbook,
Evolution, Csv file format, and an export addressboks to HTML and text
format.

Reworked from an original submission by landry@ ages and ages ago...
2009-10-08 16:39:37 +00:00

65 lines
1.6 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2009/10/08 16:39:37 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= addressbook manager
DISTNAME= rubrica2-2.0.6
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 glitz 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_X11= Yes
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>