Fix distfile detection logic to use IGNORE instead; more standard
Approved by: maintainer implicit (gerrit.beine@gmx.de; fix timed out previous commit) Feature safe: yes
This commit is contained in:
parent
ed4d923b39
commit
dec2df9145
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286833
@ -25,23 +25,10 @@ RESTRICTED= Must be downloaded directly from the manufacturer
|
||||
PLIST_FILES= sbin/megarc
|
||||
PORTDOCS= *
|
||||
|
||||
MANUAL_PACKAGE_BUILD= distfile unavailable
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.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
|
||||
IGNORE= has a distribution file that is not freely avaliable. The binary is shipped on the Megaraid Universal Software Suite CD which accompanies any boxed LSI Logic RAID storage adaptor. Copy ${DISTNAME}${EXTRACT_SUFX} to ${DISTDIR} and try again. For further instructions, see http://www.freebsdwiki.net/index.php/Megarc
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@ -54,4 +41,4 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/Release\ History.txt ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user