aboutsummaryrefslogtreecommitdiffstats
path: root/lang/objc/Makefile
blob: 5d9f9e241a97bc9056541c5b1cb7c8126c10b8c4 (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
# Created by: chuckr@freebsd.org
# $FreeBSD$

PORTNAME=   objc
PORTVERSION=    3.2.11
CATEGORIES= lang
MASTER_SITES=   http://users.telenet.be/stes/
DISTFILES=  objc-bootstrap-${BOOTVERSION}.tar.gz objc-${PORTVERSION}.tar.gz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Portable Object Compiler

BOOTVERSION=    3.2.11

BROKEN=     fails to build

ALL_TARGET= default
MAKE_ENV=   PATH=${WRKDIR}/bin:${PATH}
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  PATH=${WRKDIR}/bin:${PATH}
MAKE_JOBS_UNSAFE=   yes

.include <bsd.port.pre.mk>

pre-configure:
    cd ${WRKDIR}/${PORTNAME}-bootstrap-${BOOTVERSION};\
    ${CONFIGURE_ENV} ${MAKE_ENV} ./configure --prefix=${WRKDIR};${MAKE};${MAKE} install

pre-install:
    ${MKDIR} ${PREFIX}/share/doc/objc
    ${MKDIR} ${PREFIX}/share/doc/objc/examples
    ${MKDIR} ${PREFIX}/share/doc/objc/html
    ${TAR} -cf - -C ${WRKSRC}/examples . | ${TAR} xpf - -C ${PREFIX}/share/doc/objc/examples
    ${TAR} -cf - -C ${WRKSRC}/html . | ${TAR} xpf - -C ${PREFIX}/share/doc/objc/html

.include "${FILESDIR}/manpages.mk"

.include <bsd.port.post.mk>