aboutsummaryrefslogtreecommitdiff
path: root/news/slrn
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-04-19 01:08:14 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-04-19 01:08:14 +0000
commita9115fa27e6e7ffe5911b46d8498cdc5eff851fc (patch)
tree3a6e132109095413fd8c93b5bb2882d67a5c463d /news/slrn
parent36f4328e7bd54be21dfc9bae3fce299c035ea107 (diff)
downloadports-a9115fa27e6e7ffe5911b46d8498cdc5eff851fc.tar.gz
ports-a9115fa27e6e7ffe5911b46d8498cdc5eff851fc.zip
Notes
Diffstat (limited to 'news/slrn')
-rw-r--r--news/slrn/Makefile9
-rw-r--r--news/slrn/pkg-plist9
2 files changed, 16 insertions, 2 deletions
diff --git a/news/slrn/Makefile b/news/slrn/Makefile
index 0acb0111a720..f21553d7357a 100644
--- a/news/slrn/Makefile
+++ b/news/slrn/Makefile
@@ -19,13 +19,17 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= petef@FreeBSD.org
-LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang
+LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang \
+ intl.2:${PORTSDIR}/devel/gettext \
+ iconv.3:${PORTSDIR}/converters/libiconv
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-ipv6 --disable-inews --with-slrnpull
+CONFIGURE_ARGS= --enable-ipv6 --disable-inews --with-slrnpull \
+ --with-libiconv-prefix=${LOCALBASE}
+CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib"
.if !defined(WITHOUT_SSL)
USE_OPENSSL= YES
@@ -45,6 +49,7 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/slrnpull ${PREFIX}/bin
@${MKDIR} ${PREFIX}/share/examples/slrn
${INSTALL_DATA} ${WRKSRC}/doc/slrn.rc ${PREFIX}/share/examples/slrn
+ (cd ${WRKSRC}/po; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install)
@${MKDIR} ${PREFIX}/share/examples/slrn/slrnpull
.for file in FAQ README SETUP score slrn.rc slrnpull.conf slrnpull.sh
${INSTALL_DATA} ${WRKSRC}/doc/slrnpull/${file} ${PREFIX}/share/examples/slrn/slrnpull
diff --git a/news/slrn/pkg-plist b/news/slrn/pkg-plist
index 523f7491fca2..95a1beb31385 100644
--- a/news/slrn/pkg-plist
+++ b/news/slrn/pkg-plist
@@ -8,6 +8,15 @@ share/examples/slrn/slrnpull/score
share/examples/slrn/slrnpull/slrn.rc
share/examples/slrn/slrnpull/slrnpull.conf
share/examples/slrn/slrnpull/slrnpull.sh
+share/locale/da/LC_MESSAGES/slrn.mo
+share/locale/de/LC_MESSAGES/slrn.mo
+share/locale/es/LC_MESSAGES/slrn.mo
+share/locale/fr/LC_MESSAGES/slrn.mo
+share/locale/it/LC_MESSAGES/slrn.mo
+share/locale/ko/LC_MESSAGES/slrn.mo
+share/locale/nl/LC_MESSAGES/slrn.mo
+share/locale/pl/LC_MESSAGES/slrn.mo
+share/locale/ru/LC_MESSAGES/slrn.mo
%%PORTDOCS%%share/doc/slrn/FAQ
%%PORTDOCS%%share/doc/slrn/README.GroupLens
%%PORTDOCS%%share/doc/slrn/README.SSL