aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-12-11 15:36:57 +0800
committerbapt <bapt@FreeBSD.org>2012-12-11 15:36:57 +0800
commit61eaa78f8a657c1b9830c59cf1569346817257ef (patch)
tree981431bc5d6f444f70f6e06a500cc4af9d04c06b /x11
parent35620551c230aa74554c842c374a34f1e958e0cb (diff)
downloadfreebsd-ports-gnome-61eaa78f8a657c1b9830c59cf1569346817257ef.tar.gz
freebsd-ports-gnome-61eaa78f8a657c1b9830c59cf1569346817257ef.tar.zst
freebsd-ports-gnome-61eaa78f8a657c1b9830c59cf1569346817257ef.zip
Convert SINGLE to RADIO option
Removed useless bsd.port.{pre,post}.mk which was wrong and used to work by accident, bsd.port.options.mk should never be included after bsd.port.pre.mk Reported by: flo Reviewed by: jgh (maintainer)
Diffstat (limited to 'x11')
-rw-r--r--x11/xlockmore/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index b16dc112a1c3..d79ee05e3643 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -21,8 +21,6 @@ CONFIGURE_ARGS= --without-motif --without-ttf --without-editres \
USE_GNOME= #
USE_XORG= x11 xaw ice
-.include <bsd.port.pre.mk>
-
LIB_DEPENDS+= freetype:${PORTSDIR}/print/freetype2
MAN1= xlock.1
@@ -43,10 +41,8 @@ XLOCK_GROUP_DESC= Allow xlock group to logout
TIME_BOMB_DESC= Allow autologout
CUSTOMIZATION_DESC= Allow tune through resource file
-OPTIONS_DEFINE+= ONE
-OPTIONS_SINGLE= ONE
-OPTIONS_SINGLE_ONE= PAM XLOCK_GROUP
-ONE_DESC= Choose one of PAM or XLOCK_GROUP
+OPTIONS_RADIO= ONE
+OPTIONS_RADIO_ONE= PAM XLOCK_GROUP
NO_OPTIONS_SORT=yes
@@ -147,4 +143,4 @@ post-patch:
post-configure:
${REINPLACE_CMD} -e 's/-lXdpms//g' ${WRKSRC}/modes/Makefile
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>