1999-12-25 16:05:59 +00:00
|
|
|
# New ports collection makefile for: orville-write
|
|
|
|
# Date created: 4 December 1999
|
|
|
|
# Whom: James Howard <howardj@wam.umd.edu>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-14 08:49:30 +00:00
|
|
|
PORTNAME= orville-write
|
|
|
|
PORTVERSION= 2.41a
|
1999-12-25 16:05:59 +00:00
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= http://www.wwnet.net/~janc/software/
|
|
|
|
|
|
|
|
MAINTAINER= howardjp@wam.umd.edu
|
|
|
|
|
|
|
|
MAN1= amin.1 helpers.1 huh.1 mesg.1 write.1
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@(cd ${WRKSRC}; ${RM} -f .depend)
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
do-install:
|
2000-03-09 08:33:08 +00:00
|
|
|
${INSTALL_PROGRAM} -g tty -o root -m 6711 ${WRKSRC}/write ${PREFIX}/bin
|
|
|
|
${LN} -sf ${PREFIX}/bin/write ${PREFIX}/bin/tel
|
|
|
|
${LN} -sf ${PREFIX}/bin/write ${PREFIX}/bin/chat
|
|
|
|
${INSTALL_PROGRAM} -o root -m 4711 ${WRKSRC}/mesg ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} -o root -m 4711 ${WRKSRC}/amin ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/huh ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} -o root -m 4711 ${WRKSRC}/helpers ${PREFIX}/bin
|
1999-12-25 16:05:59 +00:00
|
|
|
${TOUCH} /var/run/wrttmp
|
|
|
|
${TOUCH} /var/run/wrthist
|
|
|
|
${TOUCH} /var/log/writelog
|
2000-03-09 08:33:08 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/wrttab ${PREFIX}/etc/wrttab
|
1999-12-25 16:05:59 +00:00
|
|
|
.for f in ${MAN1}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${f} ${PREFIX}/man/man1/
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|