mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-04 11:23:46 +00:00
9b178ffd7e
llvm15 was also merged into 13.2-STABLE effective from OSVERSION 1302505. Fix the ports that failed to build with llvm15. Approved by: portmgr (blanket)
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
PORTNAME= urt
|
|
PORTVERSION= 3.1b1
|
|
PORTREVISION= 12
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= https://BSDforge.com/projects/source/graphics/utah-raster/
|
|
|
|
MAINTAINER= portmaster@bsdforge.com
|
|
COMMENT= Toolkit and library for raster image processing
|
|
WWW= https://www.cs.utah.edu/gdc/projects/urt/
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/copyright
|
|
|
|
LIB_DEPENDS= libnetpbm.so:graphics/netpbm \
|
|
libtiff.so:graphics/tiff
|
|
|
|
USES= gmake tar:xz xorg
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include/netpbm
|
|
USE_XORG= x11 xext
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_SCRIPT=Configure
|
|
CONFIGURE_ARGS= config/urt
|
|
MAKEFILE= makefile
|
|
MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX}
|
|
ALL_TARGET= # none
|
|
USE_LDCONFIG= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
|
CFLAGS+= -Wno-error=int-conversion
|
|
.endif
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librle.so
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
|
|
post-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/img
|
|
@(cd ${WRKSRC}/img && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/img)
|
|
|
|
.include <bsd.port.post.mk>
|