Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 2013 21:17:39 +0000 (UTC)
From:      Carlo Strub <cs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335850 - head/www/imgsizer
Message-ID:  <201312072117.rB7LHdmO030707@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cs
Date: Sat Dec  7 21:17:39 2013
New Revision: 335850
URL: http://svnweb.freebsd.org/changeset/ports/335850

Log:
  - Support staging
  - Add license
  - Fix COMMENT

Modified:
  head/www/imgsizer/Makefile

Modified: head/www/imgsizer/Makefile
==============================================================================
--- head/www/imgsizer/Makefile	Sat Dec  7 20:29:21 2013	(r335849)
+++ head/www/imgsizer/Makefile	Sat Dec  7 21:17:39 2013	(r335850)
@@ -8,27 +8,25 @@ MASTER_SITES=	http://www.catb.org/~esr/i
 		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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312072117.rB7LHdmO030707>