2013-09-20 16:36:35 +02:00
|
|
|
|
# Created by: Juha Erkkil<69> <erkkila@cc.jyu.fi>
|
2003-09-01 00:32:14 +02:00
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
|
|
PORTNAME= etktab
|
2006-06-12 14:22:35 +02:00
|
|
|
|
PORTVERSION= 3.2
|
2011-08-08 14:43:30 +02:00
|
|
|
|
PORTREVISION= 2
|
2008-04-09 15:42:26 +02:00
|
|
|
|
CATEGORIES= audio tcl tk
|
2011-08-08 14:43:30 +02:00
|
|
|
|
MASTER_SITES= SF/${PORTNAME}/eTktab/${PORTVERSION} \
|
|
|
|
|
SF/${PORTNAME}/keyboard%20layout%20support/${PORTVERSION}:keyboard
|
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:DEFAULT
|
2003-09-01 00:32:14 +02:00
|
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
|
|
2011-02-26 15:55:34 +01:00
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-09-01 00:32:14 +02:00
|
|
|
|
COMMENT= Guitar tablature editor
|
|
|
|
|
|
2013-09-24 09:02:20 +02:00
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
|
|
USES+= tk
|
2003-09-01 00:32:14 +02:00
|
|
|
|
NO_BUILD= yes
|
2013-09-24 09:02:20 +02:00
|
|
|
|
NO_STAGE= yes
|
2003-09-01 00:32:14 +02:00
|
|
|
|
WRKSRC= ${WRKDIR}/eTktab-${PORTVERSION}
|
|
|
|
|
|
2013-09-24 09:02:20 +02:00
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
|
PORTDOCS= *
|
|
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
|
DISTFILES+= canada_multi-3.2.etk:keyboard \
|
|
|
|
|
dvorak-3.2.etk:keyboard \
|
|
|
|
|
uk-3.2.etk:keyboard \
|
|
|
|
|
us-3.2.etk:keyboard
|
|
|
|
|
.endif
|
|
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
|
${REINPLACE_CMD} -e 's|wish8.4|${WISH}|g' ${WRKSRC}/eTktab
|
2011-08-08 14:43:30 +02:00
|
|
|
|
|
2003-09-01 00:32:14 +02:00
|
|
|
|
post-extract:
|
2006-06-12 14:22:35 +02:00
|
|
|
|
.for FILE in canada_multi-3.2.etk dvorak-3.2.etk uk-3.2.etk us-3.2.etk
|
2003-09-01 00:32:14 +02:00
|
|
|
|
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${FILE} ${WRKSRC}
|
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
|
|
do-install:
|
2011-08-08 14:43:30 +02:00
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/eTktab ${PREFIX}/bin/etktab
|
2013-09-24 09:02:20 +02:00
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2003-09-01 00:32:14 +02:00
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
|
.for FILE in CHANGES.html LICENSE.html README.html eTktab-small.xpm eTktab.xpm \
|
2006-06-12 14:22:35 +02:00
|
|
|
|
canada_multi-3.2.etk dvorak-3.2.etk uk-3.2.etk us-3.2.etk
|
2011-08-08 14:43:30 +02:00
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
|
2003-09-01 00:32:14 +02:00
|
|
|
|
.endfor
|
|
|
|
|
.endif
|
|
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|