git: d51270abb735 - main - audio/adplay: Fix default adplugdb install path

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

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

commit d51270abb73560025024c753d0871d9804c7fc53
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:37:42 +0000

    audio/adplay: Fix default adplugdb install path
---
 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>