View | Details | Raw Unified | Return to bug 58540
Collapse All | Expand All

(-)opensp.patched/Makefile (-1 / +39 lines)
Lines 15-28 Link Here
15
MAINTAINER=	kuriyama@FreeBSD.org
15
MAINTAINER=	kuriyama@FreeBSD.org
16
COMMENT=	This package is a collection of SGML/XML tools called OpenSP
16
COMMENT=	This package is a collection of SGML/XML tools called OpenSP
17
17
18
LIB_DEPENDS=	intl.5:${PORTSDIR}/devel/gettext \
19
		iconv.3:${PORTSDIR}/converters/libiconv
20
18
USE_GMAKE=	YES
21
USE_GMAKE=	YES
22
USE_REINPLACE=	YES
19
USE_LIBTOOL=	YES
23
USE_LIBTOOL=	YES
20
USE_PERL5=	yes
24
USE_PERL5=	yes
25
USE_AUTOCONF_VER=253
21
CONFIGURE_ARGS=	--enable-default-catalog=${PREFIX}/share/sgml/catalog \
26
CONFIGURE_ARGS=	--enable-default-catalog=${PREFIX}/share/sgml/catalog \
22
		--datadir=${PREFIX}/share/sgml/openjade
27
		--datadir=${PREFIX}/share/sgml/openjade
28
CONFIGURE_ENV=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
29
		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
30
23
INSTALLS_SHLIB=	yes
31
INSTALLS_SHLIB=	yes
24
32
25
MAN1=	onsgmls.1 osgmlnorm.1 ospam.1 ospent.1 osx.1
33
MAN1=		onsgmls.1 osgmlnorm.1 ospam.1 ospent.1 osx.1
34
DOC_FILES=	archform.htm autoconf.htm build.htm catalog.htm charset.htm \
35
		features.htm generic.htm ideas.htm index.htm new.htm \
36
		nsgmls.htm sgmldecl.htm sgmlnorm.htm sgmlsout.htm spam.htm \
37
		spcat.htm spent.htm sx.htm sysdecl.htm sysid.htm xml.htm \
38
		xmlwarn.htm
39
DOC_FILES2=	NEWS AUTHORS README \
40
		releasenotes.html releasenotes.pdf releasenotes.ps
41
42
# Perhaps this better should be somewhere under ${PREFIX}/share/doc ?
43
DOCSDIR2=	${PREFIX}/share/sgml/openjade/doc/OpenSP
26
44
27
.include <bsd.port.pre.mk>
45
.include <bsd.port.pre.mk>
28
46
Lines 31-35 Link Here
31
# Therefore, we'd better remove all machine optimizations and any -O
49
# Therefore, we'd better remove all machine optimizations and any -O
32
# other than -O{0,1,}. Idea taken from palm/prc-tools-gcc.
50
# other than -O{0,1,}. Idea taken from palm/prc-tools-gcc.
33
CPPFLAGS:=	-O ${CFLAGS:N-O*:N-m*}
51
CPPFLAGS:=	-O ${CFLAGS:N-O*:N-m*}
52
53
pre-install:
54
	@${REINPLACE_CMD} -e \
55
		's|install-man install-pkgdocDATA|install-man|g' \
56
		${WRKSRC}/Makefile
57
58
post-install:
59
60
.if !defined(NOPORTDOCS)
61
	@${MKDIR} ${DOCSDIR}
62
.for doc in ${DOC_FILES}
63
	@${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR}
64
.endfor
65
66
	@${MKDIR} ${DOCSDIR2}
67
.for doc in ${DOC_FILES2}
68
	@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR2}
69
.endfor
70
71
.endif
34
72
35
.include <bsd.port.post.mk>
73
.include <bsd.port.post.mk>
(-)opensp.patched/files/patch-Makefile.am (+21 lines)
Line 0 Link Here
1
--- Makefile.am.orig	Sat Oct 25 20:46:21 2003
2
+++ Makefile.am	Sat Oct 25 20:46:43 2003
3
@@ -2,7 +2,7 @@
4
 
5
 AUTOMAKE_OPTIONS = check-news
6
 
7
-SUBDIRS = pubtext unicode doc \
8
+SUBDIRS = pubtext unicode \
9
 	include generic \
10
 	lib nsgmls spent spam sgmlnorm sx spcat \
11
 	intl po
