svn commit: r330372 - head/www/august

Pietro Cerutti gahr at FreeBSD.org
Tue Oct 15 08:50:37 UTC 2013


Author: gahr
Date: Tue Oct 15 08:50:37 2013
New Revision: 330372
URL: http://svnweb.freebsd.org/changeset/ports/330372

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

Modified:
  head/www/august/Makefile

Modified: head/www/august/Makefile
==============================================================================
--- head/www/august/Makefile	Tue Oct 15 08:24:14 2013	(r330371)
+++ head/www/august/Makefile	Tue Oct 15 08:50:37 2013	(r330372)
@@ -15,26 +15,28 @@ COMMENT=	HTML editor for the experienced
 
 LICENSE=	GPLv2
 
+OPTIONS_DEFINE=	DOCS
+
+USES+=		tk
 RUN_DEPENDS=	identify:${PORTSDIR}/graphics/ImageMagick \
 		weblint:${PORTSDIR}/www/weblint
 
 NO_BUILD=	yes
 
-USE_TK_WRAPPER=	yes
-
 PORTDOCS=	specchars.txt
 PLIST_FILES=	bin/august
 
-NO_STAGE=	yes
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e \
-		's|/usr/bin|${LOCALBASE}/bin|g' ${WRKSRC}/august
+		's|/usr/bin/wish|${WISH}|g' ${WRKSRC}/august
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/august ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/specchars.txt ${DOCSDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/august ${STAGEDIR}${PREFIX}/bin
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/specchars.txt ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list