aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-06-04 18:37:19 +0800
committeredwin <edwin@FreeBSD.org>2003-06-04 18:37:19 +0800
commitd15a52c53f8a3f997bb1223cde7db9cd915eb66c (patch)
treed95f4c7b12e007510f0b8e37856651ff15474d42 /security
parentceb7af09be42a230d36d9a8e2b015fd1b33fce01 (diff)
downloadfreebsd-ports-gnome-d15a52c53f8a3f997bb1223cde7db9cd915eb66c.tar.gz
freebsd-ports-gnome-d15a52c53f8a3f997bb1223cde7db9cd915eb66c.tar.zst
freebsd-ports-gnome-d15a52c53f8a3f997bb1223cde7db9cd915eb66c.zip
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>
Diffstat (limited to 'security')
-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