Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 May 2016 14:26:57 +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: r416109 - head/editors/tpad
Message-ID:  <201605291426.u4TEQvGc083727@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun May 29 14:26:57 2016
New Revision: 416109
URL: https://svnweb.freebsd.org/changeset/ports/416109

Log:
  - Add LICENSE
  - Add NO_ARCH
  - Depend on tk through USES
  - Switch to options helpers

Modified:
  head/editors/tpad/Makefile

Modified: head/editors/tpad/Makefile
==============================================================================
--- head/editors/tpad/Makefile	Sun May 29 14:26:28 2016	(r416108)
+++ head/editors/tpad/Makefile	Sun May 29 14:26:57 2016	(r416109)
@@ -13,10 +13,12 @@ MASTER_SITES=	SF/tclpad/tclpad/${PORTVER
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Windows XP (TM) enhanced Notepad clone written in Tcl/Tk
 
-RUN_DEPENDS=	wish8.4:x11-toolkits/tk84
+LICENSE=	GPLv2+
 
 NO_BUILD=	yes
+NO_ARCH=	yes
 
+USES=		tk:84,run
 PORTDOCS=	ChangeLog bug.html conf.html embed.html index.html intro.html \
 		keys.html log.html mouse.html tidy.html tidy.png todo tpad.html
 PLIST_SUB=	LIBDIR=lib/tpad${PORTVERSION}
@@ -36,10 +38,12 @@ do-install:
 	(cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s tpad tview)
 	${INSTALL_MAN} ${WRKDIR}/man/man1/tpad.1 ${STAGEDIR}${MANPREFIX}/man/man1
 	(cd ${STAGEDIR}${MANPREFIX}/man/man1 && ${LN} -s tpad.1.gz tview.1.gz)
+	${INSTALL_DATA} ${WRKDIR}/etc/tpad.conf \
+		${STAGEDIR}${PREFIX}/etc/tpad.conf.sample
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	(cd ${WRKDIR}/share/doc/tpad && ${INSTALL_DATA} ${PORTDOCS} \
 		${STAGEDIR}${DOCSDIR})
-	${INSTALL_DATA} ${WRKDIR}/etc/tpad.conf \
-		${STAGEDIR}${PREFIX}/etc/tpad.conf.sample
 
 .include <bsd.port.mk>



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