diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-06-09 08:01:56 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-06-09 08:01:56 +0000 |
commit | dd083220844bf328db0e3df4be01923d4ef18f1f (patch) | |
tree | 9a5eceae4b9df1a55bdae881dee61af517db560d /www/imgsizer | |
parent | 67174997efc102cc67a4b6efd3079409fd637088 (diff) | |
download | ports-dd083220844bf328db0e3df4be01923d4ef18f1f.tar.gz ports-dd083220844bf328db0e3df4be01923d4ef18f1f.zip |
Add imgsizer 2.6, a tool to autogenerate WIDTH and HEIGHT for IMG HTML
tags.
PR: ports/67717
Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Notes
Notes:
svn path=/head/; revision=111143
Diffstat (limited to 'www/imgsizer')
-rw-r--r-- | www/imgsizer/Makefile | 30 | ||||
-rw-r--r-- | www/imgsizer/distinfo | 2 | ||||
-rw-r--r-- | www/imgsizer/pkg-descr | 7 | ||||
-rw-r--r-- | www/imgsizer/pkg-plist | 1 |
4 files changed, 40 insertions, 0 deletions
diff --git a/www/imgsizer/Makefile b/www/imgsizer/Makefile new file mode 100644 index 000000000000..57a30c882fab --- /dev/null +++ b/www/imgsizer/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: imgsizer +# Date created: 08 Jun 2004 +# Whom: Jean-Yves Lefort <jylefort@brutele.be> +# +# $FreeBSD$ +# + +PORTNAME= imgsizer +PORTVERSION= 2.6 +CATEGORIES= www textproc +MASTER_SITES= http://www.catb.org/~esr/imgsizer/ + +MAINTAINER= jylefort@brutele.be +COMMENT= A tool to autogenerate WIDTH and HEIGHT for IMG HTML tags + +USE_PYTHON= yes +USE_REINPLACE= yes +NO_BUILD= yes +MAN1= imgsizer.1 + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' ${WRKSRC}/imgsizer + +do-install: + ${MKDIR} ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/imgsizer ${PREFIX}/bin + ${MKDIR} ${MAN1PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/imgsizer.1 ${MAN1PREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/www/imgsizer/distinfo b/www/imgsizer/distinfo new file mode 100644 index 000000000000..e3714f1e26c2 --- /dev/null +++ b/www/imgsizer/distinfo @@ -0,0 +1,2 @@ +MD5 (imgsizer-2.6.tar.gz) = 3bb35577b33ca24cf9f1bba1542c1036 +SIZE (imgsizer-2.6.tar.gz) = 65086 diff --git a/www/imgsizer/pkg-descr b/www/imgsizer/pkg-descr new file mode 100644 index 000000000000..9ba86d0b2eb6 --- /dev/null +++ b/www/imgsizer/pkg-descr @@ -0,0 +1,7 @@ +This tool auto-generates or corrects WIDTH and HEIGHT parameters into +HTML IMG tags, making page loading faster. + +WWW: http://www.catb.org/~esr/imgsizer/ + +- Jean-Yves Lefort +jylefort@brutele.be diff --git a/www/imgsizer/pkg-plist b/www/imgsizer/pkg-plist new file mode 100644 index 000000000000..e8fd6d07ff5b --- /dev/null +++ b/www/imgsizer/pkg-plist @@ -0,0 +1 @@ +bin/imgsizer |