1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00

- More LIBTOOL-target practice: Disconnect unused static lib from build by

using a recent ltmain.sh and setting CONFIGURE_ARGS/USE_INC_LIBTOOL
- Minor repackaging and de-crufting
This commit is contained in:
Volker Stolz 2005-05-24 18:06:01 +00:00
parent 1bcf6a3ee4
commit 9e00e5231d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136050
4 changed files with 10 additions and 38 deletions

View File

@ -17,13 +17,14 @@ COMMENT= An opensource C++ library to support icq2000/2001 protocol
LIB_DEPENDS= sigc.1:${PORTSDIR}/devel/libsigc++
USE_LIBTOOL_VER=13
USE_INC_LIBTOOL_VER=15
CONFIGURE_ARGS= --disable-static
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
MAN1= libicq2000-config.1
DOC_FILES= AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS \
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS \
TODO
post-patch:
@ -32,16 +33,12 @@ post-patch:
${WRKSRC}/libicq2000/Makefile.in
@${REINPLACE_CMD} -E -e 's|^(pkgincludedir.+)/@PACKAGE@|\1|' \
${WRKSRC}/libicq2000-config.in
post-configure:
@${CP} ${LIBTOOL} ${WRKSRC}
@${REINPLACE_CMD} -E -e 's|^(install_ltlibs=).+$$|\1no|' \
${WRKSRC}/libtool
@${CP} ${LTMAIN} ${WRKSRC}
post-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
.for file in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

View File

@ -39,18 +39,7 @@ include/libicq2000/time_extra.h
include/libicq2000/userinfoconstants.h
include/libicq2000/userinfohelpers.h
include/libicq2000/version.h
lib/libicq2000.a
lib/libicq2000.la
lib/libicq2000.so
lib/libicq2000.so.5
share/aclocal/libicq2000.m4
%%PORTDOCS%%share/doc/libicq2000/AUTHORS
%%PORTDOCS%%share/doc/libicq2000/COPYING
%%PORTDOCS%%share/doc/libicq2000/ChangeLog
%%PORTDOCS%%share/doc/libicq2000/INSTALL
%%PORTDOCS%%share/doc/libicq2000/NEWS
%%PORTDOCS%%share/doc/libicq2000/README
%%PORTDOCS%%share/doc/libicq2000/THANKS
%%PORTDOCS%%share/doc/libicq2000/TODO
%%PORTDOCS%%@dirrm share/doc/libicq2000
@dirrm include/libicq2000

View File

@ -17,13 +17,14 @@ COMMENT= An opensource C++ library to support icq2000/2001 protocol
LIB_DEPENDS= sigc.1:${PORTSDIR}/devel/libsigc++
USE_LIBTOOL_VER=13
USE_INC_LIBTOOL_VER=15
CONFIGURE_ARGS= --disable-static
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
MAN1= libicq2000-config.1
DOC_FILES= AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS \
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS \
TODO
post-patch:
@ -32,16 +33,12 @@ post-patch:
${WRKSRC}/libicq2000/Makefile.in
@${REINPLACE_CMD} -E -e 's|^(pkgincludedir.+)/@PACKAGE@|\1|' \
${WRKSRC}/libicq2000-config.in
post-configure:
@${CP} ${LIBTOOL} ${WRKSRC}
@${REINPLACE_CMD} -E -e 's|^(install_ltlibs=).+$$|\1no|' \
${WRKSRC}/libtool
@${CP} ${LTMAIN} ${WRKSRC}
post-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
.for file in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

View File

@ -39,18 +39,7 @@ include/libicq2000/time_extra.h
include/libicq2000/userinfoconstants.h
include/libicq2000/userinfohelpers.h
include/libicq2000/version.h
lib/libicq2000.a
lib/libicq2000.la
lib/libicq2000.so
lib/libicq2000.so.5
share/aclocal/libicq2000.m4
%%PORTDOCS%%share/doc/libicq2000/AUTHORS
%%PORTDOCS%%share/doc/libicq2000/COPYING
%%PORTDOCS%%share/doc/libicq2000/ChangeLog
%%PORTDOCS%%share/doc/libicq2000/INSTALL
%%PORTDOCS%%share/doc/libicq2000/NEWS
%%PORTDOCS%%share/doc/libicq2000/README
%%PORTDOCS%%share/doc/libicq2000/THANKS
%%PORTDOCS%%share/doc/libicq2000/TODO
%%PORTDOCS%%@dirrm share/doc/libicq2000
@dirrm include/libicq2000