summaryrefslogtreecommitdiff
path: root/security/xmlsec
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-06-04 10:37:19 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-06-04 10:37:19 +0000
commita780406c450e1096cfb1013b1499cc08d70b1478 (patch)
tree61071d6ea9b40aff948b1b7b4f8846ae6f55fb4e /security/xmlsec
parentCorrect documentation URL. (diff)
Update: security/xmlsec
Changes from KATO Tsuguru <tkato@prontomail.com> (thanks!) - Do not install useless .la files - Install .pc file to correct place PR: ports/52767 Submitted by: Jim Geovedi <jim@corebsd.or.id>
Notes
Notes: svn path=/head/; revision=82250
Diffstat (limited to 'security/xmlsec')
-rw-r--r--security/xmlsec/Makefile9
-rw-r--r--security/xmlsec/pkg-plist5
2 files changed, 9 insertions, 5 deletions
diff --git a/security/xmlsec/Makefile b/security/xmlsec/Makefile
index 6e6b1a55963f..e14d13e75997 100644
--- a/security/xmlsec/Makefile
+++ b/security/xmlsec/Makefile
@@ -8,6 +8,7 @@
PORTNAME= xmlsec
PORTVERSION= 0.0.15
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.aleksey.com/xmlsec/download/ \
ftp://ftp.aleksey.com/pub/xmlsec/releases/ \
@@ -17,10 +18,13 @@ MASTER_SITES= http://www.aleksey.com/xmlsec/download/ \
MAINTAINER= jim@corebsd.or.id
COMMENT= XML Security Library
-LIB_DEPENDS= xslt:${PORTSDIR}/textproc/libxslt
+RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+BUILD_DEPENDS= ${RUN_DEPENDS}
USE_OPENSSL= yes
+USE_GNOME= gnomehack libxslt
USE_LIBTOOL= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB= yes
MAN1= xmlsec.1 xmlsec-config.1
@@ -28,7 +32,8 @@ MAN1= xmlsec.1 xmlsec-config.1
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- @cp -R ${WRKSRC}/docs/* ${DOCSDIR}
+ @${TAR} -C ${WRKSRC}/docs -cf - . | ${TAR} -C ${DOCSDIR} -xf -
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/security/xmlsec/pkg-plist b/security/xmlsec/pkg-plist
index 6502d0dd2d5d..a8aa1a6604fd 100644
--- a/security/xmlsec/pkg-plist
+++ b/security/xmlsec/pkg-plist
@@ -23,14 +23,14 @@ include/xmlsec0/xmlsec/xmlenc.h
include/xmlsec0/xmlsec/xmlsec.h
include/xmlsec0/xmlsec/xmltree.h
lib/libxmlsec.a
-lib/libxmlsec.la
lib/libxmlsec.so
lib/libxmlsec.so.0
-lib/pkgconfig/xmlsec.pc
+libdata/pkgconfig/xmlsec.pc
%%PORTDOCS%%share/doc/xmlsec/api/.cvsignore
%%PORTDOCS%%share/doc/xmlsec/api/Makefile
%%PORTDOCS%%share/doc/xmlsec/api/Makefile.am
%%PORTDOCS%%share/doc/xmlsec/api/Makefile.in
+%%PORTDOCS%%share/doc/xmlsec/api/Makefile.in.bak
%%PORTDOCS%%share/doc/xmlsec/api/index.html
%%PORTDOCS%%share/doc/xmlsec/api/index.sgml
%%PORTDOCS%%share/doc/xmlsec/api/sgml/base64.sgml
@@ -318,4 +318,3 @@ lib/pkgconfig/xmlsec.pc
%%PORTDOCS%%@dirrm share/doc/xmlsec
@dirrm include/xmlsec0/xmlsec
@dirrm include/xmlsec0
-@unexec rmdir $D/lib/pkgconfig 2>/dev/null || true