git: 0941047a34de - main - audio/d11amp: Add new port

From: Felix Palmen <zirias_at_FreeBSD.org>
Date: Mon, 09 Jan 2023 08:23:50 UTC
The branch main has been updated by zirias:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0941047a34de2c295d68f6c8a5db6ad8bcc999ec

commit 0941047a34de2c295d68f6c8a5db6ad8bcc999ec
Author:     Thomas Dettbarn <dettus@dettus.net>
AuthorDate: 2023-01-05 23:10:00 +0000
Commit:     Felix Palmen <zirias@FreeBSD.org>
CommitDate: 2023-01-09 08:23:06 +0000

    audio/d11amp: Add new port
    
    D11AMP is an oldskool MP3 player. In addition to being a frontend
    to mpg123, it can handle WinAMP's treasure trove of skins.
    
    PR:                     268776
    Approved by:            tcberner (mentor)
    Differential Revision:  https://reviews.freebsd.org/D37974
---
 audio/Makefile         |  1 +
 audio/d11amp/Makefile  | 33 +++++++++++++++++++++++++++++++++
 audio/d11amp/distinfo  |  3 +++
 audio/d11amp/pkg-descr |  2 ++
 4 files changed, 39 insertions(+)

diff --git a/audio/Makefile b/audio/Makefile
index 4bc2071e82bd..43b9a8914c55 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -104,6 +104,7 @@
     SUBDIR += cuetools
     SUBDIR += cutmp3
     SUBDIR += cyanrip
+    SUBDIR += d11amp
     SUBDIR += dagrab
     SUBDIR += darkice
     SUBDIR += dcd
diff --git a/audio/d11amp/Makefile b/audio/d11amp/Makefile
new file mode 100644
index 000000000000..589b15f16dcf
--- /dev/null
+++ b/audio/d11amp/Makefile
@@ -0,0 +1,33 @@
+PORTNAME=	d11amp
+DISTVERSION=	0.61
+CATEGORIES=	audio
+MASTER_SITES=	https://www.dettus.net/d11amp/
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	dettus@dettus.net
+COMMENT=	Oldskool MP3 player
+WWW=		https://www.dettus.net/d11amp/
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+LIB_DEPENDS=	libmpg123.so:audio/mpg123 \
+		libportaudio.so:audio/portaudio	\
+		libzip.so:archivers/libzip
+
+USES=		gnome pkgconfig tar:bz2
+USE_GNOME=	cairo gdkpixbuf2 gtk40
+
+MAKE_ARGS=	INSTALLMAN=${STAGEDIR}${PREFIX}/man
+TEST_ENV=	SHA256_CMD=sha256 TMP_DIR=/tmp/d11amp/
+TEST_TARGET=	check
+
+LDFLAGS+=	-Wl,--as-needed
+
+PLIST_FILES=	bin/d11amp \
+		man/man1/d11amp.1.gz
+
+post-install:
+		${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/d11amp
+
+.include <bsd.port.mk>
diff --git a/audio/d11amp/distinfo b/audio/d11amp/distinfo
new file mode 100644
index 000000000000..63dfb6bc0953
--- /dev/null
+++ b/audio/d11amp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1672959172
+SHA256 (d11amp_0.61.tar.bz2) = c0eb416c033077b195ddc24a9d232e9bfa806fb777b57280e7f833b6267ced09
+SIZE (d11amp_0.61.tar.bz2) = 76507
diff --git a/audio/d11amp/pkg-descr b/audio/d11amp/pkg-descr
new file mode 100644
index 000000000000..7f352a6cfe40
--- /dev/null
+++ b/audio/d11amp/pkg-descr
@@ -0,0 +1,2 @@
+D11AMP is an oldskool MP3 player. In addition to being a frontend
+to mpg123, it can handle WinAMP's treasure trove of skins.