svn commit: r416109 - head/editors/tpad

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun May 29 14:26:58 UTC 2016


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 at 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>


More information about the svn-ports-head mailing list