aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
Diffstat (limited to 'print')
-rw-r--r--print/lilypond/Makefile7
-rw-r--r--print/lilypond/pkg-plist32
2 files changed, 23 insertions, 16 deletions
diff --git a/print/lilypond/Makefile b/print/lilypond/Makefile
index a978fd2c3b0f..d957213f6ad0 100644
--- a/print/lilypond/Makefile
+++ b/print/lilypond/Makefile
@@ -9,6 +9,7 @@
PORTNAME= lilypond
PORTVERSION= 2.14.2
+PORTREVISION= 1
CATEGORIES= print audio
MASTER_SITES= http://download.linuxaudio.org/lilypond/sources/v2.14/
@@ -58,6 +59,12 @@ PLIST_SUB= PORTVERSION=${PORTVERSION}
.include <bsd.port.pre.mk>
+.if defined(WITHOUT_NLS)
+PLIST_SUB+= NLS="@comment "
+.else
+PLIST_SUB+= NLS=""
+.endif
+
post-patch:
${REINPLACE_CMD} -e 's|makeinfo|${LOCALBASE}/bin/makeinfo|; s|find -maxdepth|find . -maxdepth|g' \
${WRKSRC}/configure
diff --git a/print/lilypond/pkg-plist b/print/lilypond/pkg-plist
index 5bfc3ce3fbeb..51f0fb03c68d 100644
--- a/print/lilypond/pkg-plist
+++ b/print/lilypond/pkg-plist
@@ -301,22 +301,22 @@ share/emacs/site-lisp/lilypond-mode.el
share/emacs/site-lisp/lilypond-song.el
share/emacs/site-lisp/lilypond-what-beat.el
share/emacs/site-lisp/lilypond-words.el
-share/locale/cs/LC_MESSAGES/lilypond.mo
-share/locale/da/LC_MESSAGES/lilypond.mo
-share/locale/de/LC_MESSAGES/lilypond.mo
-share/locale/el/LC_MESSAGES/lilypond.mo
-share/locale/es/LC_MESSAGES/lilypond.mo
-share/locale/fi/LC_MESSAGES/lilypond.mo
-share/locale/fr/LC_MESSAGES/lilypond.mo
-share/locale/it/LC_MESSAGES/lilypond.mo
-share/locale/ja/LC_MESSAGES/lilypond.mo
-share/locale/nl/LC_MESSAGES/lilypond.mo
-share/locale/ru/LC_MESSAGES/lilypond.mo
-share/locale/sv/LC_MESSAGES/lilypond.mo
-share/locale/tr/LC_MESSAGES/lilypond.mo
-share/locale/uk/LC_MESSAGES/lilypond.mo
-share/locale/vi/LC_MESSAGES/lilypond.mo
-share/locale/zh_TW/LC_MESSAGES/lilypond.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/lilypond.mo
+%%NLS%%share/locale/da/LC_MESSAGES/lilypond.mo
+%%NLS%%share/locale/de/LC_MESSAGES/lilypond.mo
+%%NLS%%share/locale/el/LC_MESSAGES/lilypond.mo
+%%NLS%%share/locale/es/LC_MESSAGES/lilypond.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/lilypond.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/lilypond.mo
+%%NLS%%share/locale/it/LC_MESSAGES/lilypond.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/lilypond.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/lilypond.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/lilypond.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/lilypond.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/lilypond.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/lilypond.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/lilypond.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/lilypond.mo
@dirrm lib/lilypond/%%PORTVERSION%%/python
@dirrm lib/lilypond/%%PORTVERSION%%
@dirrm lib/lilypond