aboutsummaryrefslogtreecommitdiff
path: root/x11/xlockmore
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-12-11 07:36:57 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-12-11 07:36:57 +0000
commit79acadb55f39df39d6f1a5dc692c2bbeef69b239 (patch)
tree981431bc5d6f444f70f6e06a500cc4af9d04c06b /x11/xlockmore
parentb09853e5dc197ec7f6d5637fbae4d32d1349b781 (diff)
downloadports-79acadb55f39df39d6f1a5dc692c2bbeef69b239.tar.gz
ports-79acadb55f39df39d6f1a5dc692c2bbeef69b239.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)
Notes
Notes: svn path=/head/; revision=308667
Diffstat (limited to 'x11/xlockmore')
-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>