summaryrefslogtreecommitdiffstats
path: root/deskutils/rubrica/Makefile
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-10-09 03:42:52 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-10-09 03:42:52 +0800
commit43d34be219cb0ba9208a2ed402dd573debc7b807 (patch)
tree995c2f34a1ca10858e58e3e65fe2d19a13429ea1 /deskutils/rubrica/Makefile
parent9fe714a6410c45ae00f7b6954860e1efdc681579 (diff)
downloadmarcuscom-ports-43d34be219cb0ba9208a2ed402dd573debc7b807.tar
marcuscom-ports-43d34be219cb0ba9208a2ed402dd573debc7b807.tar.gz
marcuscom-ports-43d34be219cb0ba9208a2ed402dd573debc7b807.tar.bz2
marcuscom-ports-43d34be219cb0ba9208a2ed402dd573debc7b807.tar.lz
marcuscom-ports-43d34be219cb0ba9208a2ed402dd573debc7b807.tar.xz
marcuscom-ports-43d34be219cb0ba9208a2ed402dd573debc7b807.tar.zst
marcuscom-ports-43d34be219cb0ba9208a2ed402dd573debc7b807.zip
Sync w/ FreeBSD ports.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9736 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/rubrica/Makefile')
-rw-r--r--deskutils/rubrica/Makefile28
1 files changed, 13 insertions, 15 deletions
diff --git a/deskutils/rubrica/Makefile b/deskutils/rubrica/Makefile
index 3588af07f..c242d36fa 100644
--- a/deskutils/rubrica/Makefile
+++ b/deskutils/rubrica/Makefile
@@ -6,34 +6,32 @@
#
PORTNAME= rubrica
-PORTVERSION= 1.0.17
-PORTREVISION= 2
+PORTVERSION= 2.0.1
+PORTREVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= ${MASTER_SITE_BERLIOS}
MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}2-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= An addressbook for the GNOME 2 desktop
USE_BZIP2= yes
-USE_GNOME= gnomehack gnomeprefix gnometarget libgnomeui
+USE_GNOME= gconf2 gnomehack gnomeprefix gnometarget libglade2
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
+GCONF_SCHEMAS= rubrica2.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
+ @${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
post-install:
.if !defined(NOPORTDOCS)
@@ -41,9 +39,9 @@ post-install:
.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
+ @${MKDIR} ${PREFIX}/share/doc/libRAL
+ ${INSTALL_DATA} ${WRKSRC}/doc/reference/html/*.* \
+ ${PREFIX}/share/doc/libRAL
.endif
.include <bsd.port.mk>