mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
b466a35192
- Fix MASTER_SITES - Convert to OPTIONSng (DOCS) - STAGE-clean
40 lines
836 B
Makefile
40 lines
836 B
Makefile
# Created by: Kris Kennaway <kris@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= impress
|
|
PORTVERSION= 1.1b9
|
|
PORTREVISION= 3
|
|
CATEGORIES= editors tk
|
|
MASTER_SITES= http://www.ntlug.org/~ccox/impress/
|
|
DISTNAME= imp${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Publishing and presentation tool
|
|
|
|
LICENSE= GPLv2 GPLv3
|
|
LICENSE_COMB= dual
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
NO_BUILD= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
USES+= tk
|
|
|
|
PORTDOCS= *
|
|
PLIST_FILES= bin/impress
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|exec wish|exec ${WISH}|g' \
|
|
${WRKSRC}/src/impress.tcl
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/impress.tcl ${STAGEDIR}${PREFIX}/bin/impress
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC}/src/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|