head	1.16;
access;
symbols
	RELEASE_8_3_0:1.14
	RELEASE_9_0_0:1.14
	RELEASE_7_4_0:1.12
	RELEASE_8_2_0:1.12
	RELEASE_6_EOL:1.12
	RELEASE_8_1_0:1.9
	RELEASE_7_3_0:1.9
	RELEASE_8_0_0:1.9
	RELEASE_7_2_0:1.9
	RELEASE_7_1_0:1.9
	RELEASE_6_4_0:1.9
	RELEASE_5_EOL:1.8
	RELEASE_7_0_0:1.5
	RELEASE_6_3_0:1.5
	PRE_XORG_7:1.5
	RELEASE_4_EOL:1.5
	RELEASE_6_2_0:1.5
	RELEASE_6_1_0:1.5
	RELEASE_5_5_0:1.5
	RELEASE_6_0_0:1.5
	RELEASE_5_4_0:1.5
	RELEASE_4_11_0:1.5
	RELEASE_5_3_0:1.5
	RELEASE_4_10_0:1.5
	RELEASE_5_2_1:1.4
	RELEASE_5_2_0:1.4
	RELEASE_4_9_0:1.3
	RELEASE_5_1_0:1.3
	RELEASE_4_8_0:1.3
	RELEASE_5_0_0:1.2
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2
	RELEASE_5_0_DP1:1.2
	RELEASE_4_5_0:1.2
	RELEASE_4_4_0:1.2
	RELEASE_4_3_0:1.2
	RELEASE_4_2_0:1.2;
locks; strict;
comment	@# @;


1.16
date	2012.11.17.06.01.22;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2012.06.11.07.20.07;	author martymac;	state Exp;
branches;
next	1.14;

1.14
date	2011.09.19.12.30.10;	author martymac;	state Exp;
branches;
next	1.13;

1.13
date	2011.06.23.08.31.52;	author martymac;	state Exp;
branches;
next	1.12;

1.12
date	2010.11.18.09.12.41;	author martymac;	state Exp;
branches;
next	1.11;

1.11
date	2010.09.27.12.08.23;	author martymac;	state Exp;
branches;
next	1.10;

1.10
date	2010.09.07.15.52.18;	author pgollucci;	state Exp;
branches;
next	1.9;

1.9
date	2008.06.19.19.35.54;	author pav;	state Exp;
branches;
next	1.8;

1.8
date	2008.05.30.13.43.46;	author miwi;	state Exp;
branches;
next	1.7;

1.7
date	2008.03.31.06.04.43;	author rafan;	state Exp;
branches;
next	1.6;

1.6
date	2008.03.16.22.35.35;	author pav;	state Exp;
branches;
next	1.5;

1.5
date	2004.02.05.20.37.48;	author trevor;	state Exp;
branches;
next	1.4;

1.4
date	2003.11.03.07.28.43;	author linimon;	state Exp;
branches;
next	1.3;

1.3
date	2003.03.07.06.10.50;	author ade;	state Exp;
branches;
next	1.2;

1.2
date	2000.10.25.16.59.43;	author trevor;	state Exp;
branches;
next	1.1;

1.1
date	2000.10.22.15.36.24;	author trevor;	state Exp;
branches;
next	;


desc
@@


1.16
log
@Switch exporter over
@
text
@# New ports collection makefile for:	vlock
# Date created:		08 Oct 2000
# Whom:			George Reid <services@@nevernet.net>
#
# $FreeBSD: head/security/vlock/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	vlock
PORTVERSION=	2.2.3
CATEGORIES=	security
MASTER_SITES=	http://cthulhu.c3d2.de/~toidinamai/vlock/archive/

MAINTAINER=	martymac@@FreeBSD.org
COMMENT=	Locks a terminal

LICENSE=	GPLv2

USE_GMAKE=	yes
HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-plugins --enable-pam \
		--prefix=${PREFIX} \
		--mandir=${MANPREFIX}/man \
		--with-modules="${VLOCKMODULES}" \
		--with-scripts="${VLOCKSCRIPTS}" \
		VLOCK_GROUP="${VLOCKGRP}" \
		VLOCK_MODE="0750" \
		EXTRA_CFLAGS="-I${LOCALBASE}/include" \
		EXTRA_LDFLAGS="-L${LOCALBASE}/lib"
USE_CSTD=	gnu99

OPTIONS_DEFINE=	ROOTPWD VLOCKSCRIPTS CACASAVER
OPTIONS_DEFAULT=	ROOTPWD
ROOTPWD_DESC=	Enable unlock using root password
VLOCKSCRIPTS_DESC=	Install sample hook scripts
CACASAVER_DESC=	Enable libcaca screensaver

MANLANG=	""
MAN1=		vlock.1
MAN5=		vlock-plugins.5
MAN8=		vlock-main.8

# Default scripts/modules
VLOCKSCRIPTS=
VLOCKMODULES=	all.so new.so

# Vlock group = vlock:*:129:
VLOCKGRP=	vlock
VLOCKGID=	129

PORTDOCS=	ChangeLog PLUGINS README README.X11 SECURITY TODO

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MROOTPWD}
CONFIGURE_ARGS+=	--enable-root-password
.else
CONFIGURE_ARGS+=	--disable-root-password
.endif

