blob: c18aa25ca957fd835a7de29958ebbbe463d1a64a (
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
32
|
# 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
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
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>
|