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