View | Details | Raw Unified | Return to bug 62425
Collapse All | Expand All

(-)deskutils/rubrica/Makefile (-11 / +3 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	rubrica
8
PORTNAME=	rubrica
9
PORTVERSION=	1.0.5
9
PORTVERSION=	1.0.10
10
PORTREVISION=	1
11
CATEGORIES=	deskutils gnome
10
CATEGORIES=	deskutils gnome
12
MASTER_SITES=	http://digilander.libero.it/nfragale/download/rubrica/
11
MASTER_SITES=	http://digilander.libero.it/nfragale/download/rubrica/
13
12
Lines 18-41 Link Here
18
USE_X_PREFIX=	yes
17
USE_X_PREFIX=	yes
19
USE_GNOME=	gnomehack gnomeprefix gnometarget libgnomeui
18
USE_GNOME=	gnomehack gnomeprefix gnometarget libgnomeui
20
USE_GMAKE=	yes
19
USE_GMAKE=	yes
21
USE_REINPLACE=	yes
22
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
23
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
21
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
24
		LDFLAGS="-L${LOCALBASE}/lib"
22
		LDFLAGS="-L${LOCALBASE}/lib"
25
23
26
post-patch:
27
	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
28
		's|^CFLAGS.*$$|CFLAGS = @CFLAGS@|g ; \
29
		 s|^rubricadocdir.*$$|rubricadocdir =|g ; \
30
		 s|$$(rubricadoc_DATA)||g'
31
32
post-install:
24
post-install:
33
.if !defined(NOPORTDOCS)
25
.if !defined(NOPORTDOCS)
34
	@${MKDIR} ${DOCSDIR}
26
	@${MKDIR} ${DOCSDIR}
35
.for file in AUTHORS ChangeLog INSTALL NEWS README TODO
27
.for file in AUTHORS CREDITS ChangeLog INSTALL NEWS README TODO
36
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
28
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
37
.endfor
29
.endfor
38
.for file in CREDITS examples.rub
30
.for file in examples.rub
39
	${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
31
	${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
40
.endfor
32
.endfor
41
.endif
33
.endif
(-)deskutils/rubrica/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (rubrica-1.0.5.tar.bz2) = 3ca96ecef897abe4db3ec0cf8a78039b
1
MD5 (rubrica-1.0.10.tar.bz2) = 308b109af328b154e04ae79bb0f3e509
2
SIZE (rubrica-1.0.5.tar.bz2) = 682460
2
SIZE (rubrica-1.0.10.tar.bz2) = 660133
(-)deskutils/rubrica/files/patch-Makefile.in (+11 lines)
Line 0 Link Here
1
--- Makefile.in.orig	Thu Feb  5 03:10:13 2004
2
+++ Makefile.in	Thu Feb  5 17:22:51 2004
3
@@ -521,7 +521,7 @@
4
 
5
 info-am:
6
 
7
-install-data-am: install-desktopDATA install-rubricadocDATA \
8
+install-data-am: install-desktopDATA \
9
 	install-schemas_DATA
10
 
11
 install-exec-am:
(-)deskutils/rubrica/files/patch-doc::Makefile.in (+11 lines)
Line 0 Link Here
1
--- doc/Makefile.in.orig	Thu Feb  5 03:10:13 2004
2
+++ doc/Makefile.in	Thu Feb  5 17:24:42 2004
3
@@ -245,7 +245,7 @@
4
 
5
 info-am:
6
 
7
-install-data-am: install-extradocDATA
8
+install-data-am:
9
 
10
 install-exec-am:
11
 
(-)deskutils/rubrica/files/patch-po::Makefile.in (+11 lines)
Line 0 Link Here
1
--- po/Makefile.in.in.orig	Sat Jan 31 09:31:19 2004
2
+++ po/Makefile.in.in	Thu Feb  5 17:26:28 2004
3
@@ -106,7 +106,7 @@
4
 	@catalogs='$(CATALOGS)'; \
5
 	for cat in $$catalogs; do \
6
 	  cat=`basename $$cat`; \
7
-	  lang=`echo $$cat | sed 's/\.gmo$$//'`; \
8
+	  lang=`echo $$cat | sed 's/\.mo$$//'`; \
9
 	  dir=$(localedir)/$$lang/LC_MESSAGES; \
10
 	  $(mkinstalldirs) $(DESTDIR)$$dir; \
11
 	  if test -r $$cat; then \
(-)deskutils/rubrica/files/patch-src::Makefile.in (+11 lines)
Line 0 Link Here
1
--- src/Makefile.in.orig	Thu Feb  5 03:10:14 2004
2
+++ src/Makefile.in	Thu Feb  5 17:23:59 2004
3
@@ -126,7 +126,7 @@
4
 	-DFILE_FORMAT=@FILE_FORMAT@
5
 
6
 
7
-CFLAGS = -DHAVE_CONFIG_H -Wall -O -g 
8
+CFLAGS = @CFLAGS@
9
 
10
 bin_PROGRAMS = rubrica 
11
 
(-)deskutils/rubrica/files/patch-src::vcard.c (-22 lines)
Lines 1-22 Link Here
1
--- src/vcard.c.orig	Fri Jun  6 23:57:31 2003
2
+++ src/vcard.c	Fri Oct 24 00:59:04 2003
3
@@ -128,9 +128,6 @@
4
   RubricaVCardParamType param;
5
   RubricaVCardValueType value;
6
 
7
-  parray[ARRAY_SIZE] = BAD_PARAM;
8
-  varray[ARRAY_SIZE] = BAD_VALUE;
9
-
10
   gchar buffer_token[32], buffer_param[32], buffer_val[32]; 
11
   gchar data[1024];
12
 //  gchar *binary_data;
13
@@ -139,6 +136,9 @@
14
   gint ch;
15
   gint i = 0, j = 0, k = 0, l = 0, p = 0;  
16
   gboolean new_card = TRUE;
17
+
18
+  parray[ARRAY_SIZE] = BAD_PARAM;
19
+  varray[ARRAY_SIZE] = BAD_VALUE;
20
 
21
   state = BUILD_TOKEN_STATE;
22

Return to bug 62425