aboutsummaryrefslogtreecommitdiff
path: root/news/newsstar
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2004-07-15 03:13:38 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2004-07-15 03:13:38 +0000
commitd522473e20d33e751093aa9ac935d40e010642e9 (patch)
tree5f88e444e77c2660142a2adfa902920fdee9333c /news/newsstar
parente4d2afff20905c6e600aa7954740cbaf303a0304 (diff)
downloadports-d522473e20d33e751093aa9ac935d40e010642e9.tar.gz
ports-d522473e20d33e751093aa9ac935d40e010642e9.zip
Notes
Diffstat (limited to 'news/newsstar')
-rw-r--r--news/newsstar/Makefile8
-rw-r--r--news/newsstar/distinfo4
-rw-r--r--news/newsstar/files/patch-newsstar.in19
-rw-r--r--news/newsstar/pkg-plist1
4 files changed, 28 insertions, 4 deletions
diff --git a/news/newsstar/Makefile b/news/newsstar/Makefile
index d53e42b88aad..b71c6a8f3747 100644
--- a/news/newsstar/Makefile
+++ b/news/newsstar/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= newsstar
-PORTVERSION= 1.1
+PORTVERSION= 1.1.1
CATEGORIES= news
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -30,10 +30,14 @@ USE_OPENSSL= yes
CONFIGURE_ARGS+=--with-inn-path=${PREFIX}/news/bin
.endif
-CONFIGURE_ARGS+=--with-conf-dir=${PREFIX}/etc/newsstar \
+CONFIGURE_ARGS+=--prefix=${PREFIX} \
+ --with-conf-dir=${PREFIX}/etc/newsstar \
--with-rc-dir=/var/spool/newsstar/lib \
--with-incoming-dir=/var/spool/newsstar/incoming
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+
USE_PERL5= yes
HAS_CONFIGURE= yes
diff --git a/news/newsstar/distinfo b/news/newsstar/distinfo
index 8c1750de16c6..d76e788a52ab 100644
--- a/news/newsstar/distinfo
+++ b/news/newsstar/distinfo
@@ -1,2 +1,2 @@
-MD5 (newsstar-1.1.tar.gz) = 8ed424249e5cd91e99c06ab5eb0df285
-SIZE (newsstar-1.1.tar.gz) = 255633
+MD5 (newsstar-1.1.1.tar.gz) = ae56df2413f3d727ef413a7203a43b9b
+SIZE (newsstar-1.1.1.tar.gz) = 257732
diff --git a/news/newsstar/files/patch-newsstar.in b/news/newsstar/files/patch-newsstar.in
new file mode 100644
index 000000000000..1bb2cb3b8b41
--- /dev/null
+++ b/news/newsstar/files/patch-newsstar.in
@@ -0,0 +1,19 @@
+--- newsstar.in.orig Sun Jul 4 00:21:24 2004
++++ newsstar.in Mon Jul 12 21:38:49 2004
+@@ -29,7 +29,6 @@
+ $NEWS_PATH = '@NEWS_PATH@';
+ $prefix = "@prefix@";
+ $exec_prefix = "@exec_prefix@";
+-$libexecdir = "@libexecdir@";
+ $NEWSSTAR_BIN = "@NEWSSTAR_BIN@";
+ $MAINCF = $CONF_DIR . "/main.cf";
+ $INCOMING_DIR = "@INCOMING_DIR@";
+@@ -199,7 +198,7 @@
+
+ if ($USE_SN)
+ {
+- $SPOOL_DIR = "/var/spool/sn" if ($SPOOL_DIR eq "");
++ $SPOOL_DIR = "/var/spool/news" if ($SPOOL_DIR eq "");
+ $OUTGOING_DIR = $SPOOL_DIR . "/.outgoing" if ($OUTGOING_DIR eq "");
+ $OUTGOING_NEWSSTAR_DIR = $OUTGOING_DIR . "/.newsstar";
+ $ARTICLES_DIR = $SPOOL_DIR if ($ARTICLES_DIR eq "");
diff --git a/news/newsstar/pkg-plist b/news/newsstar/pkg-plist
index 947945cdbd1d..285df83c3459 100644
--- a/news/newsstar/pkg-plist
+++ b/news/newsstar/pkg-plist
@@ -28,3 +28,4 @@ libexec/newsstar.bin
%%PORTDOCS%%%%EXAMPLESDIR%%/newsrc.sample
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm etc/newsstar