23 lines
721 B
Makefile
23 lines
721 B
Makefile
# $NetBSD: Makefile,v 1.7 2016/09/20 12:59:25 wiz Exp $
|
|
|
|
.include "../../www/phraseanet/Makefile.common"
|
|
PKGNAME= phraseanet-indexer-${VERS}
|
|
PKGREVISION= 3
|
|
|
|
EXTRACT_ELEMENTS= ${DISTNAME}/bin/src/phraseanet_indexer
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/bin/src/phraseanet_indexer
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= aclocal autoconf automake
|
|
GNU_CONFIGURE= yes
|
|
CFLAGS+= -I${BUILDLINK_PREFIX.libxml2}/include/libxml2
|
|
LIBS.SunOS+= -lrt -lsocket
|
|
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && aclocal && automake -a && autoconf
|
|
|
|
.include "../../mk/mysql.buildlink3.mk"
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
.include "../../textproc/expat/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|