openbsd-ports/www/clearsilver/Makefile
fkr 6771983b2d update to version 0.10.4
ok markus@ (maintainer)
2007-05-18 09:13:59 +00:00

47 lines
903 B
Makefile

# $OpenBSD: Makefile,v 1.11 2007/05/18 09:13:59 fkr Exp $
SHARED_ONLY= Yes
COMMENT= "fast, powerful, and language-neutral HTML template system"
DISTNAME= clearsilver-0.10.4
CATEGORIES= www net
HOMEPAGE= http://www.clearsilver.net/
MAINTAINER= Markus Friedl <markus@openbsd.org>
# Apache 1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c pthread 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 <bsd.port.mk>