aboutsummaryrefslogtreecommitdiff
path: root/emulators/its
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2003-08-19 15:47:09 +0000
committerErwin Lansing <erwin@FreeBSD.org>2003-08-19 15:47:09 +0000
commita2f79190684171eb955148fdefb419937c696a72 (patch)
tree028ff1a371d18882c1a7f2f546aba5e52b2f7697 /emulators/its
parent40bd88553d6bff2546516bf46276e5205055395c (diff)
downloadports-a2f79190684171eb955148fdefb419937c696a72.tar.gz
ports-a2f79190684171eb955148fdefb419937c696a72.zip
Notes
Diffstat (limited to 'emulators/its')
-rw-r--r--emulators/its/Makefile3
-rw-r--r--emulators/its/pkg-plist11
2 files changed, 9 insertions, 5 deletions
diff --git a/emulators/its/Makefile b/emulators/its/Makefile
index 401157bec6e2..087015f76004 100644
--- a/emulators/its/Makefile
+++ b/emulators/its/Makefile
@@ -11,7 +11,6 @@ CATEGORIES= emulators
MASTER_SITES= http://filbert.tubas.net/~kstailey/ITS/ \
http://free.babolo.ru/src/ \
http://dl.droso.net/FreeBSD/distfiles/
-
DISTNAME= PI-ITS-RP06.0-dbd9
EXTRACT_SUFX= .bz2
EXTRACT_ONLY= # none
@@ -19,8 +18,6 @@ EXTRACT_ONLY= # none
MAINTAINER= kstailey@yahoo.com
COMMENT= Bootable ITS filesystem for KLH-10 PDP-10 emulator
-BROKEN= "Broken pkg-plist"
-
BUILD_DEPENDS= kn10-ks:${PORTSDIR}/emulators/klh10
RUN_DEPENDS= kn10-ks:${PORTSDIR}/emulators/klh10
diff --git a/emulators/its/pkg-plist b/emulators/its/pkg-plist
index ec31aac6b6a3..b815bdb6e3d2 100644
--- a/emulators/its/pkg-plist
+++ b/emulators/its/pkg-plist
@@ -2,5 +2,12 @@ bin/its
bin/its-user-install
%%PORTDOCS%%share/doc/klh10-ks-its/MIT-ITS-papers
%%PORTDOCS%%share/doc/klh10-ks-its/README.FIRST
-share/klh10-ks-its/klh10-kn-freebsd.ini.in
-@unexec rm -f %%IMAGE_HOME%%/PI-ITS-RP06.0-dbd9.bz2
+@comment There's some hiccups if we try to specify an absolute
+@comment filename here, so we cd first.
+@cwd /
+%%IMAGE_HOME%%/PI-ITS-RP06.0-dbd9.bz2
+%%IMAGE_HOME%%/klh10-kn-freebsd.ini.in
+@comment We specify to delete %%IMAGE_HOME%%. In most cases, it's the
+@comment same as the klh10 port is using, so it won't be empty (and thus
+@comment not deleted). This dirrm command is for the exceptions to that.
+@unexec rmdir %D/%%IMAGE_HOME%% 2>/dev/null || true