aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-06-08 20:57:00 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-06-08 20:57:00 +0800
commitfb934652872851be8cb0f8264d558a8a3bcf3baf (patch)
tree0afae4f711cefc09f5f2e81c5db9dbcd59d9ad99 /audio
parentfd089a612f2da562e809053e590dd92ec50b0338 (diff)
downloadfreebsd-ports-gnome-fb934652872851be8cb0f8264d558a8a3bcf3baf.tar.gz
freebsd-ports-gnome-fb934652872851be8cb0f8264d558a8a3bcf3baf.tar.zst
freebsd-ports-gnome-fb934652872851be8cb0f8264d558a8a3bcf3baf.zip
- Fix misused PLIST_SUB substitudes [1]
- While here, fix license, whitespace, add missing qt corelib dependency and switch to new test framework [2] PR: 210096 [1] Submitted by: tcberner@gmail.com [1] Approved by: FreeBSD@ShaneWare.Biz [1], portmgr blanket [2]
Diffstat (limited to 'audio')
-rw-r--r--audio/hydrogen-devel/Makefile9
-rw-r--r--audio/hydrogen-devel/pkg-plist8
2 files changed, 9 insertions, 8 deletions
diff --git a/audio/hydrogen-devel/Makefile b/audio/hydrogen-devel/Makefile
index 10b4f265d348..a806df71b3d7 100644
--- a/audio/hydrogen-devel/Makefile
+++ b/audio/hydrogen-devel/Makefile
@@ -9,7 +9,8 @@ PKGNAMESUFFIX= -devel
MAINTAINER= FreeBSD@ShaneWare.Biz
COMMENT= Advanced drum machine
-LICENSE= GPLv2
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libsndfile.so:audio/libsndfile
@@ -17,10 +18,10 @@ CONFLICTS= hydrogen-0.*
USE_GITHUB= yes
GH_ACCOUNT= hydrogen-music
-GH_TAGNAME= 718b2652fb
+GH_TAGNAME= 718b2652fb
USE_QT4= qmake_build moc_build rcc_build uic_build gui \
- network xml xmlpatterns
+ corelib network xml xmlpatterns
USES= cmake desktop-file-utils pkgconfig
OPTIONS_SINGLE= EXPORT
@@ -97,7 +98,7 @@ post-patch:
@${REINPLACE_CMD} 's|EXISTS(tar|EXISTS(${LOCALBASE}/lib/libtar.so|g' \
${WRKSRC}/CMakeLists.txt
-test: build
+do-test:
cd ${WRKSRC} && ./src/tests/tests
.include <bsd.port.mk>
diff --git a/audio/hydrogen-devel/pkg-plist b/audio/hydrogen-devel/pkg-plist
index c981a99ba5de..adbd0f636e85 100644
--- a/audio/hydrogen-devel/pkg-plist
+++ b/audio/hydrogen-devel/pkg-plist
@@ -1,7 +1,7 @@
-%%QT_BINDIR%%/h2cli
-%%QT_BINDIR%%/h2player
-%%QT_BINDIR%%/h2synth
-%%QT_BINDIR%%/hydrogen
+bin/h2cli
+bin/h2player
+bin/h2synth
+bin/hydrogen
include/hydrogen/IO/AlsaAudioDriver.h
include/hydrogen/IO/AlsaMidiDriver.h
include/hydrogen/IO/AudioOutput.h