blob: 6a98b12cf6487677029bfb58598ae161105eab41 (
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
|
# New ports collection makefile for: objc compiler
# Date created: 16 May 1998
# Whom: chuckr@freebsd.org
#
# $FreeBSD$
#
PORTNAME= objc
PORTVERSION= 3.1.32
CATEGORIES= lang
MASTER_SITES= http://users.pandora.be/stes/
DISTFILES= objc-bootstrap-${PORTVERSION}.tar.gz objc-${PORTVERSION}.tar.gz
MAINTAINER= chuckr@freebsd.org
HAS_CONFIGURE= yes
ALL_TARGET= default
MAKE_ENV= PATH=$(WRKDIR)/bin:$(PATH)
CONFIGURE_ENV= PATH=$(WRKDIR)/bin:$(PATH)
CONFIGURE_ARGS= --prefix=$(PREFIX)
.include <bsd.port.pre.mk>
pre-configure:
cd $(WRKDIR)/${PORTNAME}-bootstrap-$(PORTVERSION);\
./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>
|