aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2001-05-27 10:15:02 +0800
committervanilla <vanilla@FreeBSD.org>2001-05-27 10:15:02 +0800
commitf178ef788636da46c6db603e0ee6291cf92295dd (patch)
tree378e3c49fc9b3b5f7e335ae2ad09ac1034ea33b4
parent1ea05bd3a4f59b243787affa5a477f82f6fe2a8d (diff)
downloadfreebsd-ports-gnome-f178ef788636da46c6db603e0ee6291cf92295dd.tar.gz
freebsd-ports-gnome-f178ef788636da46c6db603e0ee6291cf92295dd.tar.zst
freebsd-ports-gnome-f178ef788636da46c6db603e0ee6291cf92295dd.zip
A NNTP interface for mod_perl enabled Apache web server
PR: ports/24347 Submitted by: Sergey Skvortsov <skv@protey.ru>
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-Apache-NNTPGateway/Makefile29
-rw-r--r--www/p5-Apache-NNTPGateway/distinfo1
-rw-r--r--www/p5-Apache-NNTPGateway/files/patch-NNTPGateway.pm19
-rw-r--r--www/p5-Apache-NNTPGateway/pkg-comment1
-rw-r--r--www/p5-Apache-NNTPGateway/pkg-descr1
-rw-r--r--www/p5-Apache-NNTPGateway/pkg-plist5
7 files changed, 57 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 202090c20a28..3aaf06c59abb 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -180,6 +180,7 @@
SUBDIR += p5-Apache-Icon
SUBDIR += p5-Apache-Language
SUBDIR += p5-Apache-MP3
+ SUBDIR += p5-Apache-NNTPGateway
SUBDIR += p5-Apache-Peek
SUBDIR += p5-Apache-Radius
SUBDIR += p5-Apache-Reload
diff --git a/www/p5-Apache-NNTPGateway/Makefile b/www/p5-Apache-NNTPGateway/Makefile
new file mode 100644
index 000000000000..cd434062272b
--- /dev/null
+++ b/www/p5-Apache-NNTPGateway/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: Apache::NNTPGateway
+# Date created: 15 Jan 2001
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Apache-NNTPGateway
+PORTVERSION= 0.8
+CATEGORIES= www news perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Apache
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@protey.ru
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/LWP.pm:${PORTSDIR}/www/p5-libwww \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Mail/Address.pm:${PORTSDIR}/mail/p5-Mail-Tools
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+WRKSRC= ${WRKDIR}/NNTPGateway-${PORTVERSION}
+
+PERL_CONFIGURE= yes
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Apache::NNTPGateway.3
+
+.include <bsd.port.mk>
diff --git a/www/p5-Apache-NNTPGateway/distinfo b/www/p5-Apache-NNTPGateway/distinfo
new file mode 100644
index 000000000000..9550b2aac3d1
--- /dev/null
+++ b/www/p5-Apache-NNTPGateway/distinfo
@@ -0,0 +1 @@
+MD5 (Apache-NNTPGateway-0.8.tar.gz) = ed210853017145dbb3376f09ba677813
diff --git a/www/p5-Apache-NNTPGateway/files/patch-NNTPGateway.pm b/www/p5-Apache-NNTPGateway/files/patch-NNTPGateway.pm
new file mode 100644
index 000000000000..bc6f56656340
--- /dev/null
+++ b/www/p5-Apache-NNTPGateway/files/patch-NNTPGateway.pm
@@ -0,0 +1,19 @@
+*** NNTPGateway.pm.orig Mon Jan 15 18:13:44 2001
+--- NNTPGateway.pm Mon Jan 15 18:14:10 2001
+***************
+*** 99,105 ****
+ # MESSAGES, stuff that is printed on the users's screen...
+ # The current default language: Should be an entry in Messages_Map &
+ # LANGS_OK
+! my $USR_LANG = 'fr';
+ # Allowed languages choice.
+ my %LANGS_OK = ( 'fr' => 1, 'en' => 1 );
+ # All messages that could be printed.
+--- 99,105 ----
+ # MESSAGES, stuff that is printed on the users's screen...
+ # The current default language: Should be an entry in Messages_Map &
+ # LANGS_OK
+! my $USR_LANG = 'en';
+ # Allowed languages choice.
+ my %LANGS_OK = ( 'fr' => 1, 'en' => 1 );
+ # All messages that could be printed.
diff --git a/www/p5-Apache-NNTPGateway/pkg-comment b/www/p5-Apache-NNTPGateway/pkg-comment
new file mode 100644
index 000000000000..63504cce915e
--- /dev/null
+++ b/www/p5-Apache-NNTPGateway/pkg-comment
@@ -0,0 +1 @@
+A NNTP interface for mod_perl enabled Apache web server
diff --git a/www/p5-Apache-NNTPGateway/pkg-descr b/www/p5-Apache-NNTPGateway/pkg-descr
new file mode 100644
index 000000000000..8df1046d3ed8
--- /dev/null
+++ b/www/p5-Apache-NNTPGateway/pkg-descr
@@ -0,0 +1 @@
+Apache::NNTPGateway - A NNTP interface for mod_perl enabled Apache web server
diff --git a/www/p5-Apache-NNTPGateway/pkg-plist b/www/p5-Apache-NNTPGateway/pkg-plist
new file mode 100644
index 000000000000..f82cde879818
--- /dev/null
+++ b/www/p5-Apache-NNTPGateway/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache/NNTPGateway/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/Apache/NNTPGateway.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache/NNTPGateway
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Apache 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache 2>/dev/null || true