summaryrefslogtreecommitdiff
path: root/editors/impress/Makefile
blob: 810c5a828b79b0ff44258c08a65e061dadd01ebd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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
NO_ARCH=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES+=		tk

PORTDOCS=	*
PLIST_FILES=	bin/impress

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

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	cd ${WRKSRC}/src/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>