mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
Change do-fetch target so automatated ``cd /usr/ports ; make fetch'' will work.
This commit is contained in:
parent
13387a4646
commit
519068f8e9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=15825
@ -3,7 +3,7 @@
|
||||
# Date created: 20 Sep 1998
|
||||
# Whom: msmith
|
||||
#
|
||||
# $Id: Makefile,v 1.3 1998/12/28 23:38:12 msmith Exp $
|
||||
# $Id: Makefile,v 1.4 1998/12/30 03:56:28 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= linux
|
||||
@ -25,20 +25,11 @@ IS_INTERACTIVE= "Noisy license agreement ignores stdin"
|
||||
CDIR= ${PREFIX}/lib/ICAClient
|
||||
BINDIR= ${PREFIX}/bin
|
||||
|
||||
do-fetch:
|
||||
@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
|
||||
${ECHO} "" ; \
|
||||
${ECHO} " The source to this port may not be automatically fetched" ; \
|
||||
${ECHO} " due to licensing restrictions. You MUST fetch the source" ; \
|
||||
${ECHO} " manually after reading and agreeing to the license at:" ; \
|
||||
${ECHO} "" ; \
|
||||
${ECHO} " http://download.citrix.com/download.asp?client=LINUX" ; \
|
||||
${ECHO} "" ; \
|
||||
${ECHO} " Once ${DISTFILES} has been downloaded, move it to ${DISTDIR}" ; \
|
||||
${ECHO} " and then restart this build." ; \
|
||||
${ECHO} "" ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
||||
IGNORE='The source to this port may not be automatically fetched due to licensing restrictions. You MUST fetch the source manually after reading and agreeing to the license at: http://download.citrix.com/download.asp?client=LINUX Once ${DISTFILES} has been downloaded, move it to ${DISTDIR} and then restart this build.'
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${SED} s%DESTINATION%${CDIR}% < ${FILESDIR}/response \
|
||||
@ -51,4 +42,4 @@ do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/wfcmgr.x ${PREFIX}/bin/wfcmgr
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/wfica.x ${PREFIX}/bin/wfica
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Date created: 20 Sep 1998
|
||||
# Whom: msmith
|
||||
#
|
||||
# $Id: Makefile,v 1.3 1998/12/28 23:38:12 msmith Exp $
|
||||
# $Id: Makefile,v 1.4 1998/12/30 03:56:28 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= linux
|
||||
@ -25,20 +25,11 @@ IS_INTERACTIVE= "Noisy license agreement ignores stdin"
|
||||
CDIR= ${PREFIX}/lib/ICAClient
|
||||
BINDIR= ${PREFIX}/bin
|
||||
|
||||
do-fetch:
|
||||
@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
|
||||
${ECHO} "" ; \
|
||||
${ECHO} " The source to this port may not be automatically fetched" ; \
|
||||
${ECHO} " due to licensing restrictions. You MUST fetch the source" ; \
|
||||
${ECHO} " manually after reading and agreeing to the license at:" ; \
|
||||
${ECHO} "" ; \
|
||||
${ECHO} " http://download.citrix.com/download.asp?client=LINUX" ; \
|
||||
${ECHO} "" ; \
|
||||
${ECHO} " Once ${DISTFILES} has been downloaded, move it to ${DISTDIR}" ; \
|
||||
${ECHO} " and then restart this build." ; \
|
||||
${ECHO} "" ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
||||
IGNORE='The source to this port may not be automatically fetched due to licensing restrictions. You MUST fetch the source manually after reading and agreeing to the license at: http://download.citrix.com/download.asp?client=LINUX Once ${DISTFILES} has been downloaded, move it to ${DISTDIR} and then restart this build.'
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${SED} s%DESTINATION%${CDIR}% < ${FILESDIR}/response \
|
||||
@ -51,4 +42,4 @@ do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/wfcmgr.x ${PREFIX}/bin/wfcmgr
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/wfica.x ${PREFIX}/bin/wfica
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user