2013-06-13 12:25:23 +00:00
|
|
|
# Created by: James Howard <howardj@wam.umd.edu>
|
1999-12-25 16:05:59 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2000-04-14 08:49:30 +00:00
|
|
|
PORTNAME= orville-write
|
2005-10-13 19:18:53 +00:00
|
|
|
PORTVERSION= 2.55
|
1999-12-25 16:05:59 +00:00
|
|
|
CATEGORIES= misc
|
2003-09-08 05:59:07 +00:00
|
|
|
MASTER_SITES= http://unixpapa.com/software/
|
1999-12-25 16:05:59 +00:00
|
|
|
|
2003-08-15 22:25:31 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 12:51:06 +00:00
|
|
|
COMMENT= Advanced replacement for write/mesg
|
1999-12-25 16:05:59 +00:00
|
|
|
|
2000-07-16 19:49:46 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2013-06-13 12:25:23 +00:00
|
|
|
CFLAGS+= -Wno-return-type
|
1999-12-25 16:05:59 +00:00
|
|
|
|
2014-09-14 19:24:34 +00:00
|
|
|
PLIST_FILES= "@(,,4711) bin/amin" "@(,,4711) bin/helpers" "@(,,4711) bin/huh" \
|
|
|
|
bin/jot "@(,,4711) bin/mesg" bin/tel bin/telegram \
|
|
|
|
"@(,,6711) bin/write" etc/orville.conf etc/wrthist etc/wrttmp \
|
2013-12-11 13:23:35 +00:00
|
|
|
man/man1/amin.1.gz man/man1/helpers.1.gz man/man1/huh.1.gz \
|
|
|
|
man/man1/mesg.1.gz man/man1/write.1.gz
|
2005-10-13 19:18:53 +00:00
|
|
|
|
2014-02-05 20:17:28 +00:00
|
|
|
MAKE_JOBS_UNSAFE=yes
|
|
|
|
|
2010-02-10 14:38:19 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} > 900006
|
|
|
|
EXTRA_PATCHES= ${PATCHDIR}/utmpx-wrttmp.h \
|
|
|
|
${PATCHDIR}/utmpx-wrt_him.c \
|
|
|
|
${PATCHDIR}/utmpx-wrt_me.c \
|
|
|
|
${PATCHDIR}/utmpx-lib_common.c \
|
|
|
|
${PATCHDIR}/utmpx-lib_common.h \
|
|
|
|
${PATCHDIR}/utmpx-getutent.h \
|
|
|
|
${PATCHDIR}/utmpx-getutent.c \
|
|
|
|
${PATCHDIR}/utmpx-mesg.c \
|
|
|
|
${PATCHDIR}/utmpx-amin.c \
|
|
|
|
${PATCHDIR}/utmpx-huh.c \
|
|
|
|
${PATCHDIR}/utmpx-helpers.c
|
|
|
|
.endif
|
|
|
|
|
2005-10-13 19:18:53 +00:00
|
|
|
do-install:
|
|
|
|
.for i in amin helpers huh mesg
|
2014-09-14 19:24:34 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin
|
2005-10-13 19:18:53 +00:00
|
|
|
.endfor
|
|
|
|
.for i in write
|
2014-09-14 19:24:34 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin
|
2005-10-13 19:18:53 +00:00
|
|
|
.endfor
|
|
|
|
.for i in jot tel telegram
|
2013-12-11 13:23:35 +00:00
|
|
|
${LN} -sf write ${STAGEDIR}${PREFIX}/bin/${i}
|
2005-10-13 19:18:53 +00:00
|
|
|
.endfor
|
|
|
|
.for i in orville.conf
|
2013-12-11 13:23:35 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/etc
|
2005-10-13 19:18:53 +00:00
|
|
|
.endfor
|
|
|
|
.for i in wrthist wrttmp
|
2013-12-11 13:23:35 +00:00
|
|
|
${INSTALL_DATA} -m 600 /dev/null ${STAGEDIR}${PREFIX}/etc/${i}
|
2005-10-13 19:18:53 +00:00
|
|
|
.endfor
|
2013-12-11 13:23:35 +00:00
|
|
|
.for i in amin.1 helpers.1 huh.1 mesg.1 write.1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${MANPREFIX}/man/man1
|
2005-10-13 19:18:53 +00:00
|
|
|
.endfor
|
|
|
|
|
2010-02-10 14:38:19 +00:00
|
|
|
.include <bsd.port.post.mk>
|