diff options
author | crees <crees@FreeBSD.org> | 2011-11-19 18:16:30 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2011-11-19 18:16:30 +0800 |
commit | a69cfa3009738ef5ede94b32a230e1f999348c40 (patch) | |
tree | f3e98006bb3392ad5f8ed9d90fc8e4a6e3b40446 | |
parent | 1b7cec2e530244a877c37878867940678be5649d (diff) | |
download | freebsd-ports-gnome-a69cfa3009738ef5ede94b32a230e1f999348c40.tar.gz freebsd-ports-gnome-a69cfa3009738ef5ede94b32a230e1f999348c40.tar.zst freebsd-ports-gnome-a69cfa3009738ef5ede94b32a230e1f999348c40.zip |
Use logic from Java ports to give distfile finding instructions.
PR: ports/162057
Approved by: maintainer timeout (3 weeks, gerrit.beine@gmx.de)
Feature safe: yes
-rw-r--r-- | sysutils/megarc/Makefile | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/sysutils/megarc/Makefile b/sysutils/megarc/Makefile index 7b7544d27f9c..b57512306cf7 100644 --- a/sysutils/megarc/Makefile +++ b/sysutils/megarc/Makefile @@ -8,7 +8,7 @@ PORTNAME= megarc PORTVERSION= 1.51 CATEGORIES= sysutils -MASTER_SITES= http://www.lsi.com/DistributionSystem/AssetDocument/files/support/rsa/beta/drivers/ +MASTER_SITES= # not available DISTNAME= dr_freebsd_${PORTVERSION} MAINTAINER= gerrit.beine@gmx.de @@ -25,6 +25,23 @@ RESTRICTED= Must be downloaded directly from the manufacturer PLIST_FILES= sbin/megarc PORTDOCS= * +.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) +DISTFILE_INSTRUCTIONS=\n\ +The distribution file is not freely avaliable.\n\ +The binary is shipped on the Megaraid Universal Software Suite\n\ +CD which accompanies any boxed LSI Logic RAID storage adaptor.\n\ +\n\ +Copy ${DISTNAME}${EXTRACT_SUFX} to ${DISTDIR} and try again.\n\ +\n\ +For further instructions, see http://www.freebsdwiki.net/index.php/Megarc\n\n +.endif + +pre-fetch: +.if defined(DISTFILE_INSTRUCTIONS) + @${PRINTF} "${DISTFILE_INSTRUCTIONS}" + @exit 1 +.endif + post-extract: @cd ${WRKSRC} && ${UNZIP_CMD} ${EXTRACT_BEFORE_ARGS} 'MegaRC 1.04.zip' |