ports/51102: [new port] security/xmlsec1

Foxfair Hu foxfair at drago.fomokka.net
Tue Apr 29 04:22:15 UTC 2003


  New patch with minor adjustment according to your shar file. 
See the attchment.

Foxfair

On Mon, Apr 28, 2003 at 06:14:05PM -0700, Foxfair Hu wrote:
> Synopsis: [new port] security/xmlsec1
> 
> Responsible-Changed-From-To: freebsd-ports-bugs->foxfair
> Responsible-Changed-By: foxfair
> Responsible-Changed-When: Mon Apr 28 18:12:22 PDT 2003
> Responsible-Changed-Why: 
> Take over this patch, i will do it. BTW there is a security/xmlsec port
> in the ports tree, I will make this patch available upon it.
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=51102
-------------- next part --------------
diff -ruN ../xmlsec1.orig/Makefile ./Makefile
--- ../xmlsec1.orig/Makefile	Tue Apr 29 11:56:14 2003
+++ ./Makefile	Tue Apr 29 12:15:03 2003
@@ -8,10 +8,11 @@
 PORTNAME=	xmlsec1
 PORTVERSION=	1.0.0
 CATEGORIES=	security
+
 MASTER_SITES=	http://www.aleksey.com/xmlsec/download/ \
 		ftp://ftp.aleksey.com/pub/xmlsec/releases/ \
-		ftp://ftp.xmlsoft.org/xmlsec/releases \
-		ftp://ftp.rpmfind.net/pub/XML/xmlsec/releases
+		ftp://ftp.xmlsoft.org/xmlsec/releases/ \
+		ftp://ftp.rpmfind.net/pub/XML/xmlsec/releases/
 
 MAINTAINER=	jim at corebsd.or.id
 COMMENT=	XML Security Library (current stable version)
@@ -24,10 +25,10 @@
 
 MAN1=	xmlsec1.1 xmlsec1-config.1
 
-post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	@cp -R ${WRKSRC}/docs/* ${DOCSDIR}
+post-configure:
+.if defined(NOPORTDOCS)
+	@${SED} -e "s:include src apps man docs:include src apps man:g" ${WRKSRC}/Makefile > ${WRKSRC}/Makefile.new
+	@${MV} ${WRKSRC}/Makefile.new ${WRKSRC}/Makefile
 .endif
 
 .include <bsd.port.mk>
diff -ruN ../xmlsec1.orig/files/patch-docs::Makefile.in ./files/patch-docs::Makefile.in
--- ../xmlsec1.orig/files/patch-docs::Makefile.in	Thu Jan  1 08:00:00 1970
+++ ./files/patch-docs::Makefile.in	Tue Apr 29 12:05:42 2003
@@ -0,0 +1,11 @@
+--- docs/Makefile.in.orig	Tue Apr 29 12:03:50 2003
++++ docs/Makefile.in	Tue Apr 29 12:04:26 2003
+@@ -467,7 +467,7 @@
+ 	- at INSTALL@ -m 0644 $(srcdir)/images/*.gif $(srcdir)/images/*.png $(DESTDIR)$(TARGET_DIR)/images
+ 	- at INSTALL@ -m 0644 $(srcdir)/api/*.html $(srcdir)/api/*.sgml $(DESTDIR)$(TARGET_DIR)/api
+ 	- at INSTALL@ -m 0644 $(srcdir)/api/chapters/*.sgml $(DESTDIR)$(TARGET_DIR)/api/chapters
+-	- at INSTALL@ -m 0644 $(srcdir)/api/images/*.png $(DESTDIR)$(TARGET_DIR)/api/images
++	- at INSTALL@ -m 0644 $(srcdir)/api/images/*.png $(srcdir)/api/images/*.sxd $(DESTDIR)$(TARGET_DIR)/api/images
+ 
+ uninstall:
+ 	@rm -rf $(TARGET_DIR)
diff -ruN ../xmlsec1.orig/pkg-plist ./pkg-plist
--- ../xmlsec1.orig/pkg-plist	Tue Apr 29 11:56:14 2003
+++ ./pkg-plist	Tue Apr 29 11:05:36 2003
@@ -38,12 +38,6 @@
 lib/libxmlsec1.so.1
 lib/pkgconfig/xmlsec1.pc
 lib/xmlsec1Conf.sh
-%%PORTDOCS%%share/doc/xmlsec1/Makefile
-%%PORTDOCS%%share/doc/xmlsec1/Makefile.am
-%%PORTDOCS%%share/doc/xmlsec1/Makefile.in
-%%PORTDOCS%%share/doc/xmlsec1/api/Makefile
-%%PORTDOCS%%share/doc/xmlsec1/api/Makefile.am
-%%PORTDOCS%%share/doc/xmlsec1/api/Makefile.in
 %%PORTDOCS%%share/doc/xmlsec1/api/chapters/compiling-and-linking.sgml
 %%PORTDOCS%%share/doc/xmlsec1/api/chapters/creating-templates.sgml
 %%PORTDOCS%%share/doc/xmlsec1/api/chapters/examples.sgml
@@ -56,7 +50,6 @@
 %%PORTDOCS%%share/doc/xmlsec1/api/chapters/using-transforms.sgml
 %%PORTDOCS%%share/doc/xmlsec1/api/chapters/using-x509-certs.sgml
 %%PORTDOCS%%share/doc/xmlsec1/api/chapters/verify-and-decrypt.sgml
-%%PORTDOCS%%share/doc/xmlsec1/api/images/.cvsignore
 %%PORTDOCS%%share/doc/xmlsec1/api/images/diagrams.sxd
 %%PORTDOCS%%share/doc/xmlsec1/api/images/encryption-structure.png
 %%PORTDOCS%%share/doc/xmlsec1/api/images/key.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/attachments/20030429/79e23b14/attachment.sig>


More information about the freebsd-ports-bugs mailing list