summaryrefslogtreecommitdiff
path: root/security/cops/Makefile
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>1998-06-04 04:12:03 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>1998-06-04 04:12:03 +0000
commit58a7add65cc717ced042e5b7f414be5b34b67a5a (patch)
tree9967d954ceb50685435861d35aec3ca32b63e684 /security/cops/Makefile
parent1. Add a patch for compressed man page. (diff)
1. Correct MASTER_SITES.
2. Sort pkg/PLIST.
Notes
Notes: svn path=/head/; revision=11242
Diffstat (limited to 'security/cops/Makefile')
-rw-r--r--security/cops/Makefile30
1 files changed, 15 insertions, 15 deletions
diff --git a/security/cops/Makefile b/security/cops/Makefile
index 7acae3dcd72a..a2e7f93facd0 100644
--- a/security/cops/Makefile
+++ b/security/cops/Makefile
@@ -1,38 +1,38 @@
-# new ports collection makefile for: cops
+# New ports collection makefile for: cops
# Version required: 1.04
# Date created: 29 August 1996
# Whom: oly
#
-# $Id: Makefile,v 1.2 1996/11/17 19:29:55 obrien Exp $
+# $Id: Makefile,v 1.3 1996/11/18 07:31:46 obrien Exp $
#
-DISTNAME= cops_104
+DISTNAME= cops.1.04
PKGNAME= cops-1.04
CATEGORIES= security
-MASTER_SITES= ftp://ftp.cert.org/pub/tools/cops/1.04/
-EXTRACT_SUFX= .tar.Z
+MASTER_SITES= ftp://ftp.cert.org/pub/tools/cops/
MAINTAINER= oly@world.std.com
-EXECUTABLE = home.chk user.chk is_writable crc crc_check \
- addto clearfiles filewriters members tilde is_able
-C_SRC = home.chk.c user.chk.c is_able.c is_something.c \
- addto.c clearfiles.c filewriters.c members.c tilde.c \
- crc.c crc_check.c
+WRKSRC= ${WRKDIR}/cops_104
+EXECUTABLE= home.chk user.chk is_writable crc crc_check \
+ addto clearfiles filewriters members tilde is_able
+C_SRC= home.chk.c user.chk.c is_able.c is_something.c \
+ addto.c clearfiles.c filewriters.c members.c tilde.c \
+ crc.c crc_check.c
pre-build:
(cd ${WRKSRC} ; ./reconfig)
(cd ${WRKSRC} ; \
- sed 's,^SECURE=/usr/foo/bar,SECURE=${PREFIX}/cops,g' < cops | sed '/^$$SECURE\/passwd\.chk.*/d' | sed 's,SECURE_USERS="foo@bar\.edu",SECURE_USERS="root@localhost",g' | sed 's/passwd\.chk pass.chk //g' > cops.out ; \
- mv cops.out cops ; chmod u+x cops)
+ ${SED} 's,^SECURE=/usr/foo/bar,SECURE=${PREFIX}/cops,g' < cops | ${SED} '/^$$SECURE\/passwd\.chk.*/d' | ${SED} 's,SECURE_USERS="foo@bar\.edu",SECURE_USERS="root@localhost",g' | ${SED} 's/passwd\.chk pass.chk //g' > cops.out ; \
+ ${MV} cops.out cops ; chmod u+x cops)
do-build:
(cd ${WRKSRC} ; make EXECUTABLE="${EXECUTABLE}" C_SRC="${C_SRC}")
do-install:
- (cd ${WRKDIR} ; rm -rf ${PREFIX}/cops ; ${MKDIR} ${PREFIX}/cops ; \
- ${CP} -R ${DISTNAME}/* ${PREFIX}/cops ; \
+ (cd ${WRKSRC} ; ${RM} -rf ${PREFIX}/cops ; ${MKDIR} ${PREFIX}/cops ; \
+ ${CP} -R * ${PREFIX}/cops ; \
chmod -R go-rwx ${PREFIX}/cops ; \
- rm -rf ${PREFIX}/cops/*.old ${PREFIX}/cops/src)
+ ${RM} -rf ${PREFIX}/cops/*.old ${PREFIX}/cops/src)
.include <bsd.port.mk>