aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/etktab/Makefile22
1 files changed, 14 insertions, 8 deletions
diff --git a/audio/etktab/Makefile b/audio/etktab/Makefile
index 1a0d6495ebdc..91d660fc9ca8 100644
--- a/audio/etktab/Makefile
+++ b/audio/etktab/Makefile
@@ -7,34 +7,40 @@
PORTNAME= etktab
PORTVERSION= 3.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio tcl tk
-MASTER_SITES= SF/${PORTNAME}/eTktab/${PORTVERSION}
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} canada_multi-3.2.etk \
- dvorak-3.2.etk uk-3.2.etk us-3.2.etk
+MASTER_SITES= SF/${PORTNAME}/eTktab/${PORTVERSION} \
+ SF/${PORTNAME}/keyboard%20layout%20support/${PORTVERSION}:keyboard
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:DEFAULT
+.if !defined(NOPORTDOCS)
+DISTFILES+= canada_multi-3.2.etk:keyboard \
+ dvorak-3.2.etk:keyboard \
+ uk-3.2.etk:keyboard \
+ us-3.2.etk:keyboard
+.endif
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Guitar tablature editor
-RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
-
NO_BUILD= yes
WRKSRC= ${WRKDIR}/eTktab-${PORTVERSION}
+USE_TK_WRAPPER= yes
+
post-extract:
.for FILE in canada_multi-3.2.etk dvorak-3.2.etk uk-3.2.etk us-3.2.etk
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${FILE} ${WRKSRC}
.endfor
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/eTktab ${PREFIX}/bin/etktab
+ ${INSTALL_SCRIPT} ${WRKSRC}/eTktab ${PREFIX}/bin/etktab
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for FILE in CHANGES.html LICENSE.html README.html eTktab-small.xpm eTktab.xpm \
canada_multi-3.2.etk dvorak-3.2.etk uk-3.2.etk us-3.2.etk
- @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif