mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Convert to USES+=tk
- Fix MASTER_SITES - Convert to OPTIONSng (DOCS) - STAGE-clean
This commit is contained in:
parent
cb1391808d
commit
b466a35192
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330620
1 changed files with 14 additions and 9 deletions
|
@ -5,8 +5,7 @@ PORTNAME= impress
|
||||||
PORTVERSION= 1.1b9
|
PORTVERSION= 1.1b9
|
||||||
PORTREVISION= 3
|
PORTREVISION= 3
|
||||||
CATEGORIES= editors tk
|
CATEGORIES= editors tk
|
||||||
MASTER_SITES= TUCOWS \
|
MASTER_SITES= http://www.ntlug.org/~ccox/impress/
|
||||||
http://www.ntlug.org/~ccox/impress/
|
|
||||||
DISTNAME= imp${PORTVERSION}
|
DISTNAME= imp${PORTVERSION}
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
@ -15,20 +14,26 @@ COMMENT= Publishing and presentation tool
|
||||||
LICENSE= GPLv2 GPLv3
|
LICENSE= GPLv2 GPLv3
|
||||||
LICENSE_COMB= dual
|
LICENSE_COMB= dual
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||||
|
USES+= tk
|
||||||
USE_TK_WRAPPER= yes
|
|
||||||
|
|
||||||
PORTDOCS= *
|
PORTDOCS= *
|
||||||
PLIST_FILES= bin/impress
|
PLIST_FILES= bin/impress
|
||||||
|
|
||||||
NO_STAGE= yes
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
${REINPLACE_CMD} -e 's|exec wish|exec ${WISH}|g' \
|
||||||
|
${WRKSRC}/src/impress.tcl
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/src/impress.tcl ${PREFIX}/bin/impress
|
${INSTALL_SCRIPT} ${WRKSRC}/src/impress.tcl ${STAGEDIR}${PREFIX}/bin/impress
|
||||||
.if !defined(NOPORTDOCS)
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
@${MKDIR} ${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
@(cd ${WRKSRC}/src/doc && ${COPYTREE_SHARE} . ${DOCSDIR})
|
cd ${WRKSRC}/src/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue