freebsd-ports/deskutils/rubrica/Makefile
Alex Kozlov 08c99f3ad5 - Convert USE_GETTEXT to USES (part 1)
Approved by:	portmgr (bapt)
2013-04-24 07:35:40 +00:00

51 lines
1.3 KiB
Makefile

# Created by: Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
# $FreeBSD$
PORTNAME= rubrica
PORTVERSION= 2.0.10
PORTREVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= BERLIOS
DISTNAME= ${PORTNAME}2-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= An addressbook for the GNOME 2 desktop
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= notify.4:${PORTSDIR}/devel/libnotify
RUN_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme
USE_BZIP2= yes
USES= pathfix gettext
USE_GNOME= gconf2 gnomeprefix libglade2
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
MAKE_JOBS_SAFE= yes
GCONF_SCHEMAS= rubrica2.schemas
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|-Wall -g|-Wall|g ; \
s|-Wmissing-prototypes -g|-Wmissing-prototypes|g'
@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g' ${WRKSRC}/Makefile.in
post-install:
@${LN} -sf ${LOCALBASE}/share/icons/gnome \
${PREFIX}/share/pixmaps/rubrica2/22x22/hicolor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in AUTHORS CREDITS ChangeLog INSTALL NEWS README TODO
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
@${MKDIR} ${PREFIX}/share/doc/libRAL
${INSTALL_DATA} ${WRKSRC}/doc/reference/html/*.* \
${PREFIX}/share/doc/libRAL
.endif
.include <bsd.port.mk>