Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 2015 18:47:25 +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: r396925 - head/net-im/tkabber
Message-ID:  <201509141847.t8EIlPxI013375@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Sep 14 18:47:25 2015
New Revision: 396925
URL: https://svnweb.freebsd.org/changeset/ports/396925

Log:
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/net-im/tkabber/Makefile

Modified: head/net-im/tkabber/Makefile
==============================================================================
--- head/net-im/tkabber/Makefile	Mon Sep 14 18:46:25 2015	(r396924)
+++ head/net-im/tkabber/Makefile	Mon Sep 14 18:47:25 2015	(r396925)
@@ -43,8 +43,6 @@ NO_ARCH=	yes
 SUBDIRS=	contrib emoticons ifacetk mclistbox \
 		msgs pixmaps plugins sounds tclxmpp trans
 
-.include <bsd.port.options.mk>
-
 do-install:
 	${ECHO_CMD} -e "#!/bin/sh\nexec ${WISH} ${DATADIR}/tkabber.tcl \
 		-name tkabber \"\$$@\"\n" > ${WRKDIR}/tkabber.sh
@@ -57,15 +55,15 @@ do-install:
 .for i in ${SUBDIRS}
 	${CP} -R ${WRKSRC}/${i} ${STAGEDIR}${DATADIR}
 .endfor
-.if ${PORT_OPTIONS:MEXAMPLES}
+
+do-install-EXAMPLES-on:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${CP} -R ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
-.endif
-.if ${PORT_OPTIONS:MDOCS}
+	@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
+
+do-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in tkabber.html tkabber.xml
 	${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>



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