summaryrefslogtreecommitdiff
path: root/graphics/scale2x/Makefile
blob: 4585223a96178ab83332f98426434f659f46f48d (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
31
# Ports collection makefile for:	scale2x
# Date created:			2006/12/01
# Whom:				chinsan
#
# $FreeBSD$
#

PORTNAME=	scale2x
PORTVERSION=	2.2
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	chinsan@FreeBSD.org
COMMENT=	Real-time graphics effect able to increase the size of small bitmaps

LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png

USE_GETOPT_LONG=yes
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

PLIST_FILES=	bin/scalex bin/scalerx
MAN1=		scalex.1 scalerx.1

post-patch:
	@${REINPLACE_CMD} -e 's,png.h,libpng/png.h,' ${WRKSRC}/file.h

.include <bsd.port.mk>