mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
da3162c7c9
Per discussion with bapt on helping pkg handle the changing of these deps and avoiding impossible upgrade senarios. PR: 246767 Reviewed by: manu, bapt Approved by: x11 Differential Revision: https://reviews.freebsd.org/D30824
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
PORTNAME= tiffgt
|
|
DISTVERSION= 4.3.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= https://download.osgeo.org/libtiff/
|
|
DISTNAME= tiff-${DISTVERSION}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= X11 Tools for working with TIFF images
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
|
|
LIB_DEPENDS= libjbig.so:graphics/jbigkit \
|
|
libtiff.so:graphics/tiff \
|
|
libzstd.so:archivers/zstd
|
|
|
|
USES= cpe gl jpeg libtool pathfix xorg
|
|
|
|
CPE_PRODUCT= libtiff
|
|
CPE_VERSION= ${DISTVERSION:C/[a-z]+//}
|
|
CPE_UPDATE= ${DISTVERSION:C/[0-9.]+//}
|
|
USE_XORG= sm ice xmu xi x11
|
|
USE_GL= glut glu gl
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-jpeg-include-dir=${LOCALBASE}/include \
|
|
--with-jpeg-lib-dir=${LOCALBASE}/lib --with-x
|
|
PLIST_FILES= bin/tiffgt man/man1/tiffgt.1.gz
|
|
|
|
pre-configure:
|
|
${REINPLACE_CMD} -e 's|^docfiles|no-docfiles|' \
|
|
-e 's|man html|man|' ${WRKSRC}/Makefile.in
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tools/.libs/tiffgt ${STAGEDIR}/${PREFIX}/bin/
|
|
${INSTALL_MAN} ${WRKSRC}/man/tiffgt.1 ${STAGEDIR}${PREFIX}/man/man1/
|
|
|
|
.include <bsd.port.mk>
|