mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
178dc40a96
Approved by: wen@ (mentor)
38 lines
863 B
Makefile
38 lines
863 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.8
|
|
CATEGORIES= www textproc
|
|
MASTER_SITES= http://www.catb.org/~esr/imgsizer/ \
|
|
http://www.c-s.li/ports/
|
|
|
|
MAINTAINER= cs@FreeBSD.org
|
|
COMMENT= A tool to autogenerate WIDTH and HEIGHT for IMG HTML tags
|
|
|
|
RUN_DEPENDS= rdjpgcom:${PORTSDIR}/graphics/jpeg \
|
|
identify:${PORTSDIR}/graphics/ImageMagick
|
|
|
|
LICENSE= BSD
|
|
|
|
USE_PYTHON= yes
|
|
NO_BUILD= yes
|
|
MAN1= imgsizer.1
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' ${WRKSRC}/imgsizer
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
${MKDIR} ${MAN1PREFIX}/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/imgsizer.1 ${MAN1PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|