summaryrefslogtreecommitdiffstats
path: root/graphics/liblug/Makefile
blob: 3378cf2ba601a19c65607be966a168b6d2538521 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: George Reid <greid@ukug.uk.freebsd.org>
# $FreeBSD$

PORTNAME=		liblug
PORTVERSION=		1.0.6
PORTREVISION=		5
CATEGORIES=		graphics
MASTER_SITES=		SUNSITE/libs/graphics

MAINTAINER=		ports@FreeBSD.org
COMMENT=		Multi-format graphics manipulation library

LIB_DEPENDS=		libtiff.so:${PORTSDIR}/graphics/tiff

PLIST_FILES=		lib/liblug.a
USE_XORG=		x11
CFLAGS+=		-Wno-return-type

WRKSRC=			${WRKDIR}/lug
MAKEFILE=		Makefile.linux
USE_LDCONFIG=		yes

post-patch:
	@${REINPLACE_CMD} -e 's|-DiTIFF|-DiTIFF -DTIFF_VERSION=TIFF_VERSION_CLASSIC|' \
		${WRKSRC}/Makefile.linux

.include <bsd.port.mk>
OpenPOWER on IntegriCloud