aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2006-03-24 08:45:09 +0800
committermnag <mnag@FreeBSD.org>2006-03-24 08:45:09 +0800
commitaacadc7ca336bee81a5d5fa137e47190685fb469 (patch)
treea19cc9605f01aae8615c08bdc4345cce12f67121
parent914cadbbf741f727f7a41f2ba4088b5a7f940a78 (diff)
downloadfreebsd-ports-gnome-aacadc7ca336bee81a5d5fa137e47190685fb469.tar.gz
freebsd-ports-gnome-aacadc7ca336bee81a5d5fa137e47190685fb469.tar.zst
freebsd-ports-gnome-aacadc7ca336bee81a5d5fa137e47190685fb469.zip
- Use OPTIONS
- Remove extra TABS PR: 94788 Submitted by: Ion-Mihai "IOnut" Tetcu Approved by: maintainer
-rw-r--r--x11/xkbset/Makefile41
1 files changed, 22 insertions, 19 deletions
diff --git a/x11/xkbset/Makefile b/x11/xkbset/Makefile
index 1720864a8e0b..ffaa9c1f60e1 100644
--- a/x11/xkbset/Makefile
+++ b/x11/xkbset/Makefile
@@ -5,34 +5,37 @@
# $FreeBSD$
#
-PORTNAME= xkbset
-PORTVERSION= 0.5
-PORTREVISION= 1
-CATEGORIES= x11
-MASTER_SITES= http://www.math.missouri.edu/~stephen/software/xkbset/
+PORTNAME= xkbset
+PORTVERSION= 0.5
+PORTREVISION= 1
+CATEGORIES= x11
+MASTER_SITES= http://www.math.missouri.edu/~stephen/software/xkbset/
-MAINTAINER= stephen@math.missouri.edu
+MAINTAINER= stephen@math.missouri.edu
COMMENT= Manage various XKB features of X Window
-MAN1= xkbset.1
-USE_X_PREFIX= yes
-USE_REINPLACE= yes
+MAN1= xkbset.1
+USE_X_PREFIX= yes
USE_PERL5_BUILD= yes
-MAKE_ARGS= X11BASE="${X11BASE}" X11PREFIX="${PREFIX}" \
- INSTALL_DATA="${INSTALL_DATA}" \
- INSTALL_PROGRAM="${INSTALL_PROGRAM}"
+MAKE_ARGS= X11BASE="${X11BASE}" X11PREFIX="${PREFIX}" \
+ INSTALL_DATA="${INSTALL_DATA}" \
+ INSTALL_PROGRAM="${INSTALL_PROGRAM}"
+
+OPTIONS= GUI "Install Tk GUI" off
+
+.include <bsd.port.pre.mk>
.if defined(WITH_GUI)
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk
-PLIST_SUB= GUI=""
-MAKE_ARGS+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk
+PLIST_SUB= GUI=""
+MAKE_ARGS+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
.else
-PLIST_SUB= GUI="@comment "
-MAKE_ARGS+= INSTALL_SCRIPT=:
+PLIST_SUB= GUI="@comment "
+MAKE_ARGS+= INSTALL_SCRIPT=:
.endif
post-build:
- ${REINPLACE_CMD} "s%#!/usr/bin/perl%#!${PERL}%" ${WRKSRC}/xkbset-gui
+ @${REINPLACE_CMD} "s%#!/usr/bin/perl%#!${PERL}%" ${WRKSRC}/xkbset-gui
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>