FreeBSD Port: pngwriter-0.3.7

Chuck Swiger cswiger at mac.com
Sun Jun 27 11:00:14 PDT 2004


individual wrote:
> I am the author of PNGwriter. I'd like to notify you that version 0.4.1 
> is out.
> 
> http://pngwriter.sourceforge.net/
> 
> I came across thePNGwriter  entry in the FreeBSD ports page quite by 
> accident, and I was very happy to see that it had been ported.
> 
> I apologise if this is not the right channel to inform you of an update. 
> If this is so, please tell me how I should do this in future.

This is the right forum for your message.

In order to update the port, you or someone needs to file a PR with a diff in 
order to update it to the latest version.  If you're the author of this 
software and have a bit of free time to spare for this, it's best for you to 
also be the port maintainer.  That will tend to speed the process of the port 
being updated compared with someone else doing it...

A start of the diff to update the port would look like this, but your build 
system seems to assume that make is GNU make, so it's not complete:

diff -duNr pngwriter_old/Makefile pngwriter/Makefile
--- pngwriter_old/Makefile      Sun Jun 27 13:50:40 2004
+++ pngwriter/Makefile  Sun Jun 27 13:58:18 2004
@@ -7,18 +7,19 @@
  #

  PORTNAME=      pngwriter
-PORTVERSION=   0.3.7
+PORTVERSION=   0.4.1
  CATEGORIES=    graphics devel
  MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE}
  MASTER_SITE_SUBDIR=    ${PORTNAME}
  EXTRACT_SUFX=  .tgz

-MAINTAINER=    ports at FreeBSD.org
+MAINTAINER=    individual at mi.cl
  COMMENT=       A C++ library for creating PNG images

  LIB_DEPENDS=   png.5:${PORTSDIR}/graphics/png

  USE_REINPLACE= yes
+USE_GMAKE=     yes
  ALL_TARGET=    libpngwriter

  post-patch:
diff -duNr pngwriter_old/distinfo pngwriter/distinfo
--- pngwriter_old/distinfo      Sun Jun 27 13:50:40 2004
+++ pngwriter/distinfo  Sun Jun 27 13:51:17 2004
@@ -1,2 +1,2 @@
-MD5 (pngwriter-0.3.7.tgz) = 72b4e2f09c3b4d81304fe1858b833c3a
-SIZE (pngwriter-0.3.7.tgz) = 463042
+MD5 (pngwriter-0.4.1.tgz) = 8c32996e78d674cc2f7e7646ab0fb04c
+SIZE (pngwriter-0.4.1.tgz) = 534310

[ You'd probably have to run a REINPLACE command to substitute gmake for make 
in some of your files, and/or create patches to do the same thing... ]

-- 
-Chuck



More information about the freebsd-ports mailing list