aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2023-02-07 07:54:41 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2023-02-07 07:54:50 +0000
commit87c9d0cb9ca3af85048fd21c44f98ea84f5602c8 (patch)
tree7b7a810dae248ffad5b1b493e805d53135c8e4be
parentf9c0c8046ad7468f9282efde54ede9004960521e (diff)
downloadports-87c9d0cb9ca3af85048fd21c44f98ea84f5602c8.tar.gz
ports-87c9d0cb9ca3af85048fd21c44f98ea84f5602c8.zip
audio/libopenmpt: Fix pkg-plist when EXAMPLES is disabled
Notified by: mfechner
-rw-r--r--audio/libopenmpt/Makefile4
1 files changed, 4 insertions, 0 deletions
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>