Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2016 15:41:40 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r413142 - head/www/thumbnail_index
Message-ID:  <201604121541.u3CFfeQP044387@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Apr 12 15:41:40 2016
New Revision: 413142
URL: https://svnweb.freebsd.org/changeset/ports/413142

Log:
  - Add LICENSE
  - Add NO_ARCH
  - Switch to options helpers
  - Clean up pkg-descr

Modified:
  head/www/thumbnail_index/Makefile
  head/www/thumbnail_index/pkg-descr

Modified: head/www/thumbnail_index/Makefile
==============================================================================
--- head/www/thumbnail_index/Makefile	Tue Apr 12 15:28:15 2016	(r413141)
+++ head/www/thumbnail_index/Makefile	Tue Apr 12 15:41:40 2016	(r413142)
@@ -11,16 +11,26 @@ DISTNAME=	${PORTNAME}_10aug1998
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Make an HTML index file for a bunch of images
 
+LICENSE=	BSD2CLAUSE
+
 RUN_DEPENDS=	pnmscale:graphics/netpbm
 
-NO_BUILD=	yes
 USES=		jpeg:run
-
+NO_BUILD=	yes
+NO_ARCH=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
+PORTDOCS=	*
+
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/thumbnail_index ${STAGEDIR}${PREFIX}/bin/
 	${INSTALL_SCRIPT} ${WRKSRC}/thumbnail_reap ${STAGEDIR}${PREFIX}/bin/
 	${INSTALL_MAN} ${WRKSRC}/thumbnail_index.1 ${STAGEDIR}${PREFIX}/man/man1/
 
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+
 .include <bsd.port.mk>

Modified: head/www/thumbnail_index/pkg-descr
==============================================================================
--- head/www/thumbnail_index/pkg-descr	Tue Apr 12 15:28:15 2016	(r413141)
+++ head/www/thumbnail_index/pkg-descr	Tue Apr 12 15:41:40 2016	(r413142)
@@ -1,10 +1,7 @@
-       thumbnail_index - make an HTML index file for a bunch of images
+thumbnail_index - make an HTML index file for a bunch of images
 
 Run this script in a web directory consisting of all or mostly image
 files.  It'll create an index.html of thumbnail images, putting
 the thumbnail files in a hidden subdirectory.
 
 WWW: http://www.acme.com/software/thumbnail_index/
-
-MIHIRA, Yoshiro
-<sanpei@FreeBSD.org>



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