summaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-02-07 22:17:09 +0000
committermarcel <marcel@FreeBSD.org>2003-02-07 22:17:09 +0000
commit86ff10e849c35ec3d2e38f613d03e85eb9770ace (patch)
treea2adcdc1f73fda88117e3e58c58045f10e7bbc5d /emulators
parent6e5e59f9979c4c539865b199fdb1a165a0b5b744 (diff)
downloadFreeBSD-ports-86ff10e849c35ec3d2e38f613d03e85eb9770ace.zip
FreeBSD-ports-86ff10e849c35ec3d2e38f613d03e85eb9770ace.tar.gz
Define IGNORE if the distfile is not yet fetched. You must fetch
manually from the HP site. While here, reduce duplication. Notified ad nauseam by: portsurvey
Diffstat (limited to 'emulators')
-rw-r--r--emulators/ski/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/emulators/ski/Makefile b/emulators/ski/Makefile
index 3c4369e..e745473 100644
--- a/emulators/ski/Makefile
+++ b/emulators/ski/Makefile
@@ -18,8 +18,10 @@ MAINTAINER= freebsd-ia64@FreeBSD.org
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio
ONLY_FOR_ARCHS= i386
-NO_PACKAGE= 'Must be downloaded direct from HP via web interface'
-NO_CDROM= 'Must be downloaded direct from HP via web interface'
+
+NOTICE= -- please manually download ${DISTNAME}${EXTRACT_SUFX} from the HP site and put it in ${DISTDIR} first.
+NO_PACKAGE= ${NOTICE}
+NO_CDROM= ${NOTICE}
EXTRACT_CMD= rpm2cpio
EXTRACT_BEFORE_ARGS=
@@ -49,4 +51,10 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/usr/doc/ski-0.943l/* ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
+IGNORE= ${NOTICE}
+.endif
+
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud