1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/lang/oo2c/Makefile
Johan van Selst 863ef18a7e - Fix installation directory for staging
- Bump portrevision
2014-02-20 18:17:22 +00:00

43 lines
873 B
Makefile

# Created by: Oliver Breuninger <ob@seicom.NET>
# $FreeBSD$
PORTNAME= oo2c
PORTVERSION= 2.1.11
PORTREVISION= 1
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= libgc.so:${PORTSDIR}/devel/boehm-gc
DOCSDIR= lib/${PORTNAME}
USES= gmake
USE_BZIP2= yes
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_CSTD= gnu89
USE_GCC= any
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
ONLY_FOR_ARCHS= i386 amd64 ia64
post-patch:
@${REINPLACE_CMD} 's/dir=@/dir=$${DESTDIR}@/' \
${WRKSRC}/Makefile.config.in
.include <bsd.port.pre.mk>
.if ${ARCH} == i386
BITS= 32
.else
BITS= 64
.endif
.include <bsd.port.post.mk>