From b9e97ec819a9954114a56a222f36305440893187 Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Tue, 16 May 2023 17:22:06 +0200 Subject: graphics/liblug: Unbreak on HEAD - Add LICENSE=LGPL20 - Pet portclippy - Adopt port --- graphics/liblug/Makefile | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/graphics/liblug/Makefile b/graphics/liblug/Makefile index 14da79c450d8..efdb26426f6a 100644 --- a/graphics/liblug/Makefile +++ b/graphics/liblug/Makefile @@ -4,22 +4,34 @@ PORTREVISION= 5 CATEGORIES= graphics MASTER_SITES= SUNSITE/libs/graphics -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Multi-format graphics manipulation library +LICENSE= LGPL20 +LICENSE_FILE= ${WRKSRC}/LICENSE + LIB_DEPENDS= libtiff.so:graphics/tiff -PLIST_FILES= lib/liblug.a USES= xorg +USE_LDCONFIG= yes USE_XORG= x11 + +MAKEFILE= Makefile.linux + CFLAGS+= -Wno-return-type WRKSRC= ${WRKDIR}/lug -MAKEFILE= Makefile.linux -USE_LDCONFIG= yes + +PLIST_FILES= lib/liblug.a + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 +CFLAGS+= -Wno-error=int-conversion +.endif post-patch: @${REINPLACE_CMD} -e 's|-DiTIFF|-DiTIFF -DTIFF_VERSION=TIFF_VERSION_CLASSIC|' \ ${WRKSRC}/Makefile.linux -.include +.include -- cgit v1.2.3