mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
289883b11b
* Add PKGNAMESUFFIX and rename the directory. This was done to show that IM6 is not the "main" version. But still fully supported by upstream. * Convert a number of options to optionhelpers. * Add option for ISO/IEC 23008-12:2017 HEIF suport * Add comment to pkg-descr explaining IM6's "legacy" tag. * Add comment to the patch-config_policy.xml file why it still needed. Please note that IM7 is not a drop in replacement due to library API and command arguments changes. And as a result ports need to decide for themself which version to use. Chase these changes in all the ports that using IM6. PR: 225102 (based on, only the version update) [1] Submitted by: Pascal Christen <pascal.christen@hostpoint.ch>
32 lines
773 B
Makefile
32 lines
773 B
Makefile
# Created by: Jean-Yves Lefort <jylefort@brutele.be>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= imgsizer
|
|
PORTVERSION= 2.9
|
|
PORTREVISION= 1
|
|
CATEGORIES= www textproc
|
|
MASTER_SITES= http://www.catb.org/~esr/imgsizer/
|
|
|
|
MAINTAINER= cs@FreeBSD.org
|
|
COMMENT= Tool to autogenerate WIDTH and HEIGHT for IMG HTML tags
|
|
|
|
LICENSE= BSD4CLAUSE
|
|
|
|
RUN_DEPENDS= identify:graphics/ImageMagick6
|
|
|
|
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>
|