summaryrefslogtreecommitdiff
path: root/graphics/libpcd/Makefile
blob: 3f1279637f6015723b3e2c80f10fbdcf1ec4040a (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
30
# New ports collection makefile for:	libpcd
# Date created:		2004-08-23
# Whom:			Andrey Slusar <anray@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	libpcd
PORTVERSION=	1.0.1
CATEGORIES=	graphics
MASTER_SITES=	http://dl.bytesex.org/releases/libpcd/
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	anray@FreeBSD.org
COMMENT=	A library for reading PhotoCD images

USE_GMAKE=	yes
INSTALLS_SHLIB=	yes
WRKSRC=		${WRKDIR}/${DISTNAME:S/_/-/}
MAKEFILE=	${WRKSRC}/GNUmakefile

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
USE_REINPLACE=	yes
post-patch:
	@${REINPLACE_CMD} -e 's/uint_fast16_t/uint32_t/' ${WRKSRC}/yuv2rgb.c
.endif

.include <bsd.port.post.mk>