summaryrefslogblamecommitdiff
path: root/lang/oo2c/Makefile
blob: 7cce4f3989b4d2fc847e9ae028d9f805b7303b49 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                               


                    
                      
                    
                                          
                                                  
 
                                  
                                                                                     
 

                                                     
 

                               
                       
                   
                   
                   

                                                       
 
                                               
 

                               
                   






                          
 
                           
# Created by: Oliver Breuninger <ob@seicom.NET>
# $FreeBSD$

PORTNAME=	oo2c
PORTVERSION=	2.1.11
CATEGORIES=	lang
MASTER_SITES=	SF/ooc/ooc2/${PORTVERSION}
DISTNAME=	${PORTNAME}_${BITS}-${PORTVERSION}

MAINTAINER=	johans@FreeBSD.org
COMMENT=	Optimizing Oberon-2 compiler of University of Kaiserslautern, Germany

BUILD_DEPENDS=	xsltproc:${PORTSDIR}/textproc/libxslt
LIB_DEPENDS=	gc.1:${PORTSDIR}/devel/boehm-gc

DOCSDIR=	lib/${PORTNAME}
USE_BZIP2=	yes
USE_AUTOTOOLS=	libtool
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_LDCONFIG=	yes
CPPFLAGS+=	-I${LOCALBASE}/include -DGC_PTR='void*'
LDFLAGS+=	-L${LOCALBASE}/lib

MAN1=		oo2c.1 oob.1 ooef.1 oowhereis.1

ONLY_FOR_ARCHS=	i386 amd64 ia64

NO_STAGE=	yes
.include <bsd.port.pre.mk>

.if ${ARCH} == i386
BITS=		32
.else
BITS=		64
.endif

.include <bsd.port.post.mk>