Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jun 2016 13:40:14 +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: r417306 - in head/devel/vtcl: . files
Message-ID:  <201606221340.u5MDeEgw020310@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Jun 22 13:40:14 2016
New Revision: 417306
URL: https://svnweb.freebsd.org/changeset/ports/417306

Log:
  - Add NO_ARCH
  - Switch to options helpers
  - Regenerate patches with `make makepatch`

Modified:
  head/devel/vtcl/Makefile
  head/devel/vtcl/files/patch-configure

Modified: head/devel/vtcl/Makefile
==============================================================================
--- head/devel/vtcl/Makefile	Wed Jun 22 13:36:27 2016	(r417305)
+++ head/devel/vtcl/Makefile	Wed Jun 22 13:40:14 2016	(r417306)
@@ -13,19 +13,17 @@ COMMENT=	Application Development Environ
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
-NO_BUILD=	yes
-
-USES+=		dos2unix tk:84
+USES=		dos2unix tk:84
 DOS2UNIX_FILES=	configure
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	${PREFIX}
+NO_BUILD=	yes
+NO_ARCH=	yes
 
 PORTDOCS=	*
 PORTEXAMPLES=	*
 
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 post-patch:
 	@${REINPLACE_CMD} -e \
@@ -48,15 +46,15 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/images/edit/*.gif ${STAGEDIR}${PREFIX}/lib/vtcl/images/edit
 	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/vtcl/lib
 	@(cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/vtcl/lib)
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+
+do-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/sample
 	@(cd ${WRKSRC}/sample && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/sample)
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/demo
 	@(cd ${WRKSRC}/demo && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/demo)
-.endif
 
 .include <bsd.port.mk>

Modified: head/devel/vtcl/files/patch-configure
==============================================================================
--- head/devel/vtcl/files/patch-configure	Wed Jun 22 13:36:27 2016	(r417305)
+++ head/devel/vtcl/files/patch-configure	Wed Jun 22 13:40:14 2016	(r417306)
@@ -1,6 +1,6 @@
---- configure.orig	Tue Dec 18 07:20:13 2001
-+++ configure	Wed Feb 27 14:04:17 2002
-@@ -56,9 +56,9 @@
+--- configure.orig	2016-05-23 13:26:31 UTC
++++ configure
+@@ -56,9 +56,9 @@ fi
  echo
  
  cd `dirname $0`
@@ -12,7 +12,7 @@
  #!/bin/sh
  
  PATH_TO_WISH=$WISH
-@@ -70,4 +70,4 @@
+@@ -70,4 +70,4 @@ export VTCL_HOME
  exec \${PATH_TO_WISH} \${VTCL_HOME}/vtcl.tcl \$*
  EOF
  



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