1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/audio/splaytk/Makefile
Emanuel Haupt e6db0b9829 - Support USE_TK_WRAPPER
- Add LICENSE

PR:		161632
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2011-10-18 13:04:19 +00:00

39 lines
824 B
Makefile

# New ports collection makefile for: splaytk
# Date created: 19 Apr 1998
# Whom: brett@peloton.physics.montana.edu
#
# $FreeBSD$
#
PORTNAME= splaytk
PORTVERSION= 2.0
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= SUNSITE/apps/sound/players
MAINTAINER= ports@FreeBSD.org
COMMENT= A tk based interface for splay
LICENSE= GPLv2
RUN_DEPENDS= splay:${PORTSDIR}/audio/splay
NO_BUILD= yes
WRKSRC= ${WRKDIR}/splay-tk-${PORTVERSION}
USE_TK_WRAPPER= yes
DATADIR= ${PREFIX}/share/splay-tk
post-patch:
@${REINPLACE_CMD} -e \
's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/splay-tk.tcl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/splay-tk.tcl ${PREFIX}/bin/splay-tk
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.xbm ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/splay-tk.gif ${DATADIR}
.include <bsd.port.mk>