summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-01-26 03:47:11 +0000
committerSteve Price <steve@FreeBSD.org>1999-01-26 03:47:11 +0000
commit4211eceda2a1dc75f006774d6fa7aceabd555ec0 (patch)
treeed29095cc468053f34d62e31e42d29cfc23fb8f7 /www
parentActivate the abs port. (diff)
Initial import of npc version 0.83.
An animated web counter. PR: 9610 Submitted by: Yasuhiro Fukuma <yasuf@big.or.jp>
Notes
Notes: svn path=/head/; revision=16352
Diffstat (limited to 'www')
-rw-r--r--www/npc/Makefile32
-rw-r--r--www/npc/distinfo1
-rw-r--r--www/npc/pkg-comment1
-rw-r--r--www/npc/pkg-descr9
-rw-r--r--www/npc/pkg-message5
-rw-r--r--www/npc/pkg-plist6
6 files changed, 54 insertions, 0 deletions
diff --git a/www/npc/Makefile b/www/npc/Makefile
new file mode 100644
index 000000000000..7a9587cac68a
--- /dev/null
+++ b/www/npc/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: npc.cgi
+# Version required: 0.83
+# Date created: 3 December 1998
+# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
+#
+# $Id$
+#
+
+DISTNAME= npc-0.83
+CATEGORIES= www
+MASTER_SITES= http://www2.biglobe.ne.jp/%7Enir/soft/
+
+MAINTAINER= yasuf@big.or.jp
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+MAKE_ARGS= INDEX_DIR="${INDEX_DIR}"
+
+INDEX_DIR= ${PREFIX}/etc/npc
+
+do-install:
+ ${MKDIR} ${PREFIX}/www/cgi-bin
+ cd ${WRKSRC}; \
+ ${INSTALL_PROGRAM} npc.cgi ${PREFIX}/www/cgi-bin
+ ${MKDIR} ${PREFIX}/share/examples/npc
+ cd ${WRKSRC}/../conf; \
+ ${INSTALL_DATA} sample1.idx sample2.idx ${PREFIX}/share/examples/npc
+ ${MKDIR} ${INDEX_DIR}
+
+post-install:
+ @${CAT} ${PKGDIR}/MESSAGE
+
+.include <bsd.port.mk>
diff --git a/www/npc/distinfo b/www/npc/distinfo
new file mode 100644
index 000000000000..5fbabad3214b
--- /dev/null
+++ b/www/npc/distinfo
@@ -0,0 +1 @@
+MD5 (npc-0.83.tar.gz) = 4d9f21cc76c870a1ef4270d9fdf006de
diff --git a/www/npc/pkg-comment b/www/npc/pkg-comment
new file mode 100644
index 000000000000..13fbefdd2faa
--- /dev/null
+++ b/www/npc/pkg-comment
@@ -0,0 +1 @@
+An animated web counter.
diff --git a/www/npc/pkg-descr b/www/npc/pkg-descr
new file mode 100644
index 000000000000..5837254531e0
--- /dev/null
+++ b/www/npc/pkg-descr
@@ -0,0 +1,9 @@
+A web access counter, with real animation and other various features.
+
+For more informations, please referer to the official web site
+(written in Japanese):
+
+ http://www2.biglobe.ne.jp/%7Enir/npc/
+
+- Yasuhiro Fukuma
+yasuf@big.or.jp
diff --git a/www/npc/pkg-message b/www/npc/pkg-message
new file mode 100644
index 000000000000..193aa06f45ee
--- /dev/null
+++ b/www/npc/pkg-message
@@ -0,0 +1,5 @@
+****************************************
+** Then you should create the default
+** index file as:
+** ${PREFIX}/etc/npc/npc.idx
+****************************************
diff --git a/www/npc/pkg-plist b/www/npc/pkg-plist
new file mode 100644
index 000000000000..417b2dd1f984
--- /dev/null
+++ b/www/npc/pkg-plist
@@ -0,0 +1,6 @@
+www/cgi-bin/npc.cgi
+@exec mkdir -p %D/etc/npc
+@dirrm etc/npc
+share/examples/npc/sample1.idx
+share/examples/npc/sample2.idx
+@dirrm share/examples/npc