mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
# New ports collection makefile for: rubrica
|
|
# Date created: 27 February 2003
|
|
# Whom: Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= rubrica
|
|
PORTVERSION= 1.0.17
|
|
PORTREVISION= 1
|
|
CATEGORIES= deskutils gnome
|
|
MASTER_SITES= ${MASTER_SITE_BERLIOS}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= An addressbook for the GNOME 2 desktop
|
|
|
|
USE_BZIP2= yes
|
|
USE_GNOME= gnomehack gnomeprefix gnometarget libgnomeui
|
|
USE_GETTEXT= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-gconf-source=${GCONF_CONFIG_SOURCE}
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
INSTALL_TARGET= install install-schemas
|
|
|
|
GCONF_SCHEMAS= rubrica.schemas
|
|
|
|
post-patch:
|
|
.for file in src/dialog.c src/ui.c
|
|
@${REINPLACE_CMD} -e 's|rub\.png|rubrica.png|g' ${WRKSRC}/${file}
|
|
.endfor
|
|
.for file in src/rubrica_type.h
|
|
@${REINPLACE_CMD} -e '/^#include/d' ${WRKSRC}/${file}
|
|
.endfor
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in AUTHORS CREDITS ChangeLog INSTALL NEWS README TODO
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.for file in examples.rub
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|