mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
5e662d1489
PR: ports/109180 Submitted by: rafan
41 lines
953 B
Makefile
41 lines
953 B
Makefile
# New ports collection makefile for: libsigc++2
|
|
# Date created: 14 Feb 2004
|
|
# Whom: Alexander Nedotsukov <bland@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libsigc++
|
|
PORTVERSION= 2.0.17
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
MASTER_SITE_SUBDIR= sources/libsigc++/${PORTVERSION:R}
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Callback Framework for C++
|
|
|
|
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
|
|
|
|
USE_AUTOTOOLS= libtool:15
|
|
USE_BZIP2= yes
|
|
USE_GCC= 3.4
|
|
USE_GMAKE= yes
|
|
LATEST_LINK= libsigc++20
|
|
USE_LDCONFIG= yes
|
|
USE_GNOME= gnomehack gnometarget pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
|
|
PLIST_SUB= VERSION="2.0" API_VERSION="2.0"
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "/^SUBDIRS =/s|tests||; \
|
|
/^SUBDIRS =/s|examples||" ${WRKSRC}/Makefile.in
|
|
.if defined(NOPORTDOCS)
|
|
@${REINPLACE_CMD} -e "/^install-data-am:/s/install-libsigc_docDATA//; \
|
|
s/^\(SUBDIRS =\).*/\1/" \
|
|
${WRKSRC}/docs/Makefile.in
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|