Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Feb 2023 07:54:55 GMT
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 87c9d0cb9ca3 - main - audio/libopenmpt: Fix pkg-plist when EXAMPLES is disabled
Message-ID:  <202302070754.3177stvn077177@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ehaupt:

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

commit 87c9d0cb9ca3af85048fd21c44f98ea84f5602c8
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-02-07 07:54:41 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-02-07 07:54:50 +0000

    audio/libopenmpt: Fix pkg-plist when EXAMPLES is disabled
    
    Notified by:    mfechner
---
 audio/libopenmpt/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/audio/libopenmpt/Makefile b/audio/libopenmpt/Makefile
index 63daa0070a4e..1f9559ab809c 100644
--- a/audio/libopenmpt/Makefile
+++ b/audio/libopenmpt/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	libopenmpt
 DISTVERSION=	0.6.8
 DISTVERSIONSUFFIX=	+release.autotools
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	https://lib.openmpt.org/files/libopenmpt/src/ \
 		LOCAL/ehaupt
@@ -59,4 +60,7 @@ post-install-DOCS-on:
 post-install-EXAMPLES-on:
 	@${MV} ${STAGEDIR}${DOCSDIR}/examples ${STAGEDIR}${EXAMPLESDIR}
 
+post-install-EXAMPLES-off:
+	@${RM} -rf ${STAGEDIR}${DOCSDIR}/examples
+
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302070754.3177stvn077177>