aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2002-11-25 09:07:17 +0800
committernaddy <naddy@FreeBSD.org>2002-11-25 09:07:17 +0800
commit5df56cf117b3ab56db67a9b726046f1b95ac720c (patch)
treeb92f2602d7a830d4dd4c07262b983ab227da6f51 /x11
parentecc3f5d4d18df6901073e31ee054bf00576d7c5a (diff)
downloadfreebsd-ports-gnome-5df56cf117b3ab56db67a9b726046f1b95ac720c.tar.gz
freebsd-ports-gnome-5df56cf117b3ab56db67a9b726046f1b95ac720c.tar.zst
freebsd-ports-gnome-5df56cf117b3ab56db67a9b726046f1b95ac720c.zip
Update to 0.5.
Based on PR: 45545 Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
Diffstat (limited to 'x11')
-rw-r--r--x11/xkbset/Makefile18
-rw-r--r--x11/xkbset/distinfo2
-rw-r--r--x11/xkbset/pkg-plist3
3 files changed, 19 insertions, 4 deletions
diff --git a/x11/xkbset/Makefile b/x11/xkbset/Makefile
index 9d180fc179af..b9fe307fb71d 100644
--- a/x11/xkbset/Makefile
+++ b/x11/xkbset/Makefile
@@ -6,14 +6,28 @@
#
PORTNAME= xkbset
-PORTVERSION= 0.3
+PORTVERSION= 0.5
CATEGORIES= x11
MASTER_SITES= http://www.math.missouri.edu/~stephen/software/xkbset/
MAINTAINER= stephen@math.missouri.edu
MAN1= xkbset.1
-USE_XLIB= yes
USE_X_PREFIX= yes
+USE_REINPLACE= yes
+USE_PERL5_BUILD= yes
+
+# xkbset-gui needs p5-Tk, but we do not want to force such a heavy
+# dependency for an optional component.
+#
+#RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk
+
+MAKE_ARGS= X11BASE="${X11BASE}" X11PREFIX="${PREFIX}" \
+ INSTALL_DATA="${INSTALL_DATA}" \
+ INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
+ INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+
+post-build:
+ ${REINPLACE_CMD} "s%#!/usr/bin/perl%#!${PERL}%" ${WRKSRC}/xkbset-gui
.include <bsd.port.mk>
diff --git a/x11/xkbset/distinfo b/x11/xkbset/distinfo
index 652b1081d342..8e2fcde78664 100644
--- a/x11/xkbset/distinfo
+++ b/x11/xkbset/distinfo
@@ -1 +1 @@
-MD5 (xkbset-0.3.tar.gz) = 314543769dc5e1da80e3b64f690af753
+MD5 (xkbset-0.5.tar.gz) = 282c416a76a237fa84a7b513c9d7b2cf
diff --git a/x11/xkbset/pkg-plist b/x11/xkbset/pkg-plist
index 1798f6fdd3f8..62f2a28add67 100644
--- a/x11/xkbset/pkg-plist
+++ b/x11/xkbset/pkg-plist
@@ -1,2 +1,3 @@
+@comment $FreeBSD$
bin/xkbset
-bin/mskacc-gui
+bin/xkbset-gui