ports/187495: graphics/scale2x: Update to version 3.1

KATO Tsuguru tkato432 at yahoo.com
Wed Mar 12 18:40:01 UTC 2014


>Number:         187495
>Category:       ports
>Synopsis:       graphics/scale2x: Update to version 3.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 12 18:40:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Update to version 3.1

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/scale2x/Makefile graphics/scale2x/Makefile
--- /usr/ports/graphics/scale2x/Makefile	2013-11-06 22:01:36.000000000 +0900
+++ graphics/scale2x/Makefile	2014-03-13 00:00:00.000000000 +0900
@@ -2,7 +2,7 @@
 # $FreeBSD: head/graphics/scale2x/Makefile 327733 2013-09-20 18:35:44Z bapt $
 
 PORTNAME=	scale2x
-PORTVERSION=	3.0
+PORTVERSION=	3.1
 CATEGORIES=	graphics
 MASTER_SITES=	SF
 
@@ -11,27 +11,21 @@
 
 LICENSE=	GPLv2 # (or later)
 
-LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png
-
-OPTIONS_DEFINE=	DOCS EXAMPLES
-OPTIONS_DEFINE_i386=	MMX
+LIB_DEPENDS=	libpng15.so:${PORTSDIR}/graphics/png
 
 GNU_CONFIGURE=	yes
 
 CPPFLAGS+=	$$(libpng15-config --I_opts)
 LDFLAGS+=	$$(libpng15-config --L_opts)
 
-MAN1=		scalex.1 scalerx.1
-PORTDOCS=	*
 PORTEXAMPLES=	*
-PLIST_FILES=	bin/scalex bin/scalerx
+PLIST_FILES=	bin/scalex bin/scalerx \
+		man/man1/scalex.1.gz man/man1/scalerx.1.gz
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=		EXAMPLES
+OPTIONS_DEFINE_i386=	MMX
 
-.if ${PORT_OPTIONS:MMMX}
-CPPFLAGS+=	-DHAVE_MMX
-.endif
+MMX_CPPFLAGS=		-DHAVE_MMX
 
 post-patch:
 	@${REINPLACE_CMD} -e \
@@ -40,13 +34,8 @@
 		 s|__x86_64__|__amd64__|' ${WRKSRC}/*.[ch]
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	(cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html ${DOCSDIR})
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	(cd ${WRKSRC}/example && ${INSTALL_DATA} *.png ${EXAMPLESDIR})
-.endif
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	(cd ${WRKSRC}/example && ${INSTALL_DATA} *.png \
+		${STAGEDIR}${EXAMPLESDIR})
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/scale2x/distinfo graphics/scale2x/distinfo
--- /usr/ports/graphics/scale2x/distinfo	2013-11-06 22:01:36.000000000 +0900
+++ graphics/scale2x/distinfo	2014-03-13 00:00:00.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (scale2x-3.0.tar.gz) = 00cd8fb45a5d426149bec0b67104a260f5f8c3fc04ccf53c0d1133e13a36739e
-SIZE (scale2x-3.0.tar.gz) = 244737
+SHA256 (scale2x-3.1.tar.gz) = afdd88b90811b00ae884eb8a97355991f39d8028dbd5c6b1d95fdccf0fc56574
+SIZE (scale2x-3.1.tar.gz) = 244291
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list