aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2010-08-03 11:38:24 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2010-08-03 11:38:24 +0000
commit80d646f01fa9d06689913963f1a9a4ea594c8443 (patch)
tree716b4a64c9000f2b013ae15f045d111794a9d14e /graphics
parent7b85ad87c075272e314e7442390066cb7a211f79 (diff)
downloadports-80d646f01fa9d06689913963f1a9a4ea594c8443.tar.gz
ports-80d646f01fa9d06689913963f1a9a4ea594c8443.zip
Notes
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>