aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2013-10-17 09:36:36 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2013-10-17 09:36:36 +0000
commitb466a3519216c70869bccd8c8908bc5f9ac6e92d (patch)
tree43479e81b0cadbcb98e843fa6f4931af475ddc2b /editors
parentcb1391808d0fd4accf71a6870180ad493bfcb655 (diff)
downloadports-b466a3519216c70869bccd8c8908bc5f9ac6e92d.tar.gz
ports-b466a3519216c70869bccd8c8908bc5f9ac6e92d.zip
Notes
Diffstat (limited to 'editors')
-rw-r--r--editors/impress/Makefile23
1 files changed, 14 insertions, 9 deletions
diff --git a/editors/impress/Makefile b/editors/impress/Makefile
index 925b983a9667..a480fcc77fa1 100644
--- a/editors/impress/Makefile
+++ b/editors/impress/Makefile
@@ -5,8 +5,7 @@ PORTNAME= impress
PORTVERSION= 1.1b9
PORTREVISION= 3
CATEGORIES= editors tk
-MASTER_SITES= TUCOWS \
- http://www.ntlug.org/~ccox/impress/
+MASTER_SITES= http://www.ntlug.org/~ccox/impress/
DISTNAME= imp${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
@@ -15,20 +14,26 @@ COMMENT= Publishing and presentation tool
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
+OPTIONS_DEFINE= DOCS
+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
-USE_TK_WRAPPER= yes
+USES+= tk
PORTDOCS= *
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:
- ${INSTALL_SCRIPT} ${WRKSRC}/src/impress.tcl ${PREFIX}/bin/impress
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @(cd ${WRKSRC}/src/doc && ${COPYTREE_SHARE} . ${DOCSDIR})
+ ${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>