freebsd-ports/net-im/libicq2000/Makefile
Ade Lovett b2fd75e438 libtool uber-patch
* kill devel/libtool and move to devel/libtool13, upgrading to 1.3.5
* upgrade repo-copied devel/libtool14 to 1.4.3
* break out libltdl into its own separate port
* move to version-numbered binaries/scripts (ie: there is *no* 'libtool'
  any more -- USE_LIBTOOL and USE_LIBTOOL_VER are your friends)

Approved by:	portmgr (kris) - for the bsd.port.mk hooks
Tested by:	bento 4-exp builds (repeatedly)
2003-06-26 22:58:32 +00:00

49 lines
1.1 KiB
Makefile

# New ports collection makefile for: libicq2000
# Date created: Sat Apr 27 10:36:05 BRT 2002
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libicq2000
PORTVERSION= 0.3.2
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= lioux@FreeBSD.org
COMMENT= An opensource C++ library to support icq2000/2001 protocol
LIB_DEPENDS= sigc.1:${PORTSDIR}/devel/libsigc++
USE_LIBTOOL= yes
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
MAN1= libicq2000-config.1
DOC_FILES= AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS \
TODO
post-patch:
@${REINPLACE_CMD} -E -e \
's|^(headersincludedir =).+|\1\$$(includedir)/libicq2000|' \
${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
post-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>