Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

3
net/netname/DESCR Normal file
View File

@@ -0,0 +1,3 @@
netname returns the canonical network name of the given
host on the standard output. If no host is given, the
name of the local machine is used.

24
net/netname/Makefile Normal file
View File

@@ -0,0 +1,24 @@
# $NetBSD: Makefile,v 1.15 2013/03/14 14:20:58 kim Exp $
#
DISTNAME= netname-2.2
CATEGORIES= net
MASTER_SITES= http://oss.gw.com/people/kim/
MAINTAINER= kim@tac.nyc.ny.us
COMMENT= Return the canonical network name of a host
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
BUILD_TARGET= svr4
.else
BUILD_TARGET= netname
.endif
INSTALL_TARGET= inst-all
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
MAKE_ENV+= INSTALL=${TOOLS_PATH.install:Q}
.include "../../mk/bsd.pkg.mk"

3
net/netname/PLIST Normal file
View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:56:41 zuntum Exp $
bin/netname
man/man1/netname.1

6
net/netname/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.7 2013/03/14 12:45:52 kim Exp $
SHA1 (netname-2.2.tar.gz) = 84e3ae1934f0ed67049fea4c46e2270f54f08c5a
RMD160 (netname-2.2.tar.gz) = 47b749372e0067d8ce0a904ed1e9f0cdd90aa020
Size (netname-2.2.tar.gz) = 5767 bytes
SHA1 (patch-aa) = abfaab5aaa6edc64d5ee39e5ce0439c4477ee4ac

View File

@@ -0,0 +1,33 @@
$NetBSD: patch-aa,v 1.4 2010/02/11 22:18:35 joerg Exp $
--- Makefile.orig 1999-09-15 03:15:12.000000000 +0000
+++ Makefile
@@ -5,13 +5,9 @@
#
SHELL = /bin/sh
-RM = rm -f
-MV = mv -f
-INSTALL = install
-
-DEST = /usr/local
+DEST = ${DESTDIR}$(PREFIX)
BINDIR = $(DEST)/bin
-MANDIR = $(DEST)/man/man$(MANEXT)
+MANDIR = $(DEST)/$(PKGMANDIR)/man$(MANEXT)
MANEXT = 1
#
@@ -74,12 +70,9 @@ netname: netname.c
inst-all: install install.man
install:
- -$(MV) $(BINDIR)/netname $(BINDIR)/netname.old
- -$(RM) $(BINDIR)/netname.old
$(INSTALL) -c -s -m 0555 netname $(BINDIR)
install.man:
- -$(RM) $(MANDIR)/netname.$(MANEXT)
$(INSTALL) -c -m 0444 netname.man $(MANDIR)/netname.$(MANEXT)
clean: