freebsd-ports/sysutils/open/Makefile
Max Khon aa292cbf82 New port: open 1.4
Open opens a new vt and runs a command on it. It can be used as a simple
way to start several console logins without having to type your passwd
on each VT in turn. open can be used as a simpler to use replacement for
the doshell(8) command.

open is similar in functionality to the AIX/RS6000 command of the same name.
2004-02-10 23:28:21 +00:00

37 lines
947 B
Makefile

# New ports collection makefile for: open
# Date created: 10 Feb 2004
# Whom: Max Khon <fjoe@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= open
PORTVERSION= 1.4
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.hs-niederrhein.de/pub/linux/src/ \
ftp://ftp.uni-bremen.de/pub/mirrors/sunsite/utils/console/ \
ftp://ftp.anu.edu.au/sunsite/mnt/disk1/linux/metalab/utils/console/
MAINTAINER= fjoe@FreeBSD.org
COMMENT= Open opens a new vt and runs a command on it
ALL_TARGET= open
MAN1= open.1
PLIST_FILES= bin/open
OPTIONS= SETUID "Install setuid open binary" off
PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.pre.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/open ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/open.1 ${PREFIX}/man/man1
.if defined(WITH_SETUID)
${CHMOD} u+s ${PREFIX}/bin/open
.else
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.post.mk>