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

(-)deskutils/mdh/Makefile (-7 / +32 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	mdh
8
PORTNAME=	mdh
9
PORTVERSION=	1.9.54
9
PORTVERSION=	1.9.59
10
PORTREVISION=	7
11
CATEGORIES=	deskutils gnome
10
CATEGORIES=	deskutils gnome
12
MASTER_SITES=	http://www.gozer.org/my_stuff/gtk/gtk/mdh/
11
MASTER_SITES=	http://www.gozer.org/my_stuff/gtk/gtk/mdh/
13
12
Lines 16-28 Link Here
16
15
17
USE_BZIP2=	yes
16
USE_BZIP2=	yes
18
USE_X_PREFIX=	yes
17
USE_X_PREFIX=	yes
19
GNU_CONFIGURE=	yes
20
USE_GNOME=	gnometarget gtk20
18
USE_GNOME=	gnometarget gtk20
21
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
19
USE_GETOPT_LONG=	yes
22
		LDFLAGS="-L${LOCALBASE}/lib"
20
USE_REINPLACE=	yes
21
USE_GMAKE=	yes
22
GNU_CONFIGURE=	yes
23
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
24
25
CPPFLAGS=	-I${LOCALBASE}/include
26
LDFLAGS=	-L${LOCALBASE}/lib
27
28
.if defined(WITHOUT_GTOP)
29
CONFIGURE_ARGS+=	--disable-gtop
30
.else
31
LIB_DEPENDS+=	gtop-2.0:${PORTSDIR}/devel/libgtop2
32
.endif
33
34
.if defined(WITHOUT_CURL)
35
CONFIGURE_ARGS+=	--disable-curl
36
.else
37
LIB_DEPENDS+=	curl.3:${PORTSDIR}/ftp/curl
38
.endif
39
40
post-patch:
41
	@${REINPLACE_CMD} -e 's| make| $$(MAKE)|g' ${WRKSRC}/Makefile
42
	@${REINPLACE_CMD} -e 's|\.\./lib/getopt/getopt\.c||g ; \
43
		 s|\.\./lib/getopt/getopt1\.c||g ; \
44
		 s|-I../lib/getopt||g ; \
45
		 s|$$(CC) -g|$$(CC)|g ; \
46
		 s|@INSTALL@ -m 0775|@INSTALL_PROGRAM@|g ; \
47
		 s|cp -p|@INSTALL_DATA@|g' ${WRKSRC}/src/Makefile.in
48
	@${REINPLACE_CMD} -e 's|"getopt\.h"|<getopt.h>|g' ${WRKSRC}/src/mdh.c
23
49
24
do-install:
50
post-install:
25
	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
26
.if !defined(NOPORTDOCS)
51
.if !defined(NOPORTDOCS)
27
	@${MKDIR} ${DOCSDIR}
52
	@${MKDIR} ${DOCSDIR}
28
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
53
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
(-)deskutils/mdh/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (mdh-1.9.54.tar.bz2) = 62c64932d30fb94319e601ec020dde80
1
MD5 (mdh-1.9.59.tar.bz2) = 3fcc2d65aa05ffd16627e72551074502
2
SIZE (mdh-1.9.54.tar.bz2) = 115043
2
SIZE (mdh-1.9.59.tar.bz2) = 190090
(-)deskutils/mdh/files/patch-lib-gini-gini.c (+11 lines)
Line 0 Link Here
1
--- lib/gini/gini.c.orig	Fri Jul  8 08:10:18 2005
2
+++ lib/gini/gini.c	Fri Oct  7 03:35:03 2005
3
@@ -190,7 +190,7 @@
4
 
5
 static void value_transform_string_int64(const GValue *src, GValue *dst)
6
 {
7
-    dst->data[0].v_int64 = atoll(src->data[0].v_pointer);
8
+    dst->data[0].v_int64 = strtoll(src->data[0].v_pointer, NULL, 10);
9
 }
10
 
11
 static void value_transform_string_uint64(const GValue *src, GValue *dst)
(-)deskutils/mdh/pkg-plist (+54 lines)
Lines 1-3 Link Here
1
bin/mdh
1
bin/mdh
2
%%PORTDOCS%%%%DOCSDIR%%/README
2
%%PORTDOCS%%%%DOCSDIR%%/README
3
%%DATADIR%%/icons/default.png
4
%%DATADIR%%/icons/mixer.png
5
%%DATADIR%%/icons/weather/0.png
6
%%DATADIR%%/icons/weather/1.png
7
%%DATADIR%%/icons/weather/10.png
8
%%DATADIR%%/icons/weather/11.png
9
%%DATADIR%%/icons/weather/12.png
10
%%DATADIR%%/icons/weather/13.png
11
%%DATADIR%%/icons/weather/14.png
12
%%DATADIR%%/icons/weather/15.png
13
%%DATADIR%%/icons/weather/16.png
14
%%DATADIR%%/icons/weather/17.png
15
%%DATADIR%%/icons/weather/18.png
16
%%DATADIR%%/icons/weather/19.png
17
%%DATADIR%%/icons/weather/2.png
18
%%DATADIR%%/icons/weather/20.png
19
%%DATADIR%%/icons/weather/21.png
20
%%DATADIR%%/icons/weather/22.png
21
%%DATADIR%%/icons/weather/23.png
22
%%DATADIR%%/icons/weather/24.png
23
%%DATADIR%%/icons/weather/25.png
24
%%DATADIR%%/icons/weather/26.png
25
%%DATADIR%%/icons/weather/27.png
26
%%DATADIR%%/icons/weather/28.png
27
%%DATADIR%%/icons/weather/29.png
28
%%DATADIR%%/icons/weather/3.png
29
%%DATADIR%%/icons/weather/30.png
30
%%DATADIR%%/icons/weather/31.png
31
%%DATADIR%%/icons/weather/32.png
32
%%DATADIR%%/icons/weather/33.png
33
%%DATADIR%%/icons/weather/34.png
34
%%DATADIR%%/icons/weather/35.png
35
%%DATADIR%%/icons/weather/36.png
36
%%DATADIR%%/icons/weather/37.png
37
%%DATADIR%%/icons/weather/38.png
38
%%DATADIR%%/icons/weather/39.png
39
%%DATADIR%%/icons/weather/4.png
40
%%DATADIR%%/icons/weather/40.png
41
%%DATADIR%%/icons/weather/41.png
42
%%DATADIR%%/icons/weather/42.png
43
%%DATADIR%%/icons/weather/43.png
44
%%DATADIR%%/icons/weather/44.png
45
%%DATADIR%%/icons/weather/45.png
46
%%DATADIR%%/icons/weather/46.png
47
%%DATADIR%%/icons/weather/47.png
48
%%DATADIR%%/icons/weather/5.png
49
%%DATADIR%%/icons/weather/6.png
50
%%DATADIR%%/icons/weather/7.png
51
%%DATADIR%%/icons/weather/8.png
52
%%DATADIR%%/icons/weather/9.png
53
%%DATADIR%%/icons/weather/na.png
54
@dirrm %%DATADIR%%/icons/weather
55
@dirrm %%DATADIR%%/icons
56
@dirrm %%DATADIR%%
3
%%PORTDOCS%%@dirrm %%DOCSDIR%%
57
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 87056