summaryrefslogtreecommitdiff
path: root/textproc/jade
diff options
context:
space:
mode:
authorrh <rh>1999-03-15 08:48:15 +0000
committerrh <rh>1999-03-15 08:48:15 +0000
commit738bf8a7e5c57b7f89a2f974d242439ccf634229 (patch)
tree03a1256664678893152aeb7a7270d46a7345f3f2 /textproc/jade
parentc166b7691a0b0c7543fd73aacda0dd78b1772398 (diff)
downloadpkgsrc-738bf8a7e5c57b7f89a2f974d242439ccf634229.tar.gz
convert FreeBSD port to NetBSD package
Diffstat (limited to 'textproc/jade')
-rw-r--r--textproc/jade/Makefile24
-rw-r--r--textproc/jade/files/md52
-rw-r--r--textproc/jade/patches/patch-ac32
-rw-r--r--textproc/jade/patches/patch-ad53
-rw-r--r--textproc/jade/pkg/DESCR10
-rw-r--r--textproc/jade/pkg/PLIST28
6 files changed, 41 insertions, 108 deletions
diff --git a/textproc/jade/Makefile b/textproc/jade/Makefile
index a6d5393438d..408dfe5bd5b 100644
--- a/textproc/jade/Makefile
+++ b/textproc/jade/Makefile
@@ -1,19 +1,22 @@
-# New ports collection makefile for: jade
-# Version required: 1.2
-# Date created: June 19, 1997
-# Whom: jfieber
-#
-# $Id: Makefile,v 1.1.1.1 1999/03/15 08:43:27 rh Exp $
+# $NetBSD: Makefile,v 1.2 1999/03/15 08:48:15 rh Exp $
+# FreeBSD Id: Makefile,v 1.15 1999/01/31 11:15:57 dirk Exp
#
DISTNAME= jade-1.2.1
CATEGORIES= textproc
-MASTER_SITES= ftp://ftp.jclark.com/pub/jade/
+MASTER_SITES= ftp://ftp.jclark.com/pub/jade/ \
+ ftp://ftp.funet.fi/pub/mirrors/ftp.jclark.com/pub/jade/ \
+ ftp://ftp.uni-trier.de/pub/languages/sgml/jade/ \
+ ftp://ftp.u-aizu.ac.jp/pub/lang/sgml/jade/
+
+MAINTAINER= rh@NetBSD.ORG
+HOMEPAGE= http://www.jclark.com/jade/
-MAINTAINER= jfieber@FreeBSD.ORG
+CONFLICTS+= sp-*
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CXXFLAGS="${CFLAGS}"
+CONFIGURE_ENV+= CXXFLAGS="${CFLAGS}"
+CONFIGURE_ARGS= --disable-shared
post-install:
.for i in jade nsgmls sgmlnorm spam spent sx
@@ -25,6 +28,5 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${PREFIX}/share/doc/jade
${MKDIR} ${PREFIX}/share/sgml/jade
${INSTALL_DATA} ${WRKSRC}/dsssl/* ${PREFIX}/share/sgml/jade
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m $(PREFIX)/lib
-.include <bsd.port.mk>
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/jade/files/md5 b/textproc/jade/files/md5
index a9447b5f79b..8dee2e850c1 100644
--- a/textproc/jade/files/md5
+++ b/textproc/jade/files/md5
@@ -1 +1,3 @@
+$NetBSD: md5,v 1.2 1999/03/15 08:48:15 rh Exp $
+
MD5 (jade-1.2.1.tar.gz) = 4239670ca6b578bff68b8c2e7cd1225f
diff --git a/textproc/jade/patches/patch-ac b/textproc/jade/patches/patch-ac
index 98730d62feb..ec7c4189fd3 100644
--- a/textproc/jade/patches/patch-ac
+++ b/textproc/jade/patches/patch-ac
@@ -1,19 +1,13 @@
-*** lib/instmac.m4.orig Sun Jul 6 20:20:04 1997
---- lib/instmac.m4 Sun Jul 6 20:20:54 1997
-***************
-*** 75,81 ****
- __undefine(`undefine')__dnl
- __undefine(`undivert')__dnl
- __undefine(`unix')__dnl
-! __dnl __changequote(,)__dnl disable quoting
-
- #ifdef SP_NAMESPACE
- }
---- 75,81 ----
- __undefine(`undefine')__dnl
- __undefine(`undivert')__dnl
- __undefine(`unix')__dnl
-! __dnl __changequote(,)__dnl
-
- #ifdef SP_NAMESPACE
- }
+$NetBSD: patch-ac,v 1.2 1999/03/15 08:48:16 rh Exp $
+
+--- lib/instmac.m4.orig Thu Oct 1 07:13:24 1998
++++ lib/instmac.m4 Sun Mar 14 18:03:17 1999
+@@ -75,7 +75,7 @@
+ __undefine(`undefine')__dnl
+ __undefine(`undivert')__dnl
+ __undefine(`unix')__dnl
+-__dnl __changequote(,)__dnl disable quoting
++__dnl __changequote(,)__dnl
+
+ #ifdef SP_NAMESPACE
+ }
diff --git a/textproc/jade/patches/patch-ad b/textproc/jade/patches/patch-ad
deleted file mode 100644
index 67e689a2ae6..00000000000
--- a/textproc/jade/patches/patch-ad
+++ /dev/null
@@ -1,53 +0,0 @@
---- config/ltmain.sh.orig Wed Oct 7 13:16:34 1998
-+++ config/ltmain.sh Tue Feb 2 20:38:44 1999
-@@ -967,6 +967,16 @@
- versuffix="$current.$revision"
- ;;
-
-+ freebsd)
-+ version_vars="$version_vars major versuffix"
-+ major="$current"
-+ if [ $PORTOBJFORMAT = elf ]; then
-+ versuffix="$current";
-+ else
-+ versuffix="$current.$revision";
-+ fi
-+ ;;
-+
- *)
- $echo "$modename: unknown library version type \`$version_type'" 1>&2
- echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
---- config/ltconfig.orig Wed Oct 7 13:16:34 1998
-+++ config/ltconfig Tue Feb 2 20:41:55 1999
-@@ -777,7 +777,7 @@
- ;;
-
- # FreeBSD 3, at last, uses gcc -shared to do shared libraries.
-- freebsd3*)
-+ freebsd*)
- archive_cmds='$CC -shared -o $lib$libobjs'
- hardcode_libdir_flag_spec='-R$libdir'
- hardcode_direct=yes
-@@ -1123,10 +1123,21 @@
- finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
- ;;
-
--freebsd2* | freebsd3*)
-+freebsd2*)
- version_type=sunos
- library_names_spec='${libname}${release}.so.$versuffix $libname.so'
- finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
-+ shlibpath_var=LD_LIBRARY_PATH
-+ ;;
-+
-+freebsd*)
-+ version_type=freebsd
-+ library_names_spec='${libname}${release}.so.$versuffix $libname.so'
-+ if [ $PORTOBJFORMAT = elf ]; then
-+ finish_cmds='PATH="$PATH:/sbin" OBJFORMAT="$PORTOBJFORMAT" ldconfig -m $libdir'
-+ else
-+ finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
-+ fi
- shlibpath_var=LD_LIBRARY_PATH
- ;;
-
diff --git a/textproc/jade/pkg/DESCR b/textproc/jade/pkg/DESCR
index 8df1ccea80a..f6f0b9317b9 100644
--- a/textproc/jade/pkg/DESCR
+++ b/textproc/jade/pkg/DESCR
@@ -1,6 +1,6 @@
An object-oriented SGML/XML parser toolkit and DSSSL engine.
-Features summary:
+ Features summary:
* Includes nsgmls
* Provides access to all information about SGML document
@@ -14,9 +14,5 @@ Features summary:
* Production quality
* Free
-Note: This port is a superset of the sp port. If you have sp
-installed, it is recommended that you remove it before installing
-jade.
-
-John Fieber
-jfieber@FreeBSD.org
+ Note: This port is a superset of the sp port. If you have sp
+installed, you have to remove it before installing jade.
diff --git a/textproc/jade/pkg/PLIST b/textproc/jade/pkg/PLIST
index a3bdb33c658..b1cd708d736 100644
--- a/textproc/jade/pkg/PLIST
+++ b/textproc/jade/pkg/PLIST
@@ -1,9 +1,10 @@
-bin/jade
+@comment $NetBSD: PLIST,v 1.2 1999/03/15 08:48:16 rh Exp $
+bin/sx
bin/nsgmls
-bin/sgmlnorm
bin/spam
+bin/sgmlnorm
bin/spent
-bin/sx
+bin/jade
include/sp/Allocator.h
include/sp/ArcEngine.h
include/sp/Attribute.h
@@ -68,11 +69,11 @@ include/sp/Lpd.h
include/sp/Markup.h
include/sp/Message.h
include/sp/MessageArg.h
+include/sp/MessageTable.h
include/sp/MessageBuilder.h
include/sp/MessageEventHandler.h
include/sp/MessageFormatter.h
include/sp/MessageReporter.h
-include/sp/MessageTable.h
include/sp/Mode.h
include/sp/NCVector.h
include/sp/NCVector.sed
@@ -140,18 +141,10 @@ include/sp/rtti.h
include/sp/sptchar.h
include/sp/types.h
include/sp/xnew.h
-lib/libgrove.la
-lib/libgrove.so
-lib/libgrove.so.1.3
-lib/libsp.la
-lib/libsp.so
-lib/libsp.so.1.3
-lib/libspgrove.la
-lib/libspgrove.so
-lib/libspgrove.so.1.3
-lib/libstyle.la
-lib/libstyle.so
-lib/libstyle.so.1.3
+lib/libsp.a
+lib/libgrove.a
+lib/libspgrove.a
+lib/libstyle.a
share/doc/jade/archform.htm
share/doc/jade/build.htm
share/doc/jade/catalog.htm
@@ -185,5 +178,4 @@ share/sgml/jade/style-sheet.dtd
@dirrm include/sp
@dirrm share/doc/jade
@dirrm share/sgml/jade
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
+@unexec rmdir %D/share/sgml 2>/dev/null || true