git: 87c9d0cb9ca3 - main - audio/libopenmpt: Fix pkg-plist when EXAMPLES is disabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Feb 2023 07:54:55 UTC
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>