summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-12-14 17:31:34 +0000
committersobomax <sobomax@FreeBSD.org>2000-12-14 17:31:34 +0000
commit700c3746dca9a6f644d165f33624f44df62e010f (patch)
tree8c2c7b01e1ac5759b9ac1974b54e00a2165c0140 /www
parentdfaa269693cbbbc5091caf69c44e9ab926d5efea (diff)
downloadFreeBSD-ports-700c3746dca9a6f644d165f33624f44df62e010f.zip
FreeBSD-ports-700c3746dca9a6f644d165f33624f44df62e010f.tar.gz
- Install mans;
- make port to be compliant with portlint-2.3. Submitted by: maintainer
Diffstat (limited to 'www')
-rw-r--r--www/oops/Makefile4
-rw-r--r--www/oops/files/patch-ac10
-rw-r--r--www/oops/files/patch-ad52
3 files changed, 66 insertions, 0 deletions
diff --git a/www/oops/Makefile b/www/oops/Makefile
index f614657..4e0d4a7 100644
--- a/www/oops/Makefile
+++ b/www/oops/Makefile
@@ -21,12 +21,16 @@ CONFIGURE_ARGS= --sbindir=${PREFIX}/sbin \
--libdir=${PREFIX}/libexec/oops \
--enable-oops-user=oops
+MAN8= oops.8 oopsctl.8
+
pre-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
.include <bsd.port.pre.mk>
post-install:
+ @${INSTALL_MAN} ${WRKSRC}/doc/oops.8 ${PREFIX}/man/man8
+ @${INSTALL_MAN} ${WRKSRC}/doc/oopsctl.8 ${PREFIX}/man/man8
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Sample of configuration file placed at ${PREFIX}/etc/oops !"
diff --git a/www/oops/files/patch-ac b/www/oops/files/patch-ac
new file mode 100644
index 0000000..9536db81
--- /dev/null
+++ b/www/oops/files/patch-ac
@@ -0,0 +1,10 @@
+--- src/environment.h.orig Wed Dec 13 17:33:19 2000
++++ src/environment.h Wed Dec 13 17:33:40 2000
+@@ -55,7 +55,7 @@
+ #include <thread.h>
+ #endif
+ #include <pthread.h>
+-#if !defined(HAVE_PTHREAD_RWLOCK_INIT)
++#if !defined(HAVE_PTHREAD_RWLOCK_INIT) && !defined(FREEBSD)
+ #include "rwlock.h"
+ #endif
diff --git a/www/oops/files/patch-ad b/www/oops/files/patch-ad
new file mode 100644
index 0000000..fc4b10b
--- /dev/null
+++ b/www/oops/files/patch-ad
@@ -0,0 +1,52 @@
+--- configure.orig Wed Dec 13 20:02:46 2000
++++ configure Wed Dec 13 20:03:33 2000
+@@ -1476,49 +1476,11 @@
+ echo "$ac_t""no" 1>&6
+ fi
+
+-
+ pwd=`pwd`
+ LIBDB_NAME=-ldb
+ echo $ac_n "checking for libdb.a""... $ac_c" 1>&6
+ echo "configure:1484: checking for libdb.a" >&5
+-if test "X$LIBDB_PATH" != "X" ; then
+- LIBDB_PATH=$LIBDB_PATH
+-elif test -r "/usr/local/BerkeleyDB/lib/libdb.a"; then
+- LIBDB_PATH="/usr/local/BerkeleyDB"
+-elif test -r "/usr/local/BerkeleyDB.3.1/lib/libdb.a"; then
+- LIBDB_PATH="/usr/local/BerkeleyDB.3.1"
+-elif test -r "/usr/local/BerkeleyDB.3.0/lib/libdb.lib"; then
+- LIBDB_PATH="/usr/local/BerkeleyDB.3.0"
+-elif test -r "$pwd/libdb.a"; then
+- LIBDB_PATH="$pwd"
+-elif test -r "/usr/local/lib/libdb.a"; then
+- LIBDB_PATH="/usr/local"
+-elif test -r "/usr/lib/libdb2.a"; then
+- LIBDB_PATH="/usr"
+- LIBDB_NAME=-ldb2
+-elif test -r "/usr/lib/libdb.a"; then
+- LIBDB_PATH="/usr"
+-elif test -r "/usr/local/lib/libdb2.a"; then
+- LIBDB_PATH="/usr/local"
+- LIBDB_NAME=-ldb2
+-elif test -r "/usr/local/BerkeleyDB/lib/libdb.lib"; then
+- LIBDB_PATH="/usr/local/BerkeleyDB"
+- LIBDB_NAME=-llibdb
+-elif test -r "$pwd/libdb.lib"; then
+- LIBDB_PATH="$pwd"
+- LIBDB_NAME=-llibdb
+-elif test -r "/usr/local/lib/libdb.lib"; then
+- LIBDB_PATH="/usr/local"
+- LIBDB_NAME=-llibdb
+-elif test -r "/usr/lib/libdb.lib"; then
+- LIBDB_PATH="/usr"
+- LIBDB_NAME=-llibdb
+-elif test -r "/usr/local/lib/libdb2.lib"; then
+- LIBDB_PATH="/usr/local"
+- LIBDB_NAME=-llibdb2
+-else
+- LIBDB_PATH="no"
+-fi
++LIBDB_PATH="no"
+
+ echo "$ac_t""$LIBDB_PATH" 1>&6
OpenPOWER on IntegriCloud