2013-06-03 09:40:32 +02:00
|
|
|
# Created by: marcus
|
1999-08-25 09:23:21 +02:00
|
|
|
# $FreeBSD$
|
1998-04-20 04:09:56 +02:00
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
PORTNAME= gone
|
2010-08-01 18:21:12 +02:00
|
|
|
PORTVERSION= 1.3.6
|
2001-01-16 18:33:20 +01:00
|
|
|
CATEGORIES= misc
|
2010-08-01 18:21:12 +02:00
|
|
|
MASTER_SITES= http://www.marcuscom.com/downloads/gone/
|
1998-04-20 04:09:56 +02:00
|
|
|
|
2002-04-06 01:26:36 +02:00
|
|
|
MAINTAINER= marcus@FreeBSD.org
|
2014-07-07 17:31:01 +02:00
|
|
|
COMMENT= Terminal locking utility with many improvements over lock(1)
|
1998-04-20 04:09:56 +02:00
|
|
|
|
2014-06-08 01:55:00 +02:00
|
|
|
PLIST_FILES= bin/gone man/man1/gone.1.gz
|
2001-01-16 18:33:20 +01:00
|
|
|
GNU_CONFIGURE= yes
|
1998-04-20 04:09:56 +02:00
|
|
|
|
2013-06-03 09:40:32 +02:00
|
|
|
OPTIONS_DEFINE= SETUID
|
|
|
|
SETUID_DESC= Install gone setuid root for password support
|
2010-08-01 18:21:12 +02:00
|
|
|
|
2013-06-03 09:40:32 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2010-08-01 18:21:12 +02:00
|
|
|
|
1998-05-24 05:19:19 +02:00
|
|
|
#
|
|
|
|
# If you would like to be able to use system passwords for gone
|
|
|
|
# override this with WITH_SETUID=yes in your environment.
|
|
|
|
# Be aware that setting gone to suid MAY be a security hole.
|
|
|
|
#
|
2013-06-03 09:40:32 +02:00
|
|
|
.if ${PORT_OPTIONS:MSETUID}
|
2000-04-17 02:19:02 +02:00
|
|
|
CONFIGURE_ENV= with_setuid=yes
|
1998-04-20 06:41:16 +02:00
|
|
|
.else
|
2000-04-17 02:19:02 +02:00
|
|
|
CONFIGURE_ENV= with_setuid=no
|
1998-04-20 06:41:16 +02:00
|
|
|
.endif
|
2000-04-17 02:19:02 +02:00
|
|
|
|
2014-06-08 01:55:00 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gone ${STAGEDIR}${PREFIX}/bin/gone
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gone.1 ${STAGEDIR}${PREFIX}/man/man1/gone.1
|
|
|
|
|
2014-06-08 02:37:38 +02:00
|
|
|
.include <bsd.port.mk>
|