Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2013 09:11:14 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r330374 - head/textproc/redet
Message-ID:  <201310150911.r9F9BEJa056832@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Tue Oct 15 09:11:14 2013
New Revision: 330374
URL: http://svnweb.freebsd.org/changeset/ports/330374

Log:
  - Convert to USES+=tk
  - Convert to OPTIONSng (DOCS)
  - STAGE-clean

Modified:
  head/textproc/redet/Makefile   (contents, props changed)

Modified: head/textproc/redet/Makefile
==============================================================================
--- head/textproc/redet/Makefile	Tue Oct 15 09:00:49 2013	(r330373)
+++ head/textproc/redet/Makefile	Tue Oct 15 09:11:14 2013	(r330374)
@@ -11,24 +11,27 @@ COMMENT=	Visual regexp development and e
 
 RUN_DEPENDS=	${LOCALBASE}/lib/iwidgets/iwidgets.tcl:${PORTSDIR}/x11-toolkits/iwidgets
 
+OPTIONS_DEFINE=	DOCS
+
 NO_BUILD=	yes
 USE_BZIP2=	yes
-USE_TK_RUN=	84
+USES+=		tk:run
 
 PORTDOCS=	AUTHORS COPYING CREDITS LICENSE NEWS README-General ChangeLog
-MAN1=		redet.1
-PLIST_FILES=	bin/redet
+PLIST_FILES=	bin/redet \
+		man/man1/redet.1.gz
+
+.include <bsd.port.options.mk>
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e "s@exec wish@exec ${WISH}@" ${WRKSRC}/redet.tcl
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/redet.tcl ${PREFIX}/bin/redet
-	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1/
-.if !defined(NOPORTDOCS)
-	@${INSTALL} -d ${DOCSDIR}
-	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
+	${INSTALL_SCRIPT} ${WRKSRC}/redet.tcl ${STAGEDIR}${PREFIX}/bin/redet
+	${INSTALL_MAN} ${WRKSRC}/redet.1 ${STAGEDIR}${PREFIX}/man/man1
+.if ${PORT_OPTIONS:MDOCS}
+	@${INSTALL} -d ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>



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