aboutsummaryrefslogtreecommitdiffstats
path: root/www/imgsizer
diff options
context:
space:
mode:
authorcs <cs@FreeBSD.org>2013-12-08 05:17:39 +0800
committercs <cs@FreeBSD.org>2013-12-08 05:17:39 +0800
commit3713bb6c9903607253309944068cbb4d3ab9454c (patch)
treeca6a930e24012287d1859cbe90673b6d2294bd9c /www/imgsizer
parent780c4c4b41130e606898f901a2fb8e04c20ad4f3 (diff)
downloadfreebsd-ports-gnome-3713bb6c9903607253309944068cbb4d3ab9454c.tar.gz
freebsd-ports-gnome-3713bb6c9903607253309944068cbb4d3ab9454c.tar.zst
freebsd-ports-gnome-3713bb6c9903607253309944068cbb4d3ab9454c.zip
- Support staging
- Add license - Fix COMMENT
Diffstat (limited to 'www/imgsizer')
-rw-r--r--www/imgsizer/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/www/imgsizer/Makefile b/www/imgsizer/Makefile
index 7721fc7c4a54..2cbddb862139 100644
--- a/www/imgsizer/Makefile
+++ b/www/imgsizer/Makefile
@@ -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>