1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/www/imgsizer/Makefile
Kirill Ponomarev dd08322084 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>
2004-06-09 08:01:56 +00:00

31 lines
726 B
Makefile

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