aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-05-10 02:22:29 +0800
committerjylefort <jylefort@FreeBSD.org>2005-05-10 02:22:29 +0800
commit2a1e28044bea5e15ae9fb589ec35c8a633c53c03 (patch)
treefda1e8040207edac7c1e32f297027f8407511b44 /x11
parentd9574b1c7ef7a726bc728f896ee5d13cfd03c75a (diff)
downloadfreebsd-ports-gnome-2a1e28044bea5e15ae9fb589ec35c8a633c53c03.tar.gz
freebsd-ports-gnome-2a1e28044bea5e15ae9fb589ec35c8a633c53c03.tar.zst
freebsd-ports-gnome-2a1e28044bea5e15ae9fb589ec35c8a633c53c03.zip
- 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]
Diffstat (limited to 'x11')
-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%%