Edit

IABSD.fr/ports/inputmethods/tomoe/Makefile

Branch :

  • Show log

    Commit

  • Author : naddy
    Date : 2016-03-27 15:31:23
    Hash : 9da56640
    Message : g/c PFRAG.shared

  • inputmethods/tomoe/Makefile
  • # $OpenBSD: Makefile,v 1.10 2016/03/27 15:31:24 naddy Exp $
    
    COMMENT=	japanese handwriting recognition library
    
    DISTNAME=	tomoe-0.6.0
    REVISION=	1
    
    HOMEPAGE= 	http://tomoe.sourceforge.jp/
    MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=tomoe/}
    
    CATEGORIES=	inputmethods japanese
    
    SHARED_LIBS +=  tomoe                1.0      # 1.0
    
    # LGPLv2.1
    PERMIT_PACKAGE_CDROM=	Yes
    
    WANTLIB += ffi glib-2.0 gmodule-2.0 gobject-2.0 pcre pthread
    
    MODULES=	devel/gettext \
    		textproc/intltool
    
    BUILD_DEPENDS=	textproc/gsed
    
    LIB_DEPENDS=	devel/glib2
    
    CONFIGURE_STYLE=gnu
    CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
    		LDFLAGS="-L${LOCALBASE}/lib" \
    		ac_cv_path_MYSQL_CONFIG="mysql_config-not-found" \
    		ac_cv_path_UNZIP="unzip-not-found"
    
    CONFIGURE_ARGS=	--without-python \
    		--without-ruby \
    		--with-svn-lib=/dev/null \
    		--with-svn-include=/dev/null \
    		--disable-unihan
    
    FAKE_FLAGS=	sysconfdir=${PREFIX}/share/examples/
    
    post-install:
    	rm ${PREFIX}/lib/tomoe/module/dict/*.{a,la}
    	rm ${PREFIX}/lib/tomoe/module/recognizer/*.{a,la}
    
    .include <bsd.port.mk>