diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2011-08-26 04:08:00 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2011-08-26 04:08:00 +0000 |
commit | 5172fcebd2be95eb3e3f07afe44398de9752b32f (patch) | |
tree | a6394491c6e0c316778a5d8a14d8ae9b73f22d3f /graphics/png2html | |
parent | d24d4d2dda63ccd5d3d2d1cf4ea8b1a9dbae37a3 (diff) |
Notes
Diffstat (limited to 'graphics/png2html')
-rw-r--r-- | graphics/png2html/Makefile | 13 | ||||
-rw-r--r-- | graphics/png2html/pkg-descr | 6 |
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/ |