freebsd-ports/graphics/scale2x/Makefile
Martin Wilke 1ccf9254b5 Scale2x is real-time graphics effect able to increase the size of small
bitmaps guessing the missing pixels without interpolating pixels and
blurring the images.

WWW: http://scale2x.sourceforge.net/

PR:		ports/106196
Submitted by:	chinsan
2006-12-03 23:21:58 +00:00

32 lines
717 B
Makefile

# 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>