6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
31 lines
647 B
Makefile
31 lines
647 B
Makefile
# 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>
|