1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

- Update MASTER_SITES and WWW: line

- Add LICENSE

PR:		160119
Submitted by:	Ports Fury
This commit is contained in:
Martin Wilke 2011-08-26 04:08:00 +00:00
parent d24d4d2dda
commit 5172fcebd2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=280461
2 changed files with 10 additions and 9 deletions

View File

@ -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>

View File

@ -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/