aboutsummaryrefslogtreecommitdiff
path: root/graphics/libecwj2/Makefile
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-08-24 21:07:47 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-08-24 21:07:47 +0000
commit74f7a90c2a0f0b038efd23365a89bfc675bbedf9 (patch)
tree81a0f0856deadb1cbe97106346dd23cd9ce9ee47 /graphics/libecwj2/Makefile
parentda5a39ddf77c6efe255cff311d213a747b669ba7 (diff)
downloadports-74f7a90c2a0f0b038efd23365a89bfc675bbedf9.tar.gz
ports-74f7a90c2a0f0b038efd23365a89bfc675bbedf9.zip
- Convert to USES=libtool and add INSTALL_TARGET=install-strip
- Remove patches for Makefile.am and patch configure instead of configure.in to avoid USE_AUTOTOOLS - Touch ${WRKSRC}/Source/NCSBuildGnu/NCSGnuConfig.h.in to avoid autoheader
Notes
Notes: svn path=/head/; revision=366014
Diffstat (limited to 'graphics/libecwj2/Makefile')
-rw-r--r--graphics/libecwj2/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/graphics/libecwj2/Makefile b/graphics/libecwj2/Makefile
index 8e4388fdf7d6..865d486d8be9 100644
--- a/graphics/libecwj2/Makefile
+++ b/graphics/libecwj2/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libecwj2
PORTVERSION= 3.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://glebius.int.ru/tmp/403/
DISTFILES= ecw_jpeg_2000_sdk_3_3_source.zip
@@ -14,17 +14,14 @@ COMMENT= Erdas ECW and JPEG2000 support library
RESTRICTED= Registration required to download sources,\
but sources no longer available on ERDAS website
-USE_AUTOTOOLS= libtool autoconf
+USES= gmake libtool zip
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-
-USES= gmake zip
+INSTALL_TARGET= install-strip
post-extract:
- cd ${WRKDIR} && \
- ${EXTRACT_CMD} ImageCompressionSDKSourceCode3.3Setup_20070509.zip
-
-post-patch:
- @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/configure.in
+ (cd ${WRKDIR} && \
+ ${EXTRACT_CMD} ImageCompressionSDKSourceCode3.3Setup_20070509.zip)
+ ${TOUCH} ${WRKSRC}/Source/NCSBuildGnu/NCSGnuConfig.h.in
.include <bsd.port.mk>