summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-10-20 09:40:20 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-10-20 09:40:20 +0000
commit584a26f2a3e337d456fb2e6441504c06cf1985fe (patch)
tree490f322db62e423cf39989866535c53510197687 /graphics
parent- Update to 0.4.3 (diff)
- Update to 2.4
PR: 139767 Submitted by: Ports Fury
Diffstat (limited to 'graphics')
-rw-r--r--graphics/scale2x/Makefile12
-rw-r--r--graphics/scale2x/distinfo6
2 files changed, 8 insertions, 10 deletions
diff --git a/graphics/scale2x/Makefile b/graphics/scale2x/Makefile
index 6dfb7ec4e90b..32134ebdb714 100644
--- a/graphics/scale2x/Makefile
+++ b/graphics/scale2x/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= scale2x
-PORTVERSION= 2.2
+PORTVERSION= 2.4
CATEGORIES= graphics
MASTER_SITES= SF
@@ -16,14 +16,12 @@ COMMENT= Real-time graphics effect able to increase the size of small bitmaps
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
GNU_CONFIGURE= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-PLIST_FILES= bin/scalex bin/scalerx
MAN1= scalex.1 scalerx.1
+PLIST_FILES= bin/scalex bin/scalerx
-post-patch:
- @${REINPLACE_CMD} -e 's,png.h,libpng/png.h,' ${WRKSRC}/file.h
+CPPFLAGS= `libpng12-config --I_opts`
+LDFLAGS= `libpng12-config --L_opts`
.include <bsd.port.mk>
diff --git a/graphics/scale2x/distinfo b/graphics/scale2x/distinfo
index 6fcdca42eef6..32d56a8b235c 100644
--- a/graphics/scale2x/distinfo
+++ b/graphics/scale2x/distinfo
@@ -1,3 +1,3 @@
-MD5 (scale2x-2.2.tar.gz) = b0a44a2d513d419354b0cf9542e62775
-SHA256 (scale2x-2.2.tar.gz) = 5784683c8d4c41741bb122b82704c08f9e1fd4fe1e0410f04917a27b27b1ed59
-SIZE (scale2x-2.2.tar.gz) = 156834
+MD5 (scale2x-2.4.tar.gz) = b89ccfa6df5f059355951dbf69fc163c
+SHA256 (scale2x-2.4.tar.gz) = 83599b1627988c941ee9c7965b6f26a9fd2608cd1e0073f7262a858d0f4f7078
+SIZE (scale2x-2.4.tar.gz) = 223640