aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/liblug/Makefile
blob: 28d059559d7bbd2afb9d2a933bde5a65d04f1ff7 (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
29
# 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=        tiff:${PORTSDIR}/graphics/tiff

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

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

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

.include <bsd.port.mk>