.if ${PORT_OPTIONS:MVLOCKSCRIPTS}
VLOCKSCRIPTS+=	amarok.sh example_script.sh mplayer.sh
PLIST_SUB+=	PL_VLOCKSCRIPTS=""
.else
PLIST_SUB+=	PL_VLOCKSCRIPTS="@@comment "
.endif

.if ${PORT_OPTIONS:MCACASAVER}
BUILD_DEPENDS+=	${LOCALBASE}/lib/libcaca.a:${PORTSDIR}/graphics/libcaca
VLOCKMODULES+=	caca.so
PLIST_SUB+=	PL_CACASAVER=""
.else
PLIST_SUB+=	PL_CACASAVER="@@comment "
.endif

post-patch:
	@@${REINPLACE_CMD} -e 's|-lncurses|-lm|' ${WRKSRC}/modules/Makefile

pre-install:
	if ! pw groupshow ${VLOCKGRP}; then pw groupadd ${VLOCKGRP} -g ${VLOCKGID}; fi

post-install:
.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>
@


1.15
log
@Switch to OptionsNg
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.14
log
@Update to 2.2.3
@
text
@d31 5
a35 3
OPTIONS=	ROOTPWD "Enable unlock using root password" on \
		VLOCKSCRIPTS "Install sample hook scripts" off \
		CACASAVER "Enable libcaca screensaver" off
d54 1
a54 1
.if !defined(WITHOUT_ROOTPWD)
d60 1
a60 1
.if !defined(WITHOUT_VLOCKSCRIPTS)
d67 1
a67 1
.if !defined(WITHOUT_CACASAVER)
d82 1
a82 1
.if !defined(NOPORTDOCS)
@


1.13
log
@- Fix build with clang
- Remove MD5 checksum
@
text
@d9 1
a9 2
PORTVERSION=	2.2.2
PORTREVISION=	2
@


1.12
log
@- Add missing LICENSE
- Remove license text from installed documents
- Improve PORTDOCS handling

Approved by:	ehaupt (mentor)
@
text
@d10 1
a10 1
PORTREVISION=	1
d30 1
@


1.11
log
@Update MAINTAINER address for my ports

Approved by:	ehaupt (mentor)
@
text
@d10 1
d17 2
d48 2
d82 3
a84 7
	${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/PLUGINS ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.X11 ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/SECURITY ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
@


1.10
log
@- Update MAINTAINER address for Ganael Laplanche <ganael.laplanche@@martymac.org>
- Update some MASTER_SITES too

PR:             ports/150349
Submitted by:   maintainer
@
text
@d13 1
a13 1
MAINTAINER=	ganael.laplanche@@martymac.org
@


1.9
log
@- Fix caca module in runtime
@
text
@d13 1
a13 1
MAINTAINER=	ganael.laplanche@@martymac.com
@


1.8
log
@- Update to 2.2.2

PR:		123949
Submitted by:	Ganael Laplanche <ganael.laplanche@@martymac.com> (maintainer)
@
text
@d68 3
@


1.7
log
@- Update to 2.2.1

PR:		ports/122230
Submitted by:	Ganael Laplanche <ganael.laplanche at martymac.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.2.1
d24 3
a26 2
		VLOCK_MODE="0750"
CONFIGURE_ENV=	LOCALBASE=${LOCALBASE}
d28 2
a29 1
OPTIONS=	VLOCKSCRIPTS "Install sample hook scripts" off \
d47 6
@


1.6
log
@- Update to 2.1
- Assume maintainership

PR:		ports/121678
Submitted by:	Ganael LAPLANCHE <ganael.laplanche@@martymac.com>
@
text
@d9 1
a9 1
PORTVERSION=	2.1
d17 12
d32 42
a73 2
MAN8=		vlock-current.8 vlock-all.8 vlock-new.8 vlock-nosysrq.8
PLIST_FILES=	bin/vlock sbin/vlock-current sbin/vlock-all sbin/vlock-nosysrq sbin/vlock-new
d75 1
a75 1
.include <bsd.port.mk>
@


1.5
log
@Use PLIST_FILES.

Reviewed by:	marcus
@
text
@d8 4
a11 5
PORTNAME=		vlock
PORTVERSION=		1.3
CATEGORIES=		security
MASTER_SITES=		${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	utils/console
d13 1
a13 1
MAINTAINER=		ports@@FreeBSD.org
d16 6
a21 2
MAN1=			vlock.1
PLIST_FILES=	bin/vlock
@


1.4
log
@Reset maintainer to ports@@FreeBSD.org.  Requested by: kris.
@
text
@d18 1
@


1.3
log
@Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d14 1
a14 1
MAINTAINER=		greid@@ukug.uk.freebsd.org
@


1.2
log
@Change maintainer's e-mail address.

Submitted by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/vlock/Makefile,v 1.1 2000/10/22 15:36:24 trevor Exp $
d15 1
@


1.1
log
@new port of vlock 1.3, a utility to lock a console until a password
is entered

PR:		21834
Submitted by:	George Reid <services@@nevernet.net>
@
text
@d5 1
a5 1
# $FreeBSD$
d14 1
a14 1
MAINTAINER=		services@@nevernet.net
@

