26 lines
775 B
Makefile
26 lines
775 B
Makefile
# $NetBSD: Makefile,v 1.6 2013/03/02 20:33:34 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"
|
|
|
|
# url2pkg-marker (please do not remove this line.)
|
|
.include "../../mk/bsd.pkg.mk"
|