aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/ski
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-02-08 06:17:09 +0800
committermarcel <marcel@FreeBSD.org>2003-02-08 06:17:09 +0800
commit86ff10e849c35ec3d2e38f613d03e85eb9770ace (patch)
treea2adcdc1f73fda88117e3e58c58045f10e7bbc5d /emulators/ski
parent6e5e59f9979c4c539865b199fdb1a165a0b5b744 (diff)
downloadfreebsd-ports-gnome-86ff10e849c35ec3d2e38f613d03e85eb9770ace.tar.gz
freebsd-ports-gnome-86ff10e849c35ec3d2e38f613d03e85eb9770ace.tar.zst
freebsd-ports-gnome-86ff10e849c35ec3d2e38f613d03e85eb9770ace.zip
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/ski')
-rw-r--r--emulators/ski/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/emulators/ski/Makefile b/emulators/ski/Makefile
index 3c4369e2c659..e7454732162c 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>