diff options
-rw-r--r-- | net-im/licq/Makefile | 6 | ||||
-rw-r--r-- | net-im/licq/pkg-plist | 2 | ||||
-rw-r--r-- | net/licq/Makefile | 6 | ||||
-rw-r--r-- | net/licq/pkg-plist | 2 |
4 files changed, 14 insertions, 2 deletions
diff --git a/net-im/licq/Makefile b/net-im/licq/Makefile index 2d6b735f0177..6f71d7068847 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 b556aa6c1adb..79d7039cb462 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 diff --git a/net/licq/Makefile b/net/licq/Makefile index 2d6b735f0177..6f71d7068847 100644 --- a/net/licq/Makefile +++ b/net/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/licq/pkg-plist b/net/licq/pkg-plist index b556aa6c1adb..79d7039cb462 100644 --- a/net/licq/pkg-plist +++ b/net/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 |