1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00

- Fix LICENSE

- Add LICENSE_FILE
- Add NO_ARCH
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2017-01-02 09:01:05 +00:00
parent 582ac8fd5c
commit 636c730f0b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430315

View File

@ -13,30 +13,29 @@ DISTNAME= ${PORTNAME}${PORTVERSION}.src
MAINTAINER= ports@FreeBSD.org
COMMENT= HTML editor for the experienced Web author
LICENSE= GPLv2
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/license.txt
OPTIONS_DEFINE= DOCS
USES+= tk
RUN_DEPENDS= identify:graphics/ImageMagick \
weblint:www/weblint
USES= tk
NO_BUILD= yes
NO_ARCH= yes
PORTDOCS= specchars.txt
PLIST_FILES= bin/august
.include <bsd.port.options.mk>
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
's|/usr/bin/wish|${WISH}|g' ${WRKSRC}/august
@${REINPLACE_CMD} -e 's|/usr/bin/wish|${WISH}|g' ${WRKSRC}/august
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/august ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/specchars.txt ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>