aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/licq
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-12-24 12:59:53 +0800
committerdinoex <dinoex@FreeBSD.org>2004-12-24 12:59:53 +0800
commit53433df70d734c336bbfcea5444ca41de2b1773f (patch)
tree2923c201e8781104f24fde37c816ae20b4b45532 /net-im/licq
parenta17fd97c9e98e5374130776fbdc278560dc5cb8e (diff)
downloadfreebsd-ports-graphics-53433df70d734c336bbfcea5444ca41de2b1773f.tar.gz
freebsd-ports-graphics-53433df70d734c336bbfcea5444ca41de2b1773f.tar.zst
freebsd-ports-graphics-53433df70d734c336bbfcea5444ca41de2b1773f.zip
- fix package for WITHOUT_NLS=yes
Diffstat (limited to 'net-im/licq')
-rw-r--r--net-im/licq/Makefile6
-rw-r--r--net-im/licq/pkg-plist2
2 files changed, 7 insertions, 1 deletions
diff --git a/net-im/licq/Makefile b/net-im/licq/Makefile
index 2d6b735f017..6f71d706884 100644
--- a/net-im/licq/Makefile
+++ b/net-im/licq/Makefile
@@ -43,6 +43,12 @@ CONFIGURE_ARGS+=--with-openssl-inc=${OPENSSLINC}
CONFIGURE_ARGS+=--with-openssl-lib=${OPENSSLLIB}
.endif
+.if defined(WITHOUT_NLS)
+PLIST_SUB+= NLS="@comment "
+.else
+PLIST_SUB+= NLS=""
+.endif
+
pre-configure:
${REINPLACE_CMD} -e 's=/usr/share/licq=${PREFIX}/share/licq=' \
${WRKSRC}/src/licq.conf.h
diff --git a/net-im/licq/pkg-plist b/net-im/licq/pkg-plist
index b556aa6c1ad..79d7039cb46 100644
--- a/net-im/licq/pkg-plist
+++ b/net-im/licq/pkg-plist
@@ -108,7 +108,7 @@ share/licq/utilities/talk.utility
share/licq/utilities/traceroute.utility
share/licq/utilities/vnc.utility
share/licq/utilities/xtraceroute.utility
-share/locale/de/LC_MESSAGES/licq.mo
+%%NLS%%share/locale/de/LC_MESSAGES/licq.mo
@dirrm include/licq
@dirrm lib/licq
@dirrm share/licq/sounds/fun