head	1.3;
access;
symbols
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1
	RELEASE_4_8_0:1.1
	RELEASE_5_0_0:1.1
	RELEASE_4_7_0:1.1
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1
	RELEASE_4_5_0:1.1
	RELEASE_4_4_0:1.1
	RELEASE_4_3_0:1.1
	RELEASE_4_2_0:1.1;
locks; strict;
comment	@# @;


1.3
date	2008.03.16.22.35.35;	author pav;	state dead;
branches;
next	1.2;

1.2
date	2004.06.16.15.26.41;	author krion;	state Exp;
branches;
next	1.1;

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


desc
@@


1.3
log
@- Update to 2.1
- Assume maintainership

PR:		ports/121678
Submitted by:	Ganael LAPLANCHE <ganael.laplanche@@martymac.com>
@
text
@--- Makefile.orig	Thu Jan 14 01:19:14 1999
+++ Makefile	Wed Jun 16 17:23:34 2004
@@@@ -1,24 +1,19 @@@@
 # vlock makefile
 
-CC = gcc
-# remove the -DUSE_PAM, -ldl, and -lpam if you aren't using PAM
-RPM_OPT_FLAGS=-O2
-CFLAGS = $(RPM_OPT_FLAGS) -DUSE_PAM
-LDFLAGS = -ldl -lpam -lpam_misc
+CFLAGS += -DUSE_PAM
+LDFLAGS = -lpam
 
 OBJS = vlock.o signals.o help.o terminal.o input.o
 
-vlock: $(OBJS)
+all:	vlock
 
-vlock.man: vlock.1
-	groff -man -Tascii vlock.1 > vlock.man
+vlock:	$(OBJS)
+	cc $(OBJS) $(LDFLAGS) -o vlock
 
-vlock.o: vlock.h version.h
-signals.o: vlock.h
-help.o: vlock.h
-terminal.o: vlock.h
-input.o: vlock.h
+install:
+	/usr/bin/install -c -s -o root -g wheel -m 4555 vlock ${PREFIX}/bin
+	/usr/bin/install -c -o root -g wheel -m 444 vlock.1 ${MANPREFIX}/man/man1
 
 clean:
-	rm -f $(OBJS) vlock core core.vlock
+	rm -f $(OBJS) vlock vlock.core
 
@


1.2
log
@Respect PREFIX

PR:		ports/68008
Submitted by:	Kevin Way <kevin.way@@overtone.org>
@
text
@@


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
@d1 2
a2 2
--- Makefile.orig	Sun Oct  8 18:03:19 2000
+++ Makefile		Sun Oct  8 18:03:24 2000
d30 2
a31 2
+	/usr/bin/install -c -s -o root -g wheel -m 4555 vlock /usr/local/bin/vlock
+	/usr/bin/install -c -o root -g wheel -m 444 vlock.1 /usr/local/man/man1
@

