# $OpenBSD: Makefile,v 1.9 2006/06/05 18:30:20 alek Exp $ SHARED_ONLY= Yes COMMENT= "fast, powerful, and language-neutral HTML template system" DISTNAME= clearsilver-0.10.3 PKGNAME= ${DISTNAME}p0 CATEGORIES= www net HOMEPAGE= http://www.clearsilver.net/ MAINTAINER= Markus Friedl # Apache 1 PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= c z MASTER_SITES= ${HOMEPAGE}/downloads/ USE_GMAKE= Yes CONFIGURE_STYLE=gnu CONFIGURE_ARGS= --disable-csharp \ --disable-java \ --disable-ruby FLAVORS+= python FLAVOR?= .if ${FLAVOR:L:Mpython} MODULES= lang/python CONFIGURE_ARGS+= --with-python=${MODPY_BIN} .else CONFIGURE_ARGS+= --disable-python .endif pre-configure: @perl -pi -e 's|%%WRKSRC%%|${WRKSRC}|g' ${WRKSRC}/python/setup.py do-regress: @cd ${WRKSRC}/perl && ${MAKE_PROGRAM} test .include