2003-05-05 18:50:27 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 2003/05/05 16:50:28 jmmv Exp $
|
1997-10-29 12:11:15 +01:00
|
|
|
# FreeBSD Id: Makefile,v 1.3 1997/01/06 12:13:36 jkh Exp
|
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= rtty-3.2
|
2003-05-05 18:50:27 +02:00
|
|
|
PKGREVISION= 1
|
2003-03-29 13:40:00 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
1997-10-29 12:11:15 +01:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= ftp://ftp.vix.com/pub/vixie/
|
|
|
|
|
1998-01-25 00:33:13 +01:00
|
|
|
MAINTAINER= packages@netbsd.org
|
2001-02-17 18:42:09 +01:00
|
|
|
COMMENT= multiuser "tip"/"cu" replacement with logging
|
1998-01-25 00:33:13 +01:00
|
|
|
|
1997-10-29 12:26:53 +01:00
|
|
|
pre-configure:
|
1999-04-09 10:33:50 +02:00
|
|
|
${CHMOD} -R u+w ${WRKDIR}
|
2001-05-19 05:56:23 +02:00
|
|
|
for f in `${FIND} ${WRKDIR}/. -type f -print | ${XARGS} ${GREP} -l '/usr/local'`; do \
|
2000-02-05 08:04:07 +01:00
|
|
|
${ECHO} patching $$f ; \
|
1999-04-09 10:33:50 +02:00
|
|
|
${SED} -e 's:/usr/local:${PREFIX}:g' $$f > $$f.pdone && ${MV} $$f.pdone $$f; \
|
1997-10-29 12:26:53 +01:00
|
|
|
done
|
2000-12-26 00:37:11 +01:00
|
|
|
cd ${WRKDIR} && \
|
|
|
|
${SED} -e '/^agelog=/s:/usr/etc/:${PREFIX}/rtty/bin/:' agelogs.sh >agelogs.sh.pdone && ${MV} agelogs.sh.pdone agelogs.sh
|
1997-10-29 12:26:53 +01:00
|
|
|
|
2000-06-09 19:48:25 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rtty
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/README ${PREFIX}/share/doc/rtty/
|
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|