Edit

IABSD.fr/ports/textproc/vislcg3/Makefile

Branch :

  • Show log

    Commit

  • Author : bentley
    Date : 2024-04-15 14:59:46
    Hash : 4e56c24f
    Message : Update to apertium-3.8.3. Update several other apertium-related ports. This is a complex web of interdependencies, so it's better to update these all at once. Also, there are newer versions of many of these ports, but what's here builds and runs, so I am committing it as-is. Two additional languages are marked broken, but are likely fixed easily with further updates and/or backports.

  • textproc/vislcg3/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.4.6
    DISTNAME =		cg3-$V
    PKGNAME =		vislcg3-$V
    
    SHARED_LIBS =		cg3                       2.0 # 0.0
    
    CATEGORIES =		textproc
    
    HOMEPAGE =		https://edu.visl.dk/cg3/chunked/
    
    # GPLv3+
    PERMIT_PACKAGE =		Yes
    
    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>