aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2010-08-03 19:38:24 +0800
committerosa <osa@FreeBSD.org>2010-08-03 19:38:24 +0800
commitf3293c03b39e129d13995fab444adda2cc0db682 (patch)
tree6812ea470ea4f0749f5443f4812842b09a0d7f50 /graphics
parentc2b17f7a6d6f060a81bc7ee2d9a5ef210782693c (diff)
downloadfreebsd-ports-gnome-f3293c03b39e129d13995fab444adda2cc0db682.tar.gz
freebsd-ports-gnome-f3293c03b39e129d13995fab444adda2cc0db682.tar.zst
freebsd-ports-gnome-f3293c03b39e129d13995fab444adda2cc0db682.zip
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
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libecwj2/Makefile23
1 files changed, 6 insertions, 17 deletions
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 <bsd.port.pre.mk>
-
-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 <bsd.port.post.mk>
+.include <bsd.port.mk>