blob: 182cf6e3716aaf76d5df862c7e822d53331e68ee (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Ports collection makefile for: treecc
# Date created: Wed Jul 11 00:45:15 EDT 2001
# Whom: Michael Johnson <ahze@ahze.net>
#
# $FreeBSD$
#
PORTNAME= pnet
PORTVERSION= ${PNET_VERSION}
PORTREVISION= ${PNET_REVISION}
CATEGORIES= lang
MASTER_SITES= ${PNET_MASTER_SITES}
MASTER_SITE_SUBDIR= ${PNET_MASTER_SITE_SUBDIR}
PKGNAMESUFFIX= base
MAINTAINER= ports@FreeBSD.org
COMMENT= C\# compiler and runtime engine
BUILD_DEPENDS= treecc:${PORTSDIR}/lang/treecc
.if !defined(WITHOUT_X11)
USE_XLIB= yes
.endif
USE_LIBTOOL_VER=15
USE_GMAKE= yes
USE_REINPLACE= yes
CONFIGURE_ARGS+= --enable-threads=posix
.if !defined(WITH_OPTIMIZED_CFLAGS)
CONFIGURE_ARGS+= --disable-optimizations
.endif
PORTDOCS= ChangeLog-1 ChangeLog-2 ChangeLog-3 ChangeLog-4 Doxyfile \
c_language_abi.html embedded.html gtk-sharp.HOWTO \
l10n.html libgc_changes.txt pinvoke.html pnet_faq.html pnetasm.texi \
unrolling.txt
INFO= pnettools
MAN1= clrwrap.1 csant.1 cscc.1 csdoc.1 csdoc2hier.1 csdoc2html.1 \
cscc-cpp.1 csdoc2texi.1 cssrc2html.1 ilalink.1 ilasm.1 ildasm.1 \
ildd.1 ilfind.1 ilgac.1 ilheader.1 ilnative.1 ilranlib.1 ilrun.1 \
ilsize.1 ilstrip.1 ilverify.1 resgen.1
.include "${.CURDIR}/../pnet/Makefile.pnet"
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
CONFIGURE_ARGS+= --without-libffi \
--without-libgc
.endif
post-everything::
.if !defined(WITH_OPTIMIZED_CFLAGS)
@${ECHO_MSG} "Define optimized CFLAGS with"
@${ECHO_MSG} "WITH_OPTIMIZED_CFLAGS=yes"
.endif
post-patch:
@${REINPLACE_CMD} -e 's|`$$CC -print-multi-os-directory 2>/dev/null`|elf|' \
${WRKSRC}/libffi/configure ${WRKSRC}/libffi/configure.in
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for docfile in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/doc/${docfile} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>
|