blob: 41cdd6cd31f6bc0a7a85477a2a61a054762013b6 (
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
|
# New ports collection makefile for: mono-tools
# Date created: 2005-06-16
# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
#
# $FreeBSD$
# $Id: Makefile,v 1.30 2007/12/13 19:32:53 killfill Exp $
#
PORTNAME= mono-tools
PORTVERSION= 2.0
CATEGORIES= devel
MASTER_SITES= ftp://ftp.novell.com/pub/mono/sources/${PORTNAME}/
MAINTAINER= mono@FreeBSD.org
COMMENT= Documentation browser for Mono and Mono libraries
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gecko-sharp-2.0.pc:${PORTSDIR}/www/gecko-sharp20 \
${LOCALBASE}/lib/libgdiplus.a:${PORTSDIR}/x11-toolkits/libgdiplus \
monodocer:${PORTSDIR}/devel/monodoc
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gecko-sharp-2.0.pc:${PORTSDIR}/www/gecko-sharp20 \
monodocer:${PORTSDIR}/devel/monodoc
USE_BZIP2= yes
USE_GNOME= gnomehack gnometarget gnomedesktopsharp20
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GECKO= firefox mozilla
MAN1= create-native-map.1 gendarme.1 mprof-decoder.1 mprof-heap-viewer.1
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|@bindir@/monodoc|monodoc|g' \
${WRKSRC}/docbrowser/monodoc.desktop.in
@${REINPLACE_CMD} -e 's|lib/pkgconfig|libdata/pkgconfig|g' \
${WRKSRC}/create-native-map/lib/pkgconfig/Makefile.in
@${REINPLACE_CMD} -e "s|%%FBSD_MOZILLA_HOME%%|${PREFIX}/lib/${GECKO}|g" \
${WRKSRC}/docbrowser/monodoc.in
@${FIND} ${WRKSRC} -name "${GNOME_MAKEFILEIN}*" -type f | ${XARGS} ${REINPLACE_CMD} -e \
's|@datadir@/man/man1|@mandir@/man1|g'
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
.include <bsd.port.post.mk>
|