1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/audio/splaytk/Makefile
Mathieu Arnold 7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00

35 lines
769 B
Makefile

# Created by: Brett Taylor <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= Tk based interface for splay
LICENSE= GPLv2
RUN_DEPENDS= splay:audio/splay
NO_BUILD= yes
WRKSRC= ${WRKDIR}/splay-tk-${PORTVERSION}
USES= tk:wrapper
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 ${STAGEDIR}${PREFIX}/bin/splay-tk
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.xbm ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/splay-tk.gif ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>