aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-05-31 16:05:35 +0800
committeritetcu <itetcu@FreeBSD.org>2008-05-31 16:05:35 +0800
commit8fe9957291aaa1ffee64c9df1924be017e38897f (patch)
tree450b5476d2ea2e2ab58362b3579a60029d15769a /audio
parent85795aa215d846c5eba41cb085080618fcecdc3f (diff)
downloadfreebsd-ports-gnome-8fe9957291aaa1ffee64c9df1924be017e38897f.tar.gz
freebsd-ports-gnome-8fe9957291aaa1ffee64c9df1924be017e38897f.tar.zst
freebsd-ports-gnome-8fe9957291aaa1ffee64c9df1924be017e38897f.zip
- Respect NOPORTDOCS, noticed by itetcu@
- bump PORTREVISION PR: ports/124010 Submitted by: Max Brazhnikov (maintainer)
Diffstat (limited to 'audio')
-rw-r--r--audio/mp3unicode/Makefile10
-rw-r--r--audio/mp3unicode/files/patch-Makefile.in12
2 files changed, 21 insertions, 1 deletions
diff --git a/audio/mp3unicode/Makefile b/audio/mp3unicode/Makefile
index dc945c15b09b..0c7bd22a2e0a 100644
--- a/audio/mp3unicode/Makefile
+++ b/audio/mp3unicode/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mp3unicode
PORTVERSION= 1.2
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= SF
@@ -26,4 +27,11 @@ MAN1= mp3unicode.1
PLIST_FILES= bin/mp3unicode
PORTDOCS= COPYING README
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+pre-configure:
+.if defined(NOPORTDOCS)
+ ${REINPLACE_CMD} -e '/^install-data-am/s|install-dist_docDATA||' ${WRKSRC}/Makefile.in
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/audio/mp3unicode/files/patch-Makefile.in b/audio/mp3unicode/files/patch-Makefile.in
new file mode 100644
index 000000000000..74eb19bec302
--- /dev/null
+++ b/audio/mp3unicode/files/patch-Makefile.in
@@ -0,0 +1,12 @@
+--- ./Makefile.in.orig 2007-09-28 23:07:40.000000000 +0400
++++ ./Makefile.in 2008-05-26 21:32:34.000000000 +0400
+@@ -757,8 +757,7 @@
+
+ info-am:
+
+-install-data-am: install-dist_docDATA install-man \
+- install-nodist_htmlDATA
++install-data-am: install-dist_docDATA install-man
+
+ install-dvi: install-dvi-recursive
+