2013-03-28 04:28:30 +01:00
|
|
|
# Created by: Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
|
2003-03-01 08:07:58 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= rubrica
|
2016-01-09 13:50:38 +01:00
|
|
|
PORTVERSION= 2.1.6
|
2003-03-01 08:07:58 +01:00
|
|
|
CATEGORIES= deskutils gnome
|
2009-10-04 12:08:34 +02:00
|
|
|
MASTER_SITES= BERLIOS
|
2007-10-05 23:55:11 +02:00
|
|
|
DISTNAME= ${PORTNAME}2-${PORTVERSION}
|
2003-03-01 08:07:58 +01:00
|
|
|
|
2014-04-28 23:31:31 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-05-13 06:27:55 +02:00
|
|
|
COMMENT= Addressbook for the GNOME 2 desktop
|
2003-03-01 08:07:58 +01:00
|
|
|
|
2011-08-10 16:30:51 +02:00
|
|
|
LICENSE= GPLv3
|
2017-12-18 14:15:36 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2011-08-10 16:30:51 +02:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libnotify.so:devel/libnotify
|
|
|
|
RUN_DEPENDS= gnome-icon-theme>=0:misc/gnome-icon-theme
|
2009-10-04 12:08:34 +02:00
|
|
|
|
2017-12-18 14:15:36 +01:00
|
|
|
USES= desktop-file-utils gmake libtool localbase pathfix pkgconfig tar:bzip2
|
2014-06-25 21:46:29 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2015-08-02 22:23:55 +02:00
|
|
|
USE_GNOME= gconf2 gnomeprefix libglade2 intltool
|
2013-10-05 00:29:20 +02:00
|
|
|
USE_LDCONFIG= yes
|
2014-04-28 23:31:31 +02:00
|
|
|
MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP}
|
2004-11-18 21:19:57 +01:00
|
|
|
|
2007-10-05 23:55:11 +02:00
|
|
|
GCONF_SCHEMAS= rubrica2.schemas
|
2004-11-18 21:19:57 +01:00
|
|
|
|
2016-01-09 13:50:38 +01:00
|
|
|
LIBS+= -lm -lgthread-2.0
|
2009-10-04 12:08:34 +02:00
|
|
|
|
2013-10-05 00:29:20 +02:00
|
|
|
PORTDOCS= *
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
NLS_USES= gettext
|
|
|
|
|
2004-11-18 21:19:57 +01:00
|
|
|
post-patch:
|
2007-10-05 23:55:11 +02:00
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|-Wall -g|-Wall|g ; \
|
2009-10-04 12:08:34 +02:00
|
|
|
s|-Wmissing-prototypes -g|-Wmissing-prototypes|g'
|
2007-10-05 23:55:11 +02:00
|
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g' ${WRKSRC}/Makefile.in
|
2013-10-05 00:29:20 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|_Modifica|_Edit|' \
|
|
|
|
-e 's|A_iuto|_Help|' \
|
|
|
|
${WRKSRC}/interface/MainWindow.glade
|
2017-12-18 14:15:36 +01:00
|
|
|
@${REINPLACE_CMD} -e \
|
2014-04-28 23:31:31 +02:00
|
|
|
's|^Categories=.*|Categories=GNOME;Application;Office;System;Utility;|' \
|
2013-10-05 00:29:20 +02:00
|
|
|
${WRKSRC}/rubrica2.desktop.in
|
|
|
|
|
2017-12-18 14:15:36 +01:00
|
|
|
post-patch-NLS-off:
|
2013-10-05 00:29:20 +02:00
|
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/s|po||g' ${WRKSRC}/Makefile.in
|
2003-03-01 08:07:58 +01:00
|
|
|
|
|
|
|
post-install:
|
2009-10-04 12:08:34 +02:00
|
|
|
@${LN} -sf ${LOCALBASE}/share/icons/gnome \
|
2013-10-05 00:29:20 +02:00
|
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/rubrica2/22x22/hicolor
|
|
|
|
|
2017-12-18 14:15:36 +01:00
|
|
|
post-install-DOCS-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/CREDITS ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/doc/reference/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/libRAL-reference
|
2003-03-01 08:07:58 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|