diff options
author | agc <agc@pkgsrc.org> | 1997-10-29 11:26:53 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1997-10-29 11:26:53 +0000 |
commit | 57ed68ef21624cd89856ae726c2193852af7d779 (patch) | |
tree | 287719ffeaf1c3437bd53e64a821b3a55ef7023b /sysutils/rtty | |
parent | 80f8f6c0ba494c3e72b15880223ec62b4d86c31e (diff) | |
download | pkgsrc-57ed68ef21624cd89856ae726c2193852af7d779.tar.gz |
Make this work on NetBSD, and clean up the package list so that it
cleans up after itself properly.
Diffstat (limited to 'sysutils/rtty')
-rw-r--r-- | sysutils/rtty/Makefile | 9 | ||||
-rw-r--r-- | sysutils/rtty/pkg/PLIST | 12 |
2 files changed, 16 insertions, 5 deletions
diff --git a/sysutils/rtty/Makefile b/sysutils/rtty/Makefile index 64ef85e50bb..61864f375a4 100644 --- a/sysutils/rtty/Makefile +++ b/sysutils/rtty/Makefile @@ -14,4 +14,13 @@ MASTER_SITES= ftp://ftp.vix.com/pub/vixie/ NO_WRKSUBDIR= yes +OPSYS!= uname -s + +.if (${OPSYS} == "NetBSD") +pre-configure: + for f in `find ${WRKDIR} -type f -print|xargs grep -l '/usr/local'`; do \ + ${SED} -e 's:/usr/local:'${PREFIX}':g' < $$f > $$f.pdone && mv $$f.pdone $$f; \ + done +.endif + .include <bsd.port.mk> diff --git a/sysutils/rtty/pkg/PLIST b/sysutils/rtty/pkg/PLIST index 572e64af6ce..7564e187dc3 100644 --- a/sysutils/rtty/pkg/PLIST +++ b/sysutils/rtty/pkg/PLIST @@ -6,8 +6,10 @@ rtty/bin/console rtty/bin/startsrv rtty/bin/agelogs rtty/bin/agelog -rtty/dev -rtty/sock -rtty/log -rtty/pid -rtty/opt +@dirrm rtty/dev +@dirrm rtty/sock +@dirrm rtty/log +@dirrm rtty/pid +@dirrm rtty/opt +@dirrm rtty/bin +@dirrm rtty |