mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
e8261f4517
- Pass maintainership to submitter - Add stage support PR: ports/183049 Submitted by: Luca Pizzamiglio <luca.pizzamiglio@gmail.com>
30 lines
838 B
Makefile
30 lines
838 B
Makefile
# Created by: Charles Mercadal <mercadal@diablonet.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ctronome
|
|
PORTVERSION= 0.5.5
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://ctronome.kign.org/source/
|
|
|
|
MAINTAINER= luca.pizzamiglio@gmail.com
|
|
COMMENT= Programmable console-based metronome
|
|
|
|
LICENSE= GPLv2
|
|
|
|
PLIST_FILES= bin/ctronome \
|
|
%%DATADIR%%/metronome1.wav \
|
|
%%DATADIR%%/metronome2.wav
|
|
PLIST_DIRS= %%DATADIR%%
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|linux/soundcard.h|sys/soundcard.h|' ${WRKSRC}/ctronome.h ${WRKSRC}/dsp.c
|
|
@${REINPLACE_CMD} -e 's|/usr/share/ctronome|${DATADIR}|' ${WRKSRC}/ctronome.h
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ctronome ${STAGEDIR}${PREFIX}/bin
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/metronome1.wav ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/metronome2.wav ${STAGEDIR}${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|