aboutsummaryrefslogtreecommitdiff
path: root/deskutils/rubrica
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-02-06 13:27:47 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-02-06 13:27:47 +0000
commit7dbd339db6ae6014f090834284837642c780601d (patch)
tree3f5a89e18a7a824f6c36d54728a25cec24b466dd /deskutils/rubrica
parent56121ede837299d951e55e663118bfa5679c6784 (diff)
downloadports-7dbd339db6ae6014f090834284837642c780601d.tar.gz
ports-7dbd339db6ae6014f090834284837642c780601d.zip
Notes
Diffstat (limited to 'deskutils/rubrica')
-rw-r--r--deskutils/rubrica/Makefile14
-rw-r--r--deskutils/rubrica/distinfo4
-rw-r--r--deskutils/rubrica/files/patch-Makefile.in11
-rw-r--r--deskutils/rubrica/files/patch-doc::Makefile.in11
-rw-r--r--deskutils/rubrica/files/patch-po::Makefile.in11
-rw-r--r--deskutils/rubrica/files/patch-src::Makefile.in11
-rw-r--r--deskutils/rubrica/files/patch-src::vcard.c22
7 files changed, 49 insertions, 35 deletions
diff --git a/deskutils/rubrica/Makefile b/deskutils/rubrica/Makefile
index 6bad1656f6d8..587b6bcbeb6b 100644
--- a/deskutils/rubrica/Makefile
+++ b/deskutils/rubrica/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= rubrica
-PORTVERSION= 1.0.5
-PORTREVISION= 1
+PORTVERSION= 1.0.10
CATEGORIES= deskutils gnome
MASTER_SITES= http://digilander.libero.it/nfragale/download/rubrica/
@@ -18,24 +17,17 @@ USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GNOME= gnomehack gnomeprefix gnometarget libgnomeui
USE_GMAKE= yes
-USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-post-patch:
- @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
- 's|^CFLAGS.*$$|CFLAGS = @CFLAGS@|g ; \
- s|^rubricadocdir.*$$|rubricadocdir =|g ; \
- s|$$(rubricadoc_DATA)||g'
-
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for file in AUTHORS ChangeLog INSTALL NEWS README TODO
+.for file in AUTHORS CREDITS ChangeLog INSTALL NEWS README TODO
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
-.for file in CREDITS examples.rub
+.for file in examples.rub
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
.endfor
.endif
diff --git a/deskutils/rubrica/distinfo b/deskutils/rubrica/distinfo
index cdc964da94ec..bef25e2ffc8e 100644
--- a/deskutils/rubrica/distinfo
+++ b/deskutils/rubrica/distinfo
@@ -1,2 +1,2 @@
-MD5 (rubrica-1.0.5.tar.bz2) = 3ca96ecef897abe4db3ec0cf8a78039b
-SIZE (rubrica-1.0.5.tar.bz2) = 682460
+MD5 (rubrica-1.0.10.tar.bz2) = 308b109af328b154e04ae79bb0f3e509
+SIZE (rubrica-1.0.10.tar.bz2) = 660133
diff --git a/deskutils/rubrica/files/patch-Makefile.in b/deskutils/rubrica/files/patch-Makefile.in
new file mode 100644
index 000000000000..003d1fb1f154
--- /dev/null
+++ b/deskutils/rubrica/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Thu Feb 5 03:10:13 2004
++++ Makefile.in Thu Feb 5 17:22:51 2004
+@@ -521,7 +521,7 @@
+
+ info-am:
+
+-install-data-am: install-desktopDATA install-rubricadocDATA \
++install-data-am: install-desktopDATA \
+ install-schemas_DATA
+
+ install-exec-am:
diff --git a/deskutils/rubrica/files/patch-doc::Makefile.in b/deskutils/rubrica/files/patch-doc::Makefile.in
new file mode 100644
index 000000000000..03b153767055
--- /dev/null
+++ b/deskutils/rubrica/files/patch-doc::Makefile.in
@@ -0,0 +1,11 @@
+--- doc/Makefile.in.orig Thu Feb 5 03:10:13 2004
++++ doc/Makefile.in Thu Feb 5 17:24:42 2004
+@@ -245,7 +245,7 @@
+
+ info-am:
+
+-install-data-am: install-extradocDATA
++install-data-am:
+
+ install-exec-am:
+
diff --git a/deskutils/rubrica/files/patch-po::Makefile.in b/deskutils/rubrica/files/patch-po::Makefile.in
new file mode 100644
index 000000000000..fef236125f24
--- /dev/null
+++ b/deskutils/rubrica/files/patch-po::Makefile.in
@@ -0,0 +1,11 @@
+--- po/Makefile.in.in.orig Sat Jan 31 09:31:19 2004
++++ po/Makefile.in.in Thu Feb 5 17:26:28 2004
+@@ -106,7 +106,7 @@
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+- lang=`echo $$cat | sed 's/\.gmo$$//'`; \
++ lang=`echo $$cat | sed 's/\.mo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(mkinstalldirs) $(DESTDIR)$$dir; \
+ if test -r $$cat; then \
diff --git a/deskutils/rubrica/files/patch-src::Makefile.in b/deskutils/rubrica/files/patch-src::Makefile.in
new file mode 100644
index 000000000000..30bd52f56a8e
--- /dev/null
+++ b/deskutils/rubrica/files/patch-src::Makefile.in
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig Thu Feb 5 03:10:14 2004
++++ src/Makefile.in Thu Feb 5 17:23:59 2004
+@@ -126,7 +126,7 @@
+ -DFILE_FORMAT=@FILE_FORMAT@
+
+
+-CFLAGS = -DHAVE_CONFIG_H -Wall -O -g
++CFLAGS = @CFLAGS@
+
+ bin_PROGRAMS = rubrica
+
diff --git a/deskutils/rubrica/files/patch-src::vcard.c b/deskutils/rubrica/files/patch-src::vcard.c
deleted file mode 100644
index d7321985495f..000000000000
--- a/deskutils/rubrica/files/patch-src::vcard.c
+++ /dev/null
@@ -1,22 +0,0 @@
---- src/vcard.c.orig Fri Jun 6 23:57:31 2003
-+++ src/vcard.c Fri Oct 24 00:59:04 2003
-@@ -128,9 +128,6 @@
- RubricaVCardParamType param;
- RubricaVCardValueType value;
-
-- parray[ARRAY_SIZE] = BAD_PARAM;
-- varray[ARRAY_SIZE] = BAD_VALUE;
--
- gchar buffer_token[32], buffer_param[32], buffer_val[32];
- gchar data[1024];
- // gchar *binary_data;
-@@ -139,6 +136,9 @@
- gint ch;
- gint i = 0, j = 0, k = 0, l = 0, p = 0;
- gboolean new_card = TRUE;
-+
-+ parray[ARRAY_SIZE] = BAD_PARAM;
-+ varray[ARRAY_SIZE] = BAD_VALUE;
-
- state = BUILD_TOKEN_STATE;
-