- Support staging
- Add license - Fix COMMENT
This commit is contained in:
parent
3f9369d41a
commit
3b0cd42984
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335850
@ -8,27 +8,25 @@ 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
|
||||
COMMENT= Tool to autogenerate WIDTH and HEIGHT for IMG HTML tags
|
||||
|
||||
LICENSE= BSD
|
||||
|
||||
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}
|
||||
PLIST_FILES= bin/${PORTNAME} man/man1/imgsizer.1.gz
|
||||
|
||||
NO_STAGE= yes
|
||||
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
|
||||
${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>
|
||||
|
Loading…
Reference in New Issue
Block a user