aboutsummaryrefslogtreecommitdiff
path: root/graphics/libecwj2/Makefile
blob: 7980ce91f4589cc3921fc7c7f095b26aa6e4dab2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Created by: glebius@FreeBSD.org
# $FreeBSD$

PORTNAME=	libecwj2
PORTVERSION=	3.3
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	http://glebius.int.ru/tmp/403/
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, \
		but sources no longer available on ERDAS website

USE_ZIP=	yes
USE_AUTOTOOLS=	libtool autoconf
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
USE_GMAKE=	yes

NO_STAGE=	yes
.include <bsd.port.pre.mk>

.if ${OSVERSION} < 800000
BROKEN=		does not build on 7.X
.endif

post-extract:
	cd ${WRKDIR} && \
		${EXTRACT_CMD} ImageCompressionSDKSourceCode3.3Setup_20070509.zip

post-patch:
	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/configure.in

.include <bsd.port.post.mk>