summaryrefslogtreecommitdiff
path: root/sysutils/rtty
diff options
context:
space:
mode:
authoragc <agc>1997-10-29 11:26:53 +0000
committeragc <agc>1997-10-29 11:26:53 +0000
commit158150706075b909ec93840364ff41e7a648c980 (patch)
tree287719ffeaf1c3437bd53e64a821b3a55ef7023b /sysutils/rtty
parent62087ce33673a183347afb346264a2c1b5e218e2 (diff)
downloadpkgsrc-158150706075b909ec93840364ff41e7a648c980.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/Makefile9
-rw-r--r--sysutils/rtty/pkg/PLIST12
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