Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2002 10:46:31 -0700
From:      Jos Backus <jos@catnook.com>
To:        stable@FreeBSD.ORG, hackers@FreeBSD.ORG
Cc:        Manoj Kasichainula <manojk@io.com>
Subject:   Re: non-root /var/run files (was Re: Sendmail, smmsp, and pid file)
Message-ID:  <20020528174653.GC11876@lizzy.catnook.com>
In-Reply-To: <20020528010708.GB5934@lizzy.catnook.com>
References:  <20020527215031.GA5934@lizzy.catnook.com> <200205272342.DAA22488@aaz.links.ru> <20020528010708.GB5934@lizzy.catnook.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Tue, May 28, 2002 at 03:42:31AM +0400, "."@babolo.ru wrote:
> Begin with port.

Please find attached a port skeleton for mktool 0.0.7. Perhaps we can suggest
a more descriptive name to the author (cc'ed)?

Feedback welcome.

-- 
Jos Backus                 _/  _/_/_/        Santa Clara, CA
                          _/  _/   _/
                         _/  _/_/_/             
                    _/  _/  _/    _/
jos@catnook.com     _/_/   _/_/_/            use Std::Disclaimer;

[-- Attachment #2 --]
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mktool
#	mktool/distinfo
#	mktool/Makefile
#	mktool/pkg-comment
#	mktool/pkg-descr
#	mktool/pkg-plist
#
echo c - mktool
mkdir -p mktool > /dev/null 2>&1
echo x - mktool/distinfo
sed 's/^X//' >mktool/distinfo << 'END-of-mktool/distinfo'
XMD5 (mktool-0.0.7.tar.gz) = cb2d4c919dca5c0a9e4fbf1a1b91d736
END-of-mktool/distinfo
echo x - mktool/Makefile
sed 's/^X//' >mktool/Makefile << 'END-of-mktool/Makefile'
X# ports collection makefile for:        mktool
X# Date created:                         2002/05/28
X# Whom:                                 josb
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mktool
XPORTVERSION=	0.0.7
XCATEGORIES=	sysutils
XMASTER_SITES=	http://www.io.com/~manoj/file/
X
XMAINTAINER=	jos@catnook.com
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
XUSE_GMAKE=	yes
XNOMAN=		true
X
Xpost-extract:
X	cd ${WRKSRC}; ${SED} -i ".orig" \
X	-e 's,^OPT=.*,OPT=${CFLAGS},' \
X	-e 's,^bindir=.*,bindir=${PREFIX}/bin,' \
X	-e 's,cp -a,install -m ${BINMODE},' \
X	Makefile
X
X.include <bsd.port.mk>
END-of-mktool/Makefile
echo x - mktool/pkg-comment
sed 's/^X//' >mktool/pkg-comment << 'END-of-mktool/pkg-comment'
XSome tools to manage processes and network services
END-of-mktool/pkg-comment
echo x - mktool/pkg-descr
sed 's/^X//' >mktool/pkg-descr << 'END-of-mktool/pkg-descr'
XSome tools to manage processes and network services.
END-of-mktool/pkg-descr
echo x - mktool/pkg-plist
sed 's/^X//' >mktool/pkg-plist << 'END-of-mktool/pkg-plist'
Xbin/babysit
Xbin/bsok
Xbin/envuidgid
Xbin/execlp
Xbin/setugid
Xbin/tcpaccept
Xbin/tcplisten
END-of-mktool/pkg-plist
exit


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020528174653.GC11876>