From b652b7cda62f57c224bdcbce68cc97e4b0ffa892 Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Tue, 15 Oct 2013 08:50:37 +0000 Subject: [PATCH] - Convert to USES+=tk - Convert to OPTIONSng (DOCS) - STAGE-clean --- www/august/Makefile | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/www/august/Makefile b/www/august/Makefile index d46818825066..b11a21b98587 100644 --- a/www/august/Makefile +++ b/www/august/Makefile @@ -15,26 +15,28 @@ COMMENT= HTML editor for the experienced Web author 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 + 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