blob: c47d9cd92939fa314638f3808937b55722bc1fd7 (
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.4
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Real-time graphics effect able to increase the size of small bitmaps
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png
GNU_CONFIGURE= yes
MAN1= scalex.1 scalerx.1
PLIST_FILES= bin/scalex bin/scalerx
CPPFLAGS+= `libpng14-config --I_opts`
LDFLAGS+= `libpng14-config --L_opts`
post-patch:
${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
${WRKSRC}/file.c
.include <bsd.port.mk>
|