aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2011-12-20 20:50:52 +0800
committergahr <gahr@FreeBSD.org>2011-12-20 20:50:52 +0800
commit8505ba65bc8e6d8d24a9b3ad7eba68e6c4e217dd (patch)
tree6cf81d845ff4a75b5e9aa6074ae05f1ea1bdf6c4 /print
parentcf721c0d5d5b90bacf716cb78018af6bb3b82837 (diff)
downloadfreebsd-ports-gnome-8505ba65bc8e6d8d24a9b3ad7eba68e6c4e217dd.tar.gz
freebsd-ports-gnome-8505ba65bc8e6d8d24a9b3ad7eba68e6c4e217dd.tar.zst
freebsd-ports-gnome-8505ba65bc8e6d8d24a9b3ad7eba68e6c4e217dd.zip
- Fix PLIST when building WITHOUT_NLS
- Bump PORTREVISION Reported by: Jim Long <james@umpquanet.com>
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
7ec5553e08889df7a2ac1da0c18fe75a6f965c0'>Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1 * Convert USE_GNOME=pkgconfig to USES=pkgconfigbapt2013-08-311-7/+3 * - Update to 1.2.13sunpoet2013-02-211-0/+1 * mail/mu: upgrade to 0.9.9rea2012-11-073-16/+4 * - Bump PORTREVISION for databases/xapian-core shlib changesunpoet2012-07-07