summaryrefslogtreecommitdiff
path: root/graphics/fpc-libpng/Makefile
blob: d49d6e56786a47c64592d0bb070bb7c24666ed44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$

CATEGORIES=	graphics lang
PKGNAMESUFFIX=	-libpng

COMMENT=	Free Pascal interface to libpng, for reading PNG image files

USES=		fpc:run
USE_FPC=	zlib

MASTERDIR=	${.CURDIR}/../../lang/fpc
WRKUNITDIR=	${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR=	${WRKUNITDIR}

OPTIONS_DEFINE=	LIBPNG
LIBPNG_DESC=	Install png library for manipulating PNG images
OPTIONS_DEFAULT=	LIBPNG

LIBPNG_LIB_DEPENDS=	libpng.so:graphics/png

.include "${MASTERDIR}/Makefile"