aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>1999-04-16 18:22:09 +0800
committerkris <kris@FreeBSD.org>1999-04-16 18:22:09 +0800
commita3650bcbe555be18fb3b4fade48b63d04f8d1b2f (patch)
treec6d2fe24fddf70baaf24ad7d323536c6855f7eeb /security
parent66d9259b1a5329e2356b066a7580bb4eee66a088 (diff)
downloadfreebsd-ports-gnome-a3650bcbe555be18fb3b4fade48b63d04f8d1b2f.tar.gz
freebsd-ports-gnome-a3650bcbe555be18fb3b4fade48b63d04f8d1b2f.tar.zst
freebsd-ports-gnome-a3650bcbe555be18fb3b4fade48b63d04f8d1b2f.zip
Clean up treatment of manpages, respect CC and CFLAGS.
Reviewed by: obrien
Diffstat (limited to 'security')
-rw-r--r--security/nbaudit/Makefile8
-rw-r--r--security/nbaudit/files/patch-0113
-rw-r--r--security/nbaudit/pkg-plist5
3 files changed, 15 insertions, 11 deletions
diff --git a/security/nbaudit/Makefile b/security/nbaudit/Makefile
index 70e1dc1dcae9..9a5c374286a6 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 <bsd.port.mk>
diff --git a/security/nbaudit/files/patch-01 b/security/nbaudit/files/patch-01
index bc7eeffcb9ce..4757521e8672 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 aa0b65649b34..df026ea806bf 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