From 582264dc7ad488634ee9ebfe903b89f76b684301 Mon Sep 17 00:00:00 2001 From: Jean-Yves Lefort Date: Mon, 9 May 2005 18:22:29 +0000 Subject: [PATCH] - Update to 1.7.2 [1] - Refactor pkg-plist as PLIST_{FILES|DIRS} - Install the example regardless of NOPORTDOCS PR: ports/80772 [1] Submitted by: KATO Tsuguru [1] --- x11/xbindkeys/Makefile | 11 ++++++----- x11/xbindkeys/distinfo | 4 ++-- x11/xbindkeys/pkg-plist | 4 ---- 3 files changed, 8 insertions(+), 11 deletions(-) delete mode 100644 x11/xbindkeys/pkg-plist diff --git a/x11/xbindkeys/Makefile b/x11/xbindkeys/Makefile index 2bf6a02033b4..b77a5e0a301a 100644 --- a/x11/xbindkeys/Makefile +++ b/x11/xbindkeys/Makefile @@ -7,7 +7,7 @@ # PORTNAME= xbindkeys -PORTVERSION= 1.7.1 +PORTVERSION= 1.7.2 CATEGORIES= x11 MASTER_SITES= http://hocwp.free.fr/xbindkeys/ @@ -28,6 +28,10 @@ WISH= ${LOCALBASE}/bin/wish8.4 OPTIONS= GUILE "Guile support" off \ TCLTK "Tcl/Tk support" off +PEXAMPLESDIR= ${EXAMPLESDIR:S,^${PREFIX}/,,} +PLIST_FILES= bin/xbindkeys ${PEXAMPLESDIR}/xbindkeysrc +PLIST_DIRS= ${PEXAMPLESDIR} + .include .if defined(WITH_GUILE) @@ -39,19 +43,16 @@ CONFIGURE_ARGS+= --disable-guile .if defined(WITH_TCLTK) RUN_DEPENDS+= wish8.4:${PORTSDIR}/x11-toolkits/tk84 MAN1+= xbindkeys_show.1 -PLIST_SUB+= TCLTK="" +PLIST_FILES+= bin/xbindkeys_show .else CONFIGURE_ARGS+= --disable-tk -PLIST_SUB+= TCLTK="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's| wish | ${WISH} |g' ${WRKSRC}/xbindkeys_show post-install: -.if !defined(NOPORTDOCS) @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/xbindkeysrc ${EXAMPLESDIR} -.endif .include diff --git a/x11/xbindkeys/distinfo b/x11/xbindkeys/distinfo index 3cfcad70acd1..f4107268bca2 100644 --- a/x11/xbindkeys/distinfo +++ b/x11/xbindkeys/distinfo @@ -1,2 +1,2 @@ -MD5 (xbindkeys-1.7.1.tar.gz) = 9176ee5d331160dc3dfafc41e8ec6925 -SIZE (xbindkeys-1.7.1.tar.gz) = 115892 +MD5 (xbindkeys-1.7.2.tar.gz) = 7aead9049d972221b879f22718528690 +SIZE (xbindkeys-1.7.2.tar.gz) = 110355 diff --git a/x11/xbindkeys/pkg-plist b/x11/xbindkeys/pkg-plist deleted file mode 100644 index d24a36f45f5f..000000000000 --- a/x11/xbindkeys/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -bin/xbindkeys -%%TCLTK%%bin/xbindkeys_show -%%PORTDOCS%%%%EXAMPLESDIR%%/xbindkeysrc -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%