From 80d646f01fa9d06689913963f1a9a4ea594c8443 Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Tue, 3 Aug 2010 11:38:24 +0000 Subject: The distfile is now temporary unavailable on vendor website. Place it temporarily into local distfiles. http://www.erdas.com/Products/ERDASProductInformation/tabid/84/currentid/1142/default.aspx Submitted by: glebius --- graphics/libecwj2/Makefile | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) (limited to 'graphics') diff --git a/graphics/libecwj2/Makefile b/graphics/libecwj2/Makefile index d5cb079ed112..0738a276776c 100644 --- a/graphics/libecwj2/Makefile +++ b/graphics/libecwj2/Makefile @@ -8,13 +8,16 @@ PORTNAME= libecwj2 PORTVERSION= 3.3 CATEGORIES= graphics -MASTER_SITES= +MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= glebius DISTFILES= ecw_jpeg_2000_sdk_3_3_source.zip MAINTAINER= glebius@FreeBSD.org COMMENT= Erdas ECW and JPEG2000 support library -RESTRICTED= Registration required to download sources +RESTRICTED= Registration required to download sources, \ + sources temporary unavailable on ERDAS website +NO_PACKAGE= ${RESTRICTED} NO_CDROM= ${RESTRICTED} USE_ZIP= yes @@ -23,20 +26,6 @@ USE_LDCONFIG= yes GNU_CONFIGURE= yes USE_GMAKE= yes -.include - -pre-fetch: -.if !exists(${DISTDIR}/${DISTFILES}) - @${ECHO_MSG} Due to licensing restrictions the sources must be fetched manually. - @${ECHO_MSG} You need to register at ERDAS website and download - @${ECHO_MSG} - @${ECHO_MSG} ${DISTFILES} - @${ECHO_MSG} - @${ECHO_MSG} from http://www.ermapper.com/Products/ERDASProductInformation/tabid/84/currentid/1142/default.aspx, and put it into ${DISTDIR} - @${ECHO_MSG} - @exit 1 -.endif - post-extract: cd ${WRKDIR} && \ ${EXTRACT_CMD} ImageCompressionSDKSourceCode3.3Setup_20070509.zip @@ -44,4 +33,4 @@ post-extract: post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/configure.in -.include +.include -- cgit v1.2.3