mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 19:36:28 -04:00
- Convert to USES+=tk
- Convert to OPTIONSng (DOCS) - STAGE-clean
This commit is contained in:
parent
87cd41d3f8
commit
b652b7cda6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330372
1 changed files with 10 additions and 8 deletions
|
@ -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 <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>
|
||||
|
|
Loading…
Add table
Reference in a new issue