summaryrefslogtreecommitdiff
path: root/audio/d11amp/Makefile
blob: 9c7db6e8785418e68029b19f313814299b71f148 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $NetBSD: Makefile,v 1.1 2022/12/10 12:50:58 wiz Exp $

DISTNAME=	d11amp_0.59
PKGNAME=	${DISTNAME:S/_/-/}
CATEGORIES=	audio
MASTER_SITES=	https://www.dettus.net/d11amp/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	dettus@dettus.net
HOMEPAGE=	https://www.dettus.net/d11amp/
COMMENT=	Simple MP3 player
LICENSE=	2-clause-bsd

INSTALLATION_DIRS=	bin  ${PKGMANDIR}/man1

USE_TOOLS+=	pkg-config


do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/d11amp ${DESTDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/d11amp.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

## The idea of this test is to check if the output is the expected one.
## for this, the sha256sum is being compared.
do-test:
	cd ${WRKSRC} && ${MAKE} SHA256_CMD=sha256 TMP_DIR=/tmp/d11amp check

.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.include "../../x11/gtk4/buildlink3.mk"
.include "../../archivers/libzip/buildlink3.mk"
.include "../../audio/mpg123/buildlink3.mk"
.include "../../audio/portaudio/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"