freebsd-ports/www/imgsizer/Makefile
Mathieu Arnold 72ea7e696b Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:33:55 +00:00

31 lines
785 B
Makefile

# Created by: Jean-Yves Lefort <jylefort@brutele.be>
# $FreeBSD$
PORTNAME= imgsizer
PORTVERSION= 2.9
CATEGORIES= www textproc
MASTER_SITES= http://www.catb.org/~esr/imgsizer/ \
http://www.c-s.li/ports/
MAINTAINER= cs@FreeBSD.org
COMMENT= Tool to autogenerate WIDTH and HEIGHT for IMG HTML tags
LICENSE= BSD4CLAUSE
RUN_DEPENDS= identify:graphics/ImageMagick
USES= jpeg:run python
NO_BUILD= yes
PLIST_FILES= bin/${PORTNAME} man/man1/imgsizer.1.gz
post-patch:
@${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' ${WRKSRC}/imgsizer
do-install:
${MKDIR} ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/imgsizer.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>