12
@@ -15,8 +15,7 @@
13
 
14
 man_MANS = onsgmls.1 osgmlnorm.1 ospent.1 ospam.1 osx.1
15
 
16
-pkgdoc_DATA = README ABOUT-NLS NEWS COPYING AUTHORS ChangeLog \
17
-	releasenotes.html releasenotes.pdf releasenotes.ps
18
+pkgdoc_DATA =
19
 
20
 BUILT_SOURCES = config.h msggen.pl
21
 
(-)opensp.patched/files/patch-aclocal.m4 (+46 lines)
Line 0 Link Here
1
2
$FreeBSD: ports/audio/gqmpeg/files/patch-aclocal.m4,v 1.1 2002/07/19 14:10:42 naddy Exp $
3
4
--- aclocal.m4.orig	Wed Jul 17 20:48:30 2002
5
+++ aclocal.m4	Thu Jul 18 16:38:49 2002
6
@@ -545,7 +545,7 @@
7
   rm -f conf.gdk_pixbuftest
8
 ])
9
 
10
-# gettext.m4 serial 13 (gettext-0.11.1)
11
+# gettext.m4 serial 14 (gettext-0.11.2)
12
 dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
13
 dnl This file is free software, distributed under the terms of the GNU
14
 dnl General Public License.  As a special exception to the GNU General
15
@@ -689,14 +689,13 @@
16
             dnl Now see whether libintl exists and does not depend on libiconv.
17
             AC_TRY_LINK([#include <libintl.h>
18
 extern int _nl_msg_cat_cntr;
19
-extern int *_nl_domain_bindings;
20
 extern
21
 #ifdef __cplusplus
22
 "C"
23
 #endif
24
 const char *_nl_expand_alias ();],
25
               [bindtextdomain ("", "");
26
-return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)],
27
+return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
28
               gt_cv_func_gnugettext_libintl=yes,
29
               gt_cv_func_gnugettext_libintl=no)
30
             dnl Now see whether libintl exists and depends on libiconv.
31
@@ -704,14 +703,13 @@
32
               LIBS="$LIBS $LIBICONV"
33
               AC_TRY_LINK([#include <libintl.h>
34
 extern int _nl_msg_cat_cntr;
35
-extern int *_nl_domain_bindings;
36
 extern
37
 #ifdef __cplusplus
38
 "C"
39
 #endif
40
 const char *_nl_expand_alias ();],
41
                 [bindtextdomain ("", "");
42
-return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)],
43
+return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
44
                [LIBINTL="$LIBINTL $LIBICONV"
45
                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
46
                 gt_cv_func_gnugettext_libintl=yes
(-)opensp.patched/files/patch-nsgmls::Makefile.in (+11 lines)
Line 0 Link Here
1
--- nsgmls/Makefile.in.orig	Sat Oct 25 21:23:36 2003
2
+++ nsgmls/Makefile.in	Sat Oct 25 21:23:48 2003
3
@@ -142,7 +142,7 @@
4
 	nsgmls_inst.$(OBJEXT)
5
 onsgmls_OBJECTS = $(am_onsgmls_OBJECTS)
6
 onsgmls_DEPENDENCIES = $(top_builddir)/lib/libosp.la
7
-onsgmls_LDFLAGS =
8
+onsgmls_LDFLAGS = -lintl
9
 
10
 DEFS = @DEFS@
11
 DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
(-)opensp.patched/files/patch-sgmlnorm::Makefile (+11 lines)
Line 0 Link Here
1
--- sgmlnorm/Makefile.in.orig	Sat Oct 25 21:24:54 2003
2
+++ sgmlnorm/Makefile.in	Sat Oct 25 21:25:06 2003
3
@@ -136,7 +136,7 @@
4
 am_osgmlnorm_OBJECTS = sgmlnorm.$(OBJEXT) SGMLGenerator.$(OBJEXT)
5
 osgmlnorm_OBJECTS = $(am_osgmlnorm_OBJECTS)
6
 osgmlnorm_DEPENDENCIES = $(top_builddir)/lib/libosp.la
7
-osgmlnorm_LDFLAGS =
8
+osgmlnorm_LDFLAGS = -lintl
9
 
10
 DEFS = @DEFS@
11
 DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
(-)opensp.patched/files/patch-spam::Makefile.in (+11 lines)
Line 0 Link Here
1
--- spam/Makefile.in.orig	Sat Oct 25 21:11:02 2003
2
+++ spam/Makefile.in	Sat Oct 25 21:11:13 2003
3
@@ -138,7 +138,7 @@
4
 	MarkupEventHandler.$(OBJEXT) spam_inst.$(OBJEXT)
5
 ospam_OBJECTS = $(am_ospam_OBJECTS)
6
 ospam_DEPENDENCIES = $(top_builddir)/lib/libosp.la
7
-ospam_LDFLAGS =
8
+ospam_LDFLAGS = -lintl
9
 
10
 DEFS = @DEFS@
11
 DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
(-)opensp.patched/files/patch-spcat::Makefile.in (+11 lines)
Line 0 Link Here
1
--- spcat/Makefile.in.orig	Sat Oct 25 22:06:38 2003
2
+++ spcat/Makefile.in	Sat Oct 25 22:06:54 2003
3
@@ -134,7 +134,7 @@
4
 am_ospcat_OBJECTS = spcat.$(OBJEXT) spcat_inst.$(OBJEXT)
5
 ospcat_OBJECTS = $(am_ospcat_OBJECTS)
6
 ospcat_DEPENDENCIES = $(top_builddir)/lib/libosp.la
7
-ospcat_LDFLAGS =
8
+ospcat_LDFLAGS = -lintl
9
 
10
 DEFS = @DEFS@
11
 DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
(-)opensp.patched/files/patch-spent::Makefile.in (+11 lines)
Line 0 Link Here
1
--- spent/Makefile.in.orig	Sat Oct 25 21:09:41 2003
2
+++ spent/Makefile.in	Sat Oct 25 21:09:57 2003
3
@@ -134,7 +134,7 @@
4
 am_ospent_OBJECTS = spent.$(OBJEXT)
5
 ospent_OBJECTS = $(am_ospent_OBJECTS)
6
 ospent_DEPENDENCIES = $(top_builddir)/lib/libosp.la
7
-ospent_LDFLAGS =
8
+ospent_LDFLAGS = -lintl
9
 
10
 DEFS = @DEFS@
11
 DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
(-)opensp.patched/files/patch-sx::Makefile.in (+11 lines)
Line 0 Link Here
1
--- sx/Makefile.in.orig	Sat Oct 25 21:26:34 2003
2
+++ sx/Makefile.in	Sat Oct 25 21:27:03 2003
3
@@ -140,7 +140,7 @@
4
 	sx_inst.$(OBJEXT)
5
 osx_OBJECTS = $(am_osx_OBJECTS)
6
 osx_DEPENDENCIES = $(top_builddir)/lib/libosp.la
7
-osx_LDFLAGS =
8
+osx_LDFLAGS = -lintl
9
 
10
 DEFS = @DEFS@
11
 DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
(-)opensp.patched/pkg-plist (-35 / +31 lines)
Lines 145-172 Link Here
145
lib/libosp.la
145
lib/libosp.la
146
lib/libosp.so
146
lib/libosp.so
147
lib/libosp.so.3
147
lib/libosp.so.3
148
share/doc/OpenSP/archform.htm
148
%%PORTDOCS%%%%DOCSDIR%%/archform.htm
149
share/doc/OpenSP/autoconf.htm
149
%%PORTDOCS%%%%DOCSDIR%%/autoconf.htm
150
share/doc/OpenSP/build.htm
150
%%PORTDOCS%%%%DOCSDIR%%/build.htm
151
share/doc/OpenSP/catalog.htm
151
%%PORTDOCS%%%%DOCSDIR%%/catalog.htm
152
share/doc/OpenSP/charset.htm
152
%%PORTDOCS%%%%DOCSDIR%%/charset.htm
153
share/doc/OpenSP/features.htm
153
%%PORTDOCS%%%%DOCSDIR%%/features.htm
154
share/doc/OpenSP/generic.htm
154
%%PORTDOCS%%%%DOCSDIR%%/generic.htm
155
share/doc/OpenSP/ideas.htm
155
%%PORTDOCS%%%%DOCSDIR%%/ideas.htm
156
share/doc/OpenSP/index.htm
156
%%PORTDOCS%%%%DOCSDIR%%/index.htm
157
share/doc/OpenSP/new.htm
157
%%PORTDOCS%%%%DOCSDIR%%/new.htm
158
share/doc/OpenSP/nsgmls.htm
158
%%PORTDOCS%%%%DOCSDIR%%/nsgmls.htm
159
share/doc/OpenSP/sgmldecl.htm
159
%%PORTDOCS%%%%DOCSDIR%%/sgmldecl.htm
160
share/doc/OpenSP/sgmlnorm.htm
160
%%PORTDOCS%%%%DOCSDIR%%/sgmlnorm.htm
161
share/doc/OpenSP/sgmlsout.htm
161
%%PORTDOCS%%%%DOCSDIR%%/sgmlsout.htm
162
share/doc/OpenSP/spam.htm
162
%%PORTDOCS%%%%DOCSDIR%%/spam.htm
163
share/doc/OpenSP/spcat.htm
163
%%PORTDOCS%%%%DOCSDIR%%/spcat.htm
164
share/doc/OpenSP/spent.htm
164
%%PORTDOCS%%%%DOCSDIR%%/spent.htm
165
share/doc/OpenSP/sx.htm
165
%%PORTDOCS%%%%DOCSDIR%%/sx.htm
166
share/doc/OpenSP/sysdecl.htm
166
%%PORTDOCS%%%%DOCSDIR%%/sysdecl.htm
167
share/doc/OpenSP/sysid.htm
167
%%PORTDOCS%%%%DOCSDIR%%/sysid.htm
168
share/doc/OpenSP/xml.htm
168
%%PORTDOCS%%%%DOCSDIR%%/xml.htm
169
share/doc/OpenSP/xmlwarn.htm
169
%%PORTDOCS%%%%DOCSDIR%%/xmlwarn.htm
170
share/sgml/openjade/OpenSP/HTML32.dcl
170
share/sgml/openjade/OpenSP/HTML32.dcl
171
share/sgml/openjade/OpenSP/HTML32.dtd
171
share/sgml/openjade/OpenSP/HTML32.dtd
172
share/sgml/openjade/OpenSP/HTML32.soc
172
share/sgml/openjade/OpenSP/HTML32.soc
Lines 195-213 Link Here
195
share/sgml/openjade/OpenSP/unicode.syn
195
share/sgml/openjade/OpenSP/unicode.syn
196
share/sgml/openjade/OpenSP/xml.dcl
196
share/sgml/openjade/OpenSP/xml.dcl
197
share/sgml/openjade/OpenSP/xml.soc
197
share/sgml/openjade/OpenSP/xml.soc
198
share/sgml/openjade/doc/OpenSP/ABOUT-NLS
198
%%PORTDOCS%%share/sgml/openjade/doc/OpenSP/AUTHORS
199
share/sgml/openjade/doc/OpenSP/AUTHORS
199
%%PORTDOCS%%share/sgml/openjade/doc/OpenSP/NEWS
200
share/sgml/openjade/doc/OpenSP/COPYING
200
%%PORTDOCS%%share/sgml/openjade/doc/OpenSP/README
201
share/sgml/openjade/doc/OpenSP/ChangeLog
201
%%PORTDOCS%%share/sgml/openjade/doc/OpenSP/releasenotes.html
202
share/sgml/openjade/doc/OpenSP/NEWS
202
%%PORTDOCS%%share/sgml/openjade/doc/OpenSP/releasenotes.pdf
203
share/sgml/openjade/doc/OpenSP/README
203
%%PORTDOCS%%share/sgml/openjade/doc/OpenSP/releasenotes.ps
204
share/sgml/openjade/doc/OpenSP/releasenotes.html
204
%%PORTDOCS%%@dirrm %%DOCSDIR%%
205
share/sgml/openjade/doc/OpenSP/releasenotes.pdf
206
share/sgml/openjade/doc/OpenSP/releasenotes.ps
207
@dirrm share/doc/OpenSP
208
@dirrm include/OpenSP
205
@dirrm include/OpenSP
209
@dirrm share/sgml/openjade/OpenSP
206
@dirrm share/sgml/openjade/OpenSP
210
@dirrm share/sgml/openjade/doc/OpenSP
207
%%PORTDOCS%%@dirrm share/sgml/openjade/doc/OpenSP
211
@dirrm share/sgml/openjade/doc
208
%%PORTDOCS%%@dirrm share/sgml/openjade/doc
212
@dirrm share/sgml/openjade/locale
213
@dirrm share/sgml/openjade
209
@dirrm share/sgml/openjade

Return to bug 58540