aboutsummaryrefslogtreecommitdiff
path: root/graphics/liblug/Makefile
blob: 70076018b87d6fddfb447dce5383ac931c4e1f8f (plain) (blame)
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
28
# 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:graphics/tiff

PLIST_FILES=		lib/liblug.a
USES=			xorg
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>