2003-03-01 08:07:58 +01:00
|
|
|
# New ports collection makefile for: rubrica
|
|
|
|
# Date created: 27 February 2003
|
|
|
|
# Whom: Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= rubrica
|
2007-10-05 23:55:11 +02:00
|
|
|
PORTVERSION= 2.0.1
|
2009-07-31 15:57:52 +02:00
|
|
|
PORTREVISION= 3
|
2003-03-01 08:07:58 +01:00
|
|
|
CATEGORIES= deskutils gnome
|
2006-09-03 19:17:15 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_BERLIOS}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2007-10-05 23:55:11 +02:00
|
|
|
DISTNAME= ${PORTNAME}2-${PORTVERSION}
|
2003-03-01 08:07:58 +01:00
|
|
|
|
2003-10-24 16:13:19 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-09-03 19:17:15 +02:00
|
|
|
COMMENT= An addressbook for the GNOME 2 desktop
|
2003-03-01 08:07:58 +01:00
|
|
|
|
2007-03-06 21:04:21 +01:00
|
|
|
USE_BZIP2= yes
|
2007-10-05 23:55:11 +02:00
|
|
|
USE_GNOME= gconf2 gnomehack gnomeprefix gnometarget libglade2
|
2006-09-03 19:17:15 +02:00
|
|
|
USE_GETTEXT= yes
|
2006-12-21 20:33:05 +01:00
|
|
|
USE_GMAKE= yes
|
2003-03-01 08:07:58 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2003-10-24 16:13:19 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
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
|
|
|
|
|
|
|
post-patch:
|
2007-10-05 23:55:11 +02:00
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|-Wall -g|-Wall|g ; \
|
|
|
|
s|-Wmissing-prototypes -g|-Wmissing-prototypes|g ; \
|
|
|
|
s|@RUBRICA_FILE_|@FILE_|g'
|
|
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g' ${WRKSRC}/Makefile.in
|
2003-03-01 08:07:58 +01:00
|
|
|
|
|
|
|
post-install:
|
2003-10-24 16:13:19 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-03-01 08:07:58 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-02-06 14:27:47 +01:00
|
|
|
.for file in AUTHORS CREDITS ChangeLog INSTALL NEWS README TODO
|
2003-10-24 16:13:19 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
|
|
.endfor
|
2007-10-05 23:55:11 +02:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/libRAL
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/reference/html/*.* \
|
|
|
|
${PREFIX}/share/doc/libRAL
|
2003-03-01 08:07:58 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|