From a780406c450e1096cfb1013b1499cc08d70b1478 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Wed, 4 Jun 2003 10:37:19 +0000 Subject: Update: security/xmlsec Changes from KATO Tsuguru (thanks!) - Do not install useless .la files - Install .pc file to correct place PR: ports/52767 Submitted by: Jim Geovedi --- security/xmlsec/Makefile | 9 +++++++-- security/xmlsec/pkg-plist | 5 ++--- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'security/xmlsec') 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 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 -- cgit v1.2.3