git: 4968b19903ed - 2022Q2 - audio/adplay: Fix default adplugdb install path

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Thu, 21 Apr 2022 12:38:28 UTC
The branch 2022Q2 has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4968b19903ed35904a691d12bc9f38a9a70b7821

commit 4968b19903ed35904a691d12bc9f38a9a70b7821
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2022-04-21 12:37:36 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2022-04-21 12:38:24 +0000

    audio/adplay: Fix default adplugdb install path
    
    (cherry picked from commit d51270abb73560025024c753d0871d9804c7fc53)
---
 audio/adplay/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/audio/adplay/Makefile b/audio/adplay/Makefile
index 7f2ecc2f02e9..9ec4a681cb5f 100644
--- a/audio/adplay/Makefile
+++ b/audio/adplay/Makefile
@@ -2,8 +2,8 @@
 
 PORTNAME=	adplay
 PORTVERSION=	1.8.1
-PORTREVISION=	1
 DISTVERSIONPREFIX=	v
+PORTREVISION=	2
 CATEGORIES=	audio
 
 MAINTAINER=	ehaupt@FreeBSD.org
@@ -25,7 +25,7 @@ GH_TUPLE=	adplug:database:${DBVERSION}:database/database-${DBVERSION}
 GNU_CONFIGURE=		yes
 CONFIGURE_ARGS+=	--sharedstatedir=${DATADIR}
 
-PLIST_FILES=	${DATADIR}/adplug.db \
+PLIST_FILES=	${DATADIR}/adplug/adplug.db \
 		bin/adplay \
 		man/man1/adplay.1.gz
 
@@ -47,8 +47,8 @@ post-patch:
 	@${RM} ${WRKSRC}/src/getopt.h
 
 post-install:
-	@${MKDIR} ${STAGEDIR}${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}/adplug
 	${INSTALL_DATA} ${WRKSRC}/database-${DBVERSION}/${DBFILE} \
-		${STAGEDIR}${DATADIR}
+		${STAGEDIR}${DATADIR}/adplug
 
 .include <bsd.port.mk>