1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/editors/impress/Makefile
Pietro Cerutti b466a35192 - Convert to USES+=tk
- Fix MASTER_SITES
- Convert to OPTIONSng (DOCS)
- STAGE-clean
2013-10-17 09:36:36 +00:00

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>