diff options
author | vs <vs@FreeBSD.org> | 2005-05-25 02:06:01 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-05-25 02:06:01 +0800 |
commit | d2ad19b138cf7bba28ac53a9e6efb2982a792c90 (patch) | |
tree | 46e375ebb076bdc21ba7b2828b40a00c81fbc886 | |
parent | 065c0ae06b5560b7f51fb6c76d6bf55054403068 (diff) | |
download | freebsd-ports-gnome-d2ad19b138cf7bba28ac53a9e6efb2982a792c90.tar.gz freebsd-ports-gnome-d2ad19b138cf7bba28ac53a9e6efb2982a792c90.tar.zst freebsd-ports-gnome-d2ad19b138cf7bba28ac53a9e6efb2982a792c90.zip |
- 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
-rw-r--r-- | net-im/libicq2000/Makefile | 13 | ||||
-rw-r--r-- | net-im/libicq2000/pkg-plist | 11 | ||||
-rw-r--r-- | net/libicq2000/Makefile | 13 | ||||
-rw-r--r-- | net/libicq2000/pkg-plist | 11 |
4 files changed, 10 insertions, 38 deletions
diff --git a/net-im/libicq2000/Makefile b/net-im/libicq2000/Makefile index aee501c78301..6a2b87e31747 100644 --- a/net-im/libicq2000/Makefile +++ b/net-im/libicq2000/Makefile @@ -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 diff --git a/net-im/libicq2000/pkg-plist b/net-im/libicq2000/pkg-plist index aa10fa776eaa..fe33bf5d601e 100644 --- a/net-im/libicq2000/pkg-plist +++ b/net-im/libicq2000/pkg-plist @@ -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 diff --git a/net/libicq2000/Makefile b/net/libicq2000/Makefile index aee501c78301..6a2b87e31747 100644 --- a/net/libicq2000/Makefile +++ b/net/libicq2000/Makefile @@ -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 diff --git a/net/libicq2000/pkg-plist b/net/libicq2000/pkg-plist index aa10fa776eaa..fe33bf5d601e 100644 --- a/net/libicq2000/pkg-plist +++ b/net/libicq2000/pkg-plist @@ -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 |