svn commit: r339336 - in head/x11-clocks/stopwatch: . files

Pietro Cerutti gahr at FreeBSD.org
Fri Jan 10 09:05:47 UTC 2014


Author: gahr
Date: Fri Jan 10 09:05:46 2014
New Revision: 339336
URL: http://svnweb.freebsd.org/changeset/ports/339336

Log:
  - Convert to USES=tk
  - STAGE-clean
  - Do not require tk-wrapper

Deleted:
  head/x11-clocks/stopwatch/files/
Modified:
  head/x11-clocks/stopwatch/Makefile   (contents, props changed)

Modified: head/x11-clocks/stopwatch/Makefile
==============================================================================
--- head/x11-clocks/stopwatch/Makefile	Fri Jan 10 09:01:34 2014	(r339335)
+++ head/x11-clocks/stopwatch/Makefile	Fri Jan 10 09:05:46 2014	(r339336)
@@ -12,17 +12,15 @@ MAINTAINER=	edwin at mavetju.org
 COMMENT=	Stopwatch enables hand timing much like a physical stopwatch
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-3.4
-USE_TK_RUN=	yes
-USE_TK_WRAPPER=	yes
+USES=		tk:run
 NO_BUILD=	yes
 
 PLIST_FILES=	bin/stopwatch
 
-NO_STAGE=	yes
 post-patch:
-	${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/stopwatch
+	${REINPLACE_CMD} -e "s,/depot/path/wish,${WISH}," ${WRKSRC}/stopwatch
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/stopwatch ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/stopwatch ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list