aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/liblug/Makefile
blob: 99285acb1f765a21cb6dba36bfff53e9ae99f793 (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=       ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= 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>