Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 2010 15:39:39 +0800
From:      Joe <joeb_722@comclark.com>
To:        freebsd-ports@freebsd.org
Subject:   Cant get new port Makefile to work
Message-ID:  <4C400CBB.5010404@comclark.com>

next in thread | raw e-mail | index | archive | help
Very simple port. All the files are in the port's files directory.
When I do "make install" i get message "Need an operator"

The Makefile follows

PORTNAME=	qjail
PORTVERSION=	1.0
CATEGORIES=	sysutils
MASTER_SITES=   # none, All the files are in this ports files directory
DISTFILES=      # none

MAINTAINER=	qjail@a1poweruser.com
COMMENT=	A jail utility to deploy large numbers of jails quickly.

LICENSE=        BSD

NO_BUILD=       yes

do-install:
${CP} /etc/rc.d/jail          /etc/rc.d/jail.original
${CP} ${FILESDIR}jail         /etc/rc.d/
${CP} ${FILESDIR}/qjail       ${LOCALBASE}/usr/local/bin/
${CP} ${FILESDIR}/qjail.sh    ${LOCALBASE}/usr/local/etc/rc.d/
${CP} ${FILESDIR}/qjail-conf.sample  ${LOCALBASE}/usr/local/etc/
${CP} ${FILESDIR}/qjail.8     ${LOCALBASE}/usr/local/man/man8/
${CP} ${FILESDIR}/qjail-intro.8 ${LOCALBASE}/usr/local/man/man8/
${CP} ${FILESDIR}/qjail-conf.8  ${LOCALBASE}/usr/local/man/man8/
${MKDIR} ${LOCALBASE}/usr/local/share/examples/qjail

${CP} -R -p ${FILESDIR}/examples 
${LOCALBASE}/usr/local/share/examples/qjail/

${CHMOD} 0755 ${LOCALBASE}/etc/rc.d/jail
${CHMOD} 0755 ${LOCALBASE}/usr/local/bin/qjail
${CHMOD} 0755 ${LOCALBASE}/usr/local/etc/rc.d/qjail.sh
post-install:
         ${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>

This is patterned after the bsdstats port Makefile.

Thanks for you help



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