aboutsummaryrefslogtreecommitdiffstats
path: root/lang/pnetlib/Makefile
blob: 6756a52efc694a3abe6edfcf05668b6133c1e43b (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
# Ports collection makefile for:  treecc
# Date created:           Wed Jul 11 00:45:15 EDT 2001
# Whom:               Michael Johnson <ahze@ahze.net>
#
# $FreeBSD$
#

PORTNAME=   pnetlib
PORTVERSION=    ${PNET_VERSION}
PORTREVISION=   ${PNET_REVISION}
CATEGORIES= lang
MASTER_SITES=   ${PNET_MASTER_SITES}
MASTER_SITE_SUBDIR= ${PNET_MASTER_SITE_SUBDIR}

MAINTAINER= sylvio@FreeBSD.org
COMMENT=    C\# system library for pnet

BUILD_DEPENDS=  cscc:${PORTSDIR}/lang/pnet-base \
        treecc:${PORTSDIR}/lang/treecc

.if !defined(WITHOUT_X11)
USE_XLIB=   yes
.endif

GNU_CONFIGURE=  yes
USE_AUTOTOOLS=  libtool
USE_GMAKE=  yes
USE_LDCONFIG=   yes

PORTDOCS=   ChangeLog-1 ChangeLog-2 ChangeLog-3 ChangeLog-4 \
    JScript-embed.txt JScript-internals.txt csunit_howto.html \
    pcf-font-format.txt translating-pnetlib.txt

.include "${.CURDIR}/../pnet/Makefile.pnet"
.include <bsd.port.pre.mk>

.if ${ARCH} == "alpha"
IGNORE=     coredump during build on alpha
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
        ${WRKSRC}/configure

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for docfile in ${PORTDOCS}
    @${INSTALL_DATA} ${WRKSRC}/doc/${docfile} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>