summaryrefslogtreecommitdiff
path: root/x11/xbindkeys
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-05-09 18:22:29 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-05-09 18:22:29 +0000
commit582264dc7ad488634ee9ebfe903b89f76b684301 (patch)
tree2d2b4b8e7c204e61018c096ed8cc6030a9bf9396 /x11/xbindkeys
parentUpdate to 1.1.0 (diff)
- 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 <tkato432@yahoo.com> [1]
Notes
Notes: svn path=/head/; revision=134942
Diffstat (limited to 'x11/xbindkeys')
-rw-r--r--x11/xbindkeys/Makefile11
-rw-r--r--x11/xbindkeys/distinfo4
-rw-r--r--x11/xbindkeys/pkg-plist4
3 files changed, 8 insertions, 11 deletions
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 <bsd.port.pre.mk>
.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 <bsd.port.post.mk>
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%%