mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
d9375a36b9
- Return correct cflags when libicq2000-config is called [1] - USE_REINPLACE - Bump PORTREVISION * ickle - Patch to work with aforementioned fix Prompted by: Neil Darlow <neil@darlow.co.uk> [1]
47 lines
1.1 KiB
Makefile
47 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
|
|
|
|
LIB_DEPENDS= sigc.1:${PORTSDIR}/devel/libsigc++
|
|
|
|
USE_LIBTOOL= yes
|
|
USE_REINPLACE= 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} ${LOCALBASE}/bin/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>
|