diff options
-rw-r--r-- | graphics/scale2x/Makefile | 12 | ||||
-rw-r--r-- | graphics/scale2x/distinfo | 6 |
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 |