diff options
author | agc <agc> | 1997-10-29 11:26:53 +0000 |
---|---|---|
committer | agc <agc> | 1997-10-29 11:26:53 +0000 |
commit | 4efeb2e68228e5a1fb89b235f5c20a5285823191 (patch) | |
tree | 287719ffeaf1c3437bd53e64a821b3a55ef7023b /sysutils/rtty | |
parent | 17ffbf7057392bd6a17ee649fb78fc2ac9e5db7c (diff) | |
download | pkgsrc-4efeb2e68228e5a1fb89b235f5c20a5285823191.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 |