pkgsrc/textproc/CRF++/Makefile
2013-06-09 07:02:14 +00:00

29 lines
738 B
Makefile

# $NetBSD: Makefile,v 1.2 2013/06/09 07:02:14 obache Exp $
#
DISTNAME= CRF++-0.58
CATEGORIES= textproc
MASTER_SITES= http://crfpp.googlecode.com/files/
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://code.google.com/p/crfpp
COMMENT= Yet Another CRF toolkit
LICENSE= gnu-lgpl-v2.1 OR 2-clause-bsd
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
USE_TOOLS+= gmake
.endif
PTHREAD_AUTO_VARS= yes
SUBST_CLASSES+= pthread_flags
SUBST_STAGE.pthread_flags= pre-configure
SUBST_FILES.pthread_flags= configure
SUBST_SED.pthread_flags= -e 's/-lpthread/'${PTHRAD_LIBS:M*:Q}' '${PTHREAD_LDFLAGS:M*:Q}'/'
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"