2013-05-08 08:03:22 +00:00
|
|
|
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
|
2010-03-27 16:04:59 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= stymulator
|
|
|
|
DISTVERSION= 0.21a
|
2011-02-11 09:52:46 +00:00
|
|
|
PORTREVISION= 3
|
2010-03-27 16:04:59 +00:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= http://atariarea.krap.pl/stymulator/files/ \
|
2015-01-06 09:36:21 +00:00
|
|
|
LOCAL/ehaupt
|
2010-03-27 16:04:59 +00:00
|
|
|
DISTNAME= STYMulator-${DISTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
|
|
COMMENT= Command-line Yamaha YM2149 (.ym) chiptune player
|
|
|
|
|
2011-12-27 15:14:23 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-02-07 13:18:31 +00:00
|
|
|
USES= dos2unix ncurses
|
2013-05-08 08:03:22 +00:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2010-03-27 16:04:59 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
|
2014-01-21 11:00:23 +00:00
|
|
|
MANPAGE1= ymplayer.1 ym2wav.1
|
2013-10-28 13:33:22 +00:00
|
|
|
PLIST_FILES= bin/ym2wav bin/ymplayer bin/stymulator man/man1/ymplayer.1.gz \
|
|
|
|
man/man1/ym2wav.1.gz
|
2011-02-11 09:52:46 +00:00
|
|
|
|
2016-02-07 13:18:31 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lncurses|$$(LDFLAGS) -lncurses|' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
|
2010-03-27 16:04:59 +00:00
|
|
|
do-install:
|
2013-10-28 13:33:22 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ym2wav ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ymplayer ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${LN} ${STAGEDIR}${PREFIX}/bin/ymplayer ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
2014-01-21 11:00:23 +00:00
|
|
|
.for f in ${MANPAGE1}
|
2013-10-28 13:33:22 +00:00
|
|
|
${INSTALL_MAN} ${FILESDIR}/${f} ${STAGEDIR}${MANPREFIX}/man/man1
|
2010-03-28 10:45:00 +00:00
|
|
|
.endfor
|
2010-03-27 16:04:59 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|