aboutsummaryrefslogtreecommitdiffstats
path: root/lang/oo2c
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2021-02-19 22:25:27 +0800
committerDmitry Marakasov <amdmi3@FreeBSD.org>2021-02-19 22:25:27 +0800
commitf9eda29e91e345aee424f1a263d1c4980c6d6890 (patch)
tree900ad9aeabd8665871f4532851a7a7e4cc526788 /lang/oo2c
parenta705396018516773605e8a73821950b37a027f9e (diff)
downloadfreebsd-ports-gnome-f9eda29e91e345aee424f1a263d1c4980c6d6890.tar.gz
freebsd-ports-gnome-f9eda29e91e345aee424f1a263d1c4980c6d6890.tar.zst
freebsd-ports-gnome-f9eda29e91e345aee424f1a263d1c4980c6d6890.zip
- Fix LICENSE
- Add LICENSE_FILE - Switch to USES=localbase - Fix options statement order and description
Diffstat (limited to 'lang/oo2c')
-rw-r--r--lang/oo2c/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/lang/oo2c/Makefile b/lang/oo2c/Makefile
index c4e8318357fc..ec69ccf7a7a6 100644
--- a/lang/oo2c/Makefile
+++ b/lang/oo2c/Makefile
@@ -11,28 +11,24 @@ DISTNAME= ${PORTNAME}_${BITS}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Optimizing Oberon-2 compiler of University of Kaiserslautern, Germany
-LICENSE= GPLv2
+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 tar:bzip2
+USES= gmake libtool:build localbase:ldflags tar:bzip2
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_CSTD= gnu89
USE_GCC= any
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
-THREADS_DESC= Build thread support (Must have pthread installed)
OPTIONS_DEFINE= DOCS THREADS
-OPTIONS_DEFAULT=DOCS
-
OPTIONS_SUB= yes
+THREADS_DESC= Build thread support
THREADS_CONFIGURE_ON= --enable-threads=pthreads
post-patch: