2006-05-15 13:08:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2006/05/15 17:08:43 fkr Exp $
|
2005-05-25 21:33:38 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
|
|
|
COMMENT= "fast, powerful, and language-neutral HTML template system"
|
|
|
|
|
2006-05-15 13:08:43 -04:00
|
|
|
DISTNAME= clearsilver-0.10.3
|
2005-05-25 21:33:38 -04:00
|
|
|
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 z
|
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/downloads/
|
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ARGS= --disable-csharp \
|
|
|
|
--disable-java \
|
|
|
|
--disable-ruby
|
|
|
|
|
2005-07-23 13:08:13 -04:00
|
|
|
FLAVORS+= python
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mpython}
|
2005-10-10 23:59:24 -04:00
|
|
|
MODPY_VERSION?= 2.3
|
|
|
|
CONFIGURE_ARGS+= --with-python=${LOCALBASE}/bin/python${MODPY_VERSION}
|
|
|
|
BUILD_DEPENDS+= :python-${MODPY_VERSION}*:lang/python/${MODPY_VERSION}
|
|
|
|
RUN_DEPENDS+= :python-${MODPY_VERSION}*:lang/python/${MODPY_VERSION}
|
|
|
|
SUBST_VARS= MODPY_VERSION
|
2005-07-23 13:08:13 -04:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-python
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@perl -pi -e 's|%%WRKSRC%%|${WRKSRC}|g' ${WRKSRC}/python/setup.py
|
|
|
|
|
2005-05-25 21:33:38 -04:00
|
|
|
do-regress:
|
|
|
|
@cd ${WRKSRC}/perl && ${MAKE_PROGRAM} test
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|