aboutsummaryrefslogtreecommitdiff
path: root/devel/libsigc++/Makefile
blob: 11c4511ede45ea07dc969dd5dbb69db197866bde (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# New ports collection makefile for:   libsigc++
# Date created:        27 January 2000
# Whom:                Joe Lu <JoeLu@JoeLu.m8.ntu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=	libsigc++
PORTVERSION=	1.0.4
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GNOME:S/$/:gnome/} \
		${MASTER_SITE_SOURCEFORGE:S/$/:sf/}
MASTER_SITE_SUBDIR=	sources/${PORTNAME}/1.0/:gnome \
		libsigc/:sf
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:sf,gnome

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Callback Framework for C++

GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
USE_GNOME=	gnomehack

pre-configure:
	@${REINPLACE_CMD} -e 's#^sh libtool#${LIBTOOL}#' ${WRKSRC}/configure

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/FEATURES ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/API ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/UML ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/conventions ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/diagrams ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/marshal ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/powerusers ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/requirements ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/riscos ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/signals ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/win32 ${DOCSDIR}
.endif

.include <bsd.port.mk>