Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Apr 2007 20:09:39 -0700 (PDT)
From:      "Eric P. Scott" <eps+pbug0704@ana.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/111466: graphics/potrace: update to version 1.8
Message-ID:  <200704110309.l3B39dKC053994@ana.com>
Resent-Message-ID: <200704110310.l3B3A2v8017188@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         111466
>Category:       ports
>Synopsis:       graphics/potrace: update to version 1.8
>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 Apr 11 03:10:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Eric P. Scott
>Release:        FreeBSD 6.2-RELEASE-p2 i386
>Organization:
ana-systems, Inc.
>Environment:
System: FreeBSD sixofone 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #0: Tue Feb 27 22:41:06 UTC 2007 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
[this is may be a duplicate; my original submission seems to have gotten lost]

1. Update to potrace 1.8
2. Use MASTER_SITES_SOURCEFORGE_EXTENDED
3. Eliminate configure warning
4. Implement NO_INSTALL_MANPAGES
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/graphics/potrace/Makefile graphics/potrace/Makefile
--- /usr/ports/graphics/potrace/Makefile	Thu Nov 16 01:52:23 2006
+++ graphics/potrace/Makefile
@@ -6,17 +6,20 @@
 #
 
 PORTNAME=	potrace
-PORTVERSION=	1.7
+PORTVERSION=	1.8
 CATEGORIES=	graphics
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITES=	SFE
 MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	smyru@heron.pl
 COMMENT=	Transforms bitmaps into vector graphics
 
 GNU_CONFIGURE=	yes
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 
+.if !defined(NO_INSTALL_MANPAGES)
 MAN1=		potrace.1 mkbitmap.1
+.endif
 PLIST_FILES=	bin/potrace bin/mkbitmap
 
 .if defined(A4)
@@ -34,5 +37,13 @@
 	@${ECHO_MSG} "    WITH_METRIC      Enable use of metric units (centimeters) as default"
 	@${ECHO_MSG} "    A4               Enable use of A4 as the default papersize"
 	@${ECHO_MSG} ""
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/src/potrace ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/src/mkbitmap ${PREFIX}/bin
+.if !defined(NO_INSTALL_MANPAGES)
+	${INSTALL_MAN} ${WRKSRC}/doc/potrace.1 ${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/mkbitmap.1 ${MAN1PREFIX}/man/man1
+.endif
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/graphics/potrace/distinfo graphics/potrace/distinfo
--- /usr/ports/graphics/potrace/distinfo	Sun Jan 22 04:35:07 2006
+++ graphics/potrace/distinfo	Tue Apr 10 09:50:26 2007
@@ -1,3 +1,3 @@
-MD5 (potrace-1.7.tar.gz) = 8bfaabf935c03643a6875bde36fe6302
-SHA256 (potrace-1.7.tar.gz) = 88257e3a2697d71de84466fdfeabdb3bf9c73b5dd819ef6dde69772ea7030018
-SIZE (potrace-1.7.tar.gz) = 414480
+MD5 (potrace-1.8.tar.gz) = e73b45565737d64011612704dd4d9f86
+SHA256 (potrace-1.8.tar.gz) = 61ee5acf2cf0363e5c04ccd0a197e31edce002e8d966423f85164155950b3ef5
+SIZE (potrace-1.8.tar.gz) = 347484
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704110309.l3B39dKC053994>