mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
37 lines
789 B
Makefile
37 lines
789 B
Makefile
# icu4c namespace problem when mixing gcc 4.2 and a c++11 compiler:
|
|
# undefined reference to `_ZN6icu_5713UnicodeStringC1EOS0_'
|
|
ONLY_FOR_ARCHS= ${CLANG_ARCHS}
|
|
|
|
COMMENT = constraint grammar formalism variant
|
|
|
|
V = 1.5.1
|
|
DISTNAME = cg3-$V
|
|
PKGNAME = vislcg3-$V
|
|
REVISION = 0
|
|
|
|
SHARED_LIBS = cg3 2.0 # 0.0
|
|
|
|
CATEGORIES = textproc
|
|
|
|
HOMEPAGE = https://edu.visl.dk/cg3/chunked/
|
|
|
|
# GPLv3+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
# uses pledge()
|
|
WANTLIB += ${COMPILER_LIBCXX}
|
|
WANTLIB += c icudata icui18n icuio icuuc m sqlite3
|
|
|
|
SITES = https://github.com/GrammarSoft/cg3/releases/download/v$V/
|
|
|
|
EXTRACT_SUFX = .tar.bz2
|
|
|
|
MODULES = devel/cmake
|
|
|
|
COMPILER = base-clang ports-clang
|
|
BUILD_DEPENDS = devel/boost
|
|
LIB_DEPENDS = databases/sqlite3 \
|
|
textproc/icu4c
|
|
|
|
.include <bsd.port.mk>
|