1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/lang/oo2c/Makefile
Muhammad Moinur Rahman 44402244f5
lang/oo2c: Moved man to share/man
Approved by:    portmgr (blanket)
2024-02-24 17:12:19 +01:00

48 lines
1.1 KiB
Makefile

PORTNAME= oo2c
PORTVERSION= 2.1.11
PORTREVISION= 15
CATEGORIES= lang
MASTER_SITES= SF/ooc/ooc2/${PORTVERSION}
DISTNAME= ${PORTNAME}_${BITS}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Optimizing Oberon-2 compiler of University of Kaiserslautern, Germany
WWW= https://ooc.sourceforge.net/OOCref/OOCref_16.html
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= xsltproc:textproc/libxslt
RUN_DEPENDS= libtool:devel/libtool
LIB_DEPENDS= libgc.so:devel/boehm-gc
DOCSDIR= lib/${PORTNAME}
USES= gmake libtool:build localbase:ldflags tar:bzip2
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
USE_LDCONFIG= yes
USE_CSTD= gnu89
USE_GCC= yes
OPTIONS_DEFINE= DOCS THREADS
OPTIONS_SUB= yes
THREADS_DESC= Build thread support
THREADS_CONFIGURE_ON= --enable-threads=pthreads
post-patch:
@${REINPLACE_CMD} 's/dir=@/dir=$${DESTDIR}@/' \
${WRKSRC}/Makefile.config.in
@${REINPLACE_CMD} -e 's|@PERL@|${LOCALBASE}/bin/perl|' \
${WRKSRC}/rsrc/OOC/oobacktrace.in
.include <bsd.port.pre.mk>
.if ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == powerpc
BITS= 32
.else
BITS= 64
.endif
.include <bsd.port.post.mk>