summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2018-12-28 14:51:23 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2018-12-28 14:51:23 +0000
commit12a2df626b3594448dbbf36d42e477c8c6086151 (patch)
treea039ff7e39323e93f58637d0c699cf40e6c31708 /audio
parentsysutils/auto-admin: New scripts to support of desktop-installer, cluster-admin (diff)
Add hvl2wav g20180905, tool for converting AHX sound modules to WAV.
Notes
Notes: svn path=/head/; revision=488602
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/hvl2wav/Makefile40
-rw-r--r--audio/hvl2wav/distinfo3
-rw-r--r--audio/hvl2wav/pkg-descr3
4 files changed, 47 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 59b0de0b214c..4321f4493e86 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -334,6 +334,7 @@
SUBDIR += hs-OpenAL
SUBDIR += hs-libmpd
SUBDIR += hts_engine-API
+ SUBDIR += hvl2wav
SUBDIR += hydrogen
SUBDIR += icecast
SUBDIR += icecast-kh
diff --git a/audio/hvl2wav/Makefile b/audio/hvl2wav/Makefile
new file mode 100644
index 000000000000..b2688c7d3c9a
--- /dev/null
+++ b/audio/hvl2wav/Makefile
@@ -0,0 +1,40 @@
+# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= hvl2wav
+DISTVERSION= g20180905
+CATEGORIES= audio
+
+MAINTAINER= ehaupt@FreeBSD.org
+COMMENT= Tool for converting AHX sound modules to WAV
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= pete-gordon
+GH_PROJECT= hivelytracker
+GH_TAGNAME= 8296a50
+
+OPTIONS_DEFINE= EXAMPLES
+
+LDFLAGS+= -lm
+
+PLIST_FILES= bin/hvl2wav man/man1/hvl2wav.1.gz
+PORTEXAMPLES= *
+
+do-build:
+ ${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/${PORTNAME}/*.c \
+ -o ${WRKSRC}/${PORTNAME}/${PORTNAME}
+
+do-install:
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}/${PORTNAME}.1 \
+ ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}/${PORTNAME} \
+ ${STAGEDIR}${PREFIX}/bin
+
+do-install-EXAMPLES-on:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Songs/* ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.mk>
diff --git a/audio/hvl2wav/distinfo b/audio/hvl2wav/distinfo
new file mode 100644
index 000000000000..b589b069cedf
--- /dev/null
+++ b/audio/hvl2wav/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1546006883
+SHA256 (pete-gordon-hivelytracker-g20180905-8296a50_GH0.tar.gz) = 129335104a0c4ea07a026d0da942221351c1007aaead0203b5ef108a8d8e0613
+SIZE (pete-gordon-hivelytracker-g20180905-8296a50_GH0.tar.gz) = 5818746
diff --git a/audio/hvl2wav/pkg-descr b/audio/hvl2wav/pkg-descr
new file mode 100644
index 000000000000..5192f6def057
--- /dev/null
+++ b/audio/hvl2wav/pkg-descr
@@ -0,0 +1,3 @@
+Tool for converting Abyss' Highest eXperience (.AHX) sound modules to WAV.
+
+WWW: https://github.com/pete-gordon/hivelytracker