Files
ports/graphics/xv/Makefile
Dirk Meyer 77024574f4 graphics/xv: update to 6.0.1
add xrandr support

force libpng for PNG images
https://github.com/jasper-software/xv/issues/24
2024-09-05 17:20:56 +02:00

52 lines
1.1 KiB
Makefile

PORTNAME= xv
PORTVERSION= 6.0.1
DISTVERSIONPREFIX= v
PORTREVISION= 0
CATEGORIES+= graphics
DIST_SUBDIR= ${PORTNAME}
MAINTAINER?= dinoex@FreeBSD.org
COMMENT?= X11 program that displays images of various formats
WWW= http://www.trilon.com/xv/
LIB_DEPENDS= libtiff.so:graphics/tiff \
libpng16.so:graphics/png \
libjasper.so:graphics/jasper \
libwebp.so:graphics/webp
USES= cpe localbase cmake jpeg xorg desktop-file-utils
USE_XORG= xext x11 xt ice sm xrandr
USE_GITHUB= yes
GH_ACCOUNT= jasper-software
CPE_VENDOR= xv_project
OPTIONS_DEFINE= M17N DOCS
M17N_DESC= build with Multilingualization support
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MM17N}
CFLAGS+= -DTV_MULTILINGUAL
DESCR= ${FILESDIR}/pkg-descr
CONFLICTS_INSTALL= xv
.else
CONFLICTS_INSTALL= xv-m17n
.endif
XV_DOCS= README.md src/docs/help
post-patch:
${REINPLACE_CMD} -e 's|^PNG|#PNG|' ${WRKSRC}/src/xv_mgcsfx.sample
do-install-DOCS-on:
.for i in ${XV_DOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
.endfor
do-install-DOCS-off:
${RM} -fr ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>