diff options
-rw-r--r-- | www/Makefile | 1 | ||||
-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 |
5 files changed, 41 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index a6a4c16d27b2..1493ccdcd66c 100644 --- a/www/Makefile +++ b/www/Makefile @@ -152,6 +152,7 @@ SUBDIR += hydra SUBDIR += hypermail SUBDIR += igal + SUBDIR += imgsizer SUBDIR += indexme SUBDIR += interchange SUBDIR += jakarta-jmeter 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 |