pkgsrc/sysutils/rtty/Makefile

28 lines
872 B
Makefile
Raw Normal View History

2003-05-05 18:50:27 +02:00
# $NetBSD: Makefile,v 1.17 2003/05/05 16:50:28 jmmv Exp $
# 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
WRKSRC= ${WRKDIR}
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.vix.com/pub/vixie/
MAINTAINER= packages@netbsd.org
COMMENT= multiuser "tip"/"cu" replacement with logging
pre-configure:
1999-04-09 10:33:50 +02:00
${CHMOD} -R u+w ${WRKDIR}
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; \
done
cd ${WRKDIR} && \
${SED} -e '/^agelog=/s:/usr/etc/:${PREFIX}/rtty/bin/:' agelogs.sh >agelogs.sh.pdone && ${MV} agelogs.sh.pdone agelogs.sh
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rtty
${INSTALL_DATA} ${WRKDIR}/README ${PREFIX}/share/doc/rtty/
.include "../../mk/bsd.pkg.mk"