From a3650bcbe555be18fb3b4fade48b63d04f8d1b2f Mon Sep 17 00:00:00 2001 From: kris Date: Fri, 16 Apr 1999 10:22:09 +0000 Subject: Clean up treatment of manpages, respect CC and CFLAGS. Reviewed by: obrien --- security/nbaudit/Makefile | 8 +++----- security/nbaudit/files/patch-01 | 13 +++++++++++-- security/nbaudit/pkg-plist | 5 +---- 3 files changed, 15 insertions(+), 11 deletions(-) (limited to 'security/nbaudit') diff --git a/security/nbaudit/Makefile b/security/nbaudit/Makefile index 70e1dc1..9a5c374 100644 --- a/security/nbaudit/Makefile +++ b/security/nbaudit/Makefile @@ -4,7 +4,7 @@ # Date created: Mon Feb 03, 1997 # Whom: David O'Brien (obrien@NUXI.com) # -# $Id: Makefile,v 1.1.1.1 1998/02/14 04:10:30 obrien Exp $ +# $Id: Makefile,v 1.2 1998/11/21 23:05:10 obrien Exp $ # DISTNAME= nat10 @@ -16,14 +16,12 @@ MASTER_SITES= ftp://ftp.secnet.com/pub/tools/nat10/ \ MAINTAINER= obrien@FreeBSD.org WRKSRC= ${WRKDIR}/${DISTNAME} -MAN1= nat.1 +MAN1= nat.1 nbaudit.1 do-install: @${INSTALL_PROGRAM} ${WRKSRC}/nat ${PREFIX}/bin @ln -f ${PREFIX}/bin/nat ${PREFIX}/bin/nbaudit @${INSTALL_MAN} ${WRKSRC}/nat.1 ${PREFIX}/man/man1 - -after-install: - @ln -f ${PREFIX}/man/man1/nat.1.gz ${PREFIX}/man/man1/nbaudit.1.gz + @ln -f ${PREFIX}/man/man1/nat.1 ${PREFIX}/man/man1/nbaudit.1 .include diff --git a/security/nbaudit/files/patch-01 b/security/nbaudit/files/patch-01 index bc7eeff..4757521e 100644 --- a/security/nbaudit/files/patch-01 +++ b/security/nbaudit/files/patch-01 @@ -1,5 +1,14 @@ ---- Makefile.orig Sun Feb 16 19:18:04 1997 -+++ Makefile Wed Jan 21 03:02:33 1998 +--- Makefile.orig Mon Feb 17 13:48:04 1997 ++++ Makefile Fri Apr 9 23:13:30 1999 +@@ -2,7 +2,7 @@ + # Makefile for Samba SMB client/server for unix + # Copyright Andrew Tridgell 1992,1993,1994 + ########################################################################### +-CC = gcc ++CC ?= gcc + + # set this to the default group you want your machine to appear in + # for browsing. This can also be set in nmbd (see nmbd(8)) @@ -189,8 +189,8 @@ # This is for FreeBSD # contributed by kuku@acds.physik.rwth-aachen.de diff --git a/security/nbaudit/pkg-plist b/security/nbaudit/pkg-plist index aa0b656..df026ea 100644 --- a/security/nbaudit/pkg-plist +++ b/security/nbaudit/pkg-plist @@ -1,5 +1,2 @@ bin/nat -@exec ln -fs %D/%F %B/nbaudit -@unexec rm %B/nbaudit -@exec ln -fs %D/man/man1/nat.1.gz %D/man/man1/nbaudit.1.gz -@unexec rm %D/man/man1/nbaudit.1.gz +bin/nbaudit -- cgit v1.1