diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-12-21 15:48:20 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-12-21 15:48:20 +0000 |
commit | 74936263b3b559bf7a8546a539932c9b5945cc6f (patch) | |
tree | a7e28288881c24598b057acaaf222772f8eec213 /deskutils/mdh | |
parent | 0958bb50c5317b72ffad3592a4abe901d7216aba (diff) |
- Fix build
- Utilize DOCSDIR
PR: 60461
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=96312
Diffstat (limited to 'deskutils/mdh')
-rw-r--r-- | deskutils/mdh/Makefile | 18 | ||||
-rw-r--r-- | deskutils/mdh/distinfo | 2 | ||||
-rw-r--r-- | deskutils/mdh/files/patch-src::mdh.c | 29 | ||||
-rw-r--r-- | deskutils/mdh/pkg-plist | 4 |
4 files changed, 11 insertions, 42 deletions
diff --git a/deskutils/mdh/Makefile b/deskutils/mdh/Makefile index 6d693213d79c..fe45a4bef729 100644 --- a/deskutils/mdh/Makefile +++ b/deskutils/mdh/Makefile @@ -7,27 +7,25 @@ PORTNAME= mdh PORTVERSION= 1.9.54 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= deskutils gnome MASTER_SITES= http://www.gozer.org/my_stuff/gtk/gtk/mdh/ MAINTAINER= ports@FreeBSD.org COMMENT= GTK2-based toolbar, like a smaller GNOME panel -USE_X_PREFIX= yes USE_BZIP2= yes +USE_X_PREFIX= yes GNU_CONFIGURE= yes -USE_GNOME= gnomehack gnomeprefix gnometarget gtk20 +USE_GNOME= gnometarget gtk20 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib" - -BROKEN= "fails checksum test" + LDFLAGS="-L${LOCALBASE}/lib" do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin -.ifndef(NOPORTDOCS) - @${MKDIR} ${DATADIR} - @${INSTALL_DATA} ${WRKSRC}/README ${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/deskutils/mdh/distinfo b/deskutils/mdh/distinfo index 2a57dab42bae..e379966a48dc 100644 --- a/deskutils/mdh/distinfo +++ b/deskutils/mdh/distinfo @@ -1 +1 @@ -MD5 (mdh-1.9.54.tar.bz2) = 8f751e214bb287797915aba5a2143d18 +MD5 (mdh-1.9.54.tar.bz2) = 62c64932d30fb94319e601ec020dde80 diff --git a/deskutils/mdh/files/patch-src::mdh.c b/deskutils/mdh/files/patch-src::mdh.c deleted file mode 100644 index c1b04cbadb03..000000000000 --- a/deskutils/mdh/files/patch-src::mdh.c +++ /dev/null @@ -1,29 +0,0 @@ ---- src/mdh.c.orig Thu Nov 13 02:17:50 2003 -+++ src/mdh.c Thu Nov 13 02:18:20 2003 -@@ -140,6 +140,8 @@ - - static void mdh_toolbar_custom_free(struct custom_t *obj) - { -+ g_return_if_fail(obj != NULL); -+ - g_free(obj->value); - g_free(obj->command); - g_free(obj->tooltip); -@@ -147,6 +149,8 @@ - - static void mdh_toolbar_panel_free(struct panel_t *obj) - { -+ g_return_if_fail(obj != NULL); -+ - g_free(obj->value); - g_free(obj->command); - g_free(obj->tooltip); -@@ -186,8 +190,6 @@ - g_free(mdh_lock); - g_free(mdh_cache); - g_free(mdh_hist); -- -- exit(0); - } - - static void mdh_toolbar_init(void) diff --git a/deskutils/mdh/pkg-plist b/deskutils/mdh/pkg-plist index c54028234a94..051427dac134 100644 --- a/deskutils/mdh/pkg-plist +++ b/deskutils/mdh/pkg-plist @@ -1,3 +1,3 @@ bin/mdh -%%PORTDOCS%%%%DATADIR%%/README -%%PORTDOCS%%@dirrm %%DATADIR%% +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% |