aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gone/Makefile
blob: 161174baa2cb6fc5d5b801d1b4461c7e2692ff0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Created by: marcus
# $FreeBSD$

PORTNAME=   gone
PORTVERSION=    1.3.6
CATEGORIES= misc
MASTER_SITES=   http://www.marcuscom.com/downloads/gone/

MAINTAINER= marcus@FreeBSD.org
COMMENT=    Terminal locking utility with many improvements over lock(1)

PLIST_FILES=    bin/gone man/man1/gone.1.gz
GNU_CONFIGURE=  yes

OPTIONS_DEFINE= SETUID
SETUID_DESC=    Install gone setuid root for password support

.include <bsd.port.options.mk>

#
# 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.
#
.if ${PORT_OPTIONS:MSETUID}
CONFIGURE_ENV=  with_setuid=yes
.else
CONFIGURE_ENV=  with_setuid=no
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/gone ${STAGEDIR}${PREFIX}/bin/gone
    ${INSTALL_DATA} ${WRKSRC}/gone.1 ${STAGEDIR}${PREFIX}/man/man1/gone.1

.include <bsd.port.mk>