# Created by: Max Khon # $FreeBSD: head/sysutils/open/Makefile 386312 2015-05-14 10:15:04Z mat $ 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/ \ LOCAL/fjoe MAINTAINER= fjoe@FreeBSD.org COMMENT= Open opens a new vt and runs a command on it ALL_TARGET= open PLIST_FILES= bin/open man/man1/open.1.gz OPTIONS_DEFINE= SETUID SETUID_DESC= Install setuid open binary PKGMESSAGE= ${WRKDIR}/pkg-message .include do-install: ${INSTALL_PROGRAM} ${WRKSRC}/open ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/open.1 ${STAGEDIR}${MANPREFIX}/man/man1 .if ${PORT_OPTIONS:MSETUID} ${CHMOD} u+s ${STAGEDIR}${PREFIX}/bin/open .else @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \ ${FILESDIR}/pkg-message.in > ${PKGMESSAGE} .endif .include