aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2011-08-26 12:08:00 +0800
committermiwi <miwi@FreeBSD.org>2011-08-26 12:08:00 +0800
commitca35a2787d708c115faef84edaa4631aa21eff0e (patch)
treee09e5e45c6d2a66c5d94d3c0c4a074bfe88aad00
parent3376042b51c817b940c849400d81816b970b2b06 (diff)
downloadfreebsd-ports-gnome-ca35a2787d708c115faef84edaa4631aa21eff0e.tar.gz
freebsd-ports-gnome-ca35a2787d708c115faef84edaa4631aa21eff0e.tar.zst
freebsd-ports-gnome-ca35a2787d708c115faef84edaa4631aa21eff0e.zip
- Update MASTER_SITES and WWW: line
- Add LICENSE PR: 160119 Submitted by: Ports Fury
-rw-r--r--graphics/png2html/Makefile13
-rw-r--r--graphics/png2html/pkg-descr6
2 files changed, 10 insertions, 9 deletions
diff --git a/graphics/png2html/Makefile b/graphics/png2html/Makefile
index f26e06953e4d..6765d8849fc2 100644
--- a/graphics/png2html/Makefile
+++ b/graphics/png2html/Makefile
@@ -9,22 +9,23 @@ PORTNAME= png2html
PORTVERSION= 1.1
PORTREVISION= 7
CATEGORIES= graphics
-MASTER_SITES= http://www.engr.mun.ca/~holden/
+MASTER_SITES= http://www.geoffholden.com/content/projects/png2html/
MAINTAINER= ports@FreeBSD.org
COMMENT= Takes a PNG image and transforms it into HTML
+LICENSE= GPLv2 # (or later)
+LICENSE_FILE= ${WRKSRC}/COPYING
+
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
gd.4:${PORTSDIR}/graphics/gd
PLIST_FILES= bin/png2html
-do-configure:
- @${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig
- @${SED} -e 's|CHANGE_ME|${PREFIX}|' \
- < ${WRKSRC}/Makefile.orig > ${WRKSRC}/Makefile
+post-patch:
+ @${REINPLACE_CMD} 's|CHANGE_ME|${LOCALBASE}|g' ${WRKSRC}/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/png2html ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/png2html ${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/graphics/png2html/pkg-descr b/graphics/png2html/pkg-descr
index e6348301d1a9..b7cddbbc3653 100644
--- a/graphics/png2html/pkg-descr
+++ b/graphics/png2html/pkg-descr
@@ -1,4 +1,4 @@
-png2html takes a PNG image and transforms it into a
-Web page with the use of a text file.
+png2html takes a PNG image and transforms it into a Web page with the
+use of a text file.
-WWW: http://www.engr.mun.ca/~holden/png2html.html
+WWW: http://www.geoffholden.com/content/projects/png2html/