diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2012-06-03 12:43:04 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2012-06-03 12:43:04 +0000 |
commit | 3d2a969d290448d87d77fd55dde1c0823848cc01 (patch) | |
tree | eb9a882aa395c417ab2f7ff16f2f08bb19277ca7 /graphics/openjpeg/Makefile | |
parent | 693307817893172fb5c145bc179458d41ef8c5e3 (diff) | |
download | ports-3d2a969d290448d87d77fd55dde1c0823848cc01.tar.gz ports-3d2a969d290448d87d77fd55dde1c0823848cc01.zip |
Notes
Diffstat (limited to 'graphics/openjpeg/Makefile')
-rw-r--r-- | graphics/openjpeg/Makefile | 43 |
1 files changed, 9 insertions, 34 deletions
diff --git a/graphics/openjpeg/Makefile b/graphics/openjpeg/Makefile index b5fdaf8e75d5..39e3675e8d4e 100644 --- a/graphics/openjpeg/Makefile +++ b/graphics/openjpeg/Makefile @@ -6,49 +6,24 @@ # PORTNAME= openjpeg -PORTVERSION= 1.3 -PORTREVISION= 2 +PORTVERSION= 1.5.0 CATEGORIES= graphics -MASTER_SITES= http://www.openjpeg.org/ \ - http://openjpeg.googlecode.com/files/ -DISTNAME= ${PORTNAME}_v${PORTVERSION:S/./_/g} +MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} MAINTAINER= dinoex@FreeBSD.org COMMENT= An open-source JPEG 2000 codec -LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff +LIB_DEPENDS= tiff:${PORTSDIR}/graphics/tiff \ + png15:${PORTSDIR}/graphics/png LICENSE= BSD -LICENSE_FILE= ${WRKSRC}/jp3d/LICENSE.txt -MAKE_JOBS_UNSAFE= yes +LICENSE_FILE= ${WRKSRC}/LICENSE -USE_GMAKE= yes +GNU_CONFIGURE= yes +USE_CMAKE= yes USE_LDCONFIG= yes -WRKSRC= ${WRKDIR}/OpenJPEG_v1_3 -JPWL_BINS= JPWL_image_to_j2k JPWL_j2k_to_image -M2J_BINS= extract_j2k_from_mj2 frames_to_mj2 mj2_to_frames wrap_j2k_in_mj2 -PLIST_FILES= include/openjpeg.h \ - lib/libopenjpeg.a \ - lib/libopenjpeg.so.${SHLIB_VER} \ - lib/libopenjpeg.so \ - ${JPWL_BINS:S|^|bin/|} \ - ${M2J_BINS:S|^|bin/|} - -SHLIB_VER= 2 - -post-patch: .SILENT - ${FIND} ${WRKSRC} -type f -name Makefile -exec ${REINPLACE_CMD} 's|gcc|$$(CC)|g' {} + - -do-install: - ${INSTALL_DATA} ${WRKSRC}/libopenjpeg/openjpeg.h ${PREFIX}/include/ - ${INSTALL_DATA} ${WRKSRC}/libopenjpeg.a ${PREFIX}/lib/ - ${INSTALL_DATA} ${WRKSRC}/libopenjpeg-2.1.3.0.so \ - ${PREFIX}/lib/libopenjpeg.so.${SHLIB_VER} - cd ${PREFIX}/lib && \ - ${LN} -sf libopenjpeg.so.${SHLIB_VER} libopenjpeg.so -.for file in ${M2J_BINS:S|^|mj2/|} ${JPWL_BINS:S|^|jpwl/|} - ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin/ -.endfor +MAN1= image_to_j2k.1 j2k_dump.1 j2k_to_image.1 +MAN3= libopenjpeg.3 .include <bsd.port.mk> |