head	1.20;
access;
symbols
	RELEASE_8_3_0:1.19
	RELEASE_9_0_0:1.18
	RELEASE_7_4_0:1.18
	RELEASE_8_2_0:1.18
	RELEASE_6_EOL:1.18
	RELEASE_8_1_0:1.18
	RELEASE_7_3_0:1.18
	RELEASE_8_0_0:1.18
	RELEASE_7_2_0:1.18
	RELEASE_7_1_0:1.18
	RELEASE_6_4_0:1.18
	RELEASE_5_EOL:1.18
	RELEASE_7_0_0:1.18
	RELEASE_6_3_0:1.18
	PRE_XORG_7:1.17
	RELEASE_4_EOL:1.17
	RELEASE_6_2_0:1.14
	RELEASE_6_1_0:1.11
	RELEASE_5_5_0:1.11
	RELEASE_6_0_0:1.8
	RELEASE_5_4_0:1.7
	RELEASE_4_11_0:1.6
	RELEASE_5_3_0:1.3
	RELEASE_4_10_0:1.1;
locks; strict;
comment	@# @;


1.20
date	2012.11.17.06.02.30;	author svnexp;	state Exp;
branches;
next	1.19;

1.19
date	2011.12.15.06.18.10;	author clsung;	state Exp;
branches;
next	1.18;

1.18
date	2007.07.17.23.57.53;	author clsung;	state Exp;
branches;
next	1.17;

1.17
date	2006.12.29.07.42.09;	author clsung;	state Exp;
branches;
next	1.16;

1.16
date	2006.12.21.02.16.15;	author clsung;	state Exp;
branches;
next	1.15;

1.15
date	2006.11.06.03.30.17;	author clsung;	state Exp;
branches;
next	1.14;

1.14
date	2006.09.17.20.05.00;	author kris;	state Exp;
branches;
next	1.13;

1.13
date	2006.04.03.20.53.08;	author pav;	state Exp;
branches;
next	1.12;

1.12
date	2006.04.01.15.28.45;	author pav;	state Exp;
branches;
next	1.11;

1.11
date	2006.01.23.17.10.32;	author erwin;	state Exp;
branches;
next	1.10;

1.10
date	2005.11.04.12.13.43;	author garga;	state Exp;
branches;
next	1.9;

1.9
date	2005.08.31.03.20.20;	author kris;	state Exp;
branches;
next	1.8;

1.8
date	2005.07.31.12.30.10;	author sem;	state Exp;
branches;
next	1.7;

1.7
date	2005.03.26.21.37.52;	author kris;	state Exp;
branches;
next	1.6;

1.6
date	2005.01.02.16.47.02;	author thierry;	state Exp;
branches;
next	1.5;

1.5
date	2004.12.28.17.49.15;	author thierry;	state Exp;
branches;
next	1.4;

1.4
date	2004.11.18.21.58.42;	author kris;	state Exp;
branches;
next	1.3;

1.3
date	2004.07.13.07.41.30;	author pav;	state Exp;
branches;
next	1.2;

1.2
date	2004.05.30.06.52.59;	author kris;	state Exp;
branches;
next	1.1;

1.1
date	2004.04.20.12.43.35;	author pav;	state Exp;
branches;
next	;


desc
@@


1.20
log
@Switch exporter over
@
text
@# New ports collection makefile for: ClearSilver
# Date created:                      17 April 2004
# Whom:                              thinker <thinker@@branda.to>
# Whom:                              Rui Lopes <rui@@ruilopes.com>
#
# $FreeBSD: head/www/clearsilver/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	clearsilver
PORTVERSION=	0.10.5
CATEGORIES=	www
MASTER_SITES=	http://www.clearsilver.net/downloads/

MAINTAINER=	clsung@@FreeBSD.org
COMMENT=	A fast, powerful, and language-neutral template system

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
MANCOMPRESSED=	no

CONFIGURE_ARGS=	--disable-apache --disable-perl --disable-ruby \
		--disable-java --disable-csharp

.if defined(WITH_PYTHON)
CONFIGURE_ARGS+=	--with-python=${PYTHON_CMD}
USE_PYTHON=	yes
PLIST_SUB+=	PYTHON=""
PKGNAMESUFFIX=	-python
.else
CONFIGURE_ARGS+=	--disable-python
PLIST_SUB+=	PYTHON="@@comment "
.endif

MAN3=	cBroadcast.3 cCreate.3 cDestroy.3 cSignal.3 cWait.3 \
	cgi_cookie_authority.3 cgi_cookie_clear.3 cgi_cookie_set.3 \
	cgi_cs_init.3 cgi_debug_init.3 cgi_destroy.3 cgi_display.3 cgi_error.3 \
	cgi_filehandle.3 cgi_init.3 cgi_neo_error.3 cgi_output.3 cgi_parse.3 \
	cgi_redirect.3 cgi_redirect_uri.3 cgi_register_parse_cb.3 \
	cgi_url_escape.3 cgi_url_escape_more.3 cgi_url_unescape.3 \
	cgi_url_validate.3 \
	cgi_vredirect.3 cgiwrap_getenv.3 cgiwrap_init_emu.3 cgiwrap_init_std.3 \
	cgiwrap_iterenv.3 cgiwrap_putenv.3 cgiwrap_read.3 cgiwrap_write.3 \
	cgiwrap_writef.3 cgiwrap_writevf.3 cs_destroy.3 cs_dump.3 cs_init.3 \
	cs_parse_file.3 cs_parse_string.3 cs_register_esc_strfunc.3 \
	cs_register_fileload.3 cs_register_strfunc.3 cs_render.3 \
	dictCleanup.3 dictCreate.3 dictDestroy.3 dictModifyValue.3 dictNext.3 \
	dictReleaseLock.3 dictRemove.3 dictSearch.3 dictSetValue.3 fCreate.3 \
	fDestroy.3 fFind.3 fLock.3 fUnlock.3 filter_create_fd.3 \
	filter_create_fp.3 filter_wait.3 hdf_copy.3 hdf_destroy.3 hdf_dump.3 \
	hdf_dump_format.3 hdf_dump_str.3 hdf_get_attr.3 hdf_get_child.3 \
	hdf_get_copy.3 hdf_get_int_value.3 hdf_get_node.3 hdf_get_obj.3 \
	hdf_get_value.3 hdf_get_valuef.3 hdf_get_valuevf.3 hdf_init.3 \
	hdf_obj_attr.3 hdf_obj_child.3 hdf_obj_name.3 hdf_obj_next.3 \
	hdf_obj_top.3 hdf_obj_value.3 hdf_read_string.3 \
	hdf_read_string_ignore.3 hdf_register_fileload.3 hdf_remove_tree.3 \
	hdf_search_path.3 hdf_set_attr.3 hdf_set_buf.3 hdf_set_copy.3 \
	hdf_set_int_value.3 hdf_set_symlink.3 hdf_set_value.3 \
	hdf_set_valuef.3 hdf_sort_obj.3 hdf_write_file.3 \
	hdf_write_file_atomic.3 hdf_write_string.3 mCreate.3 \
	mDestroy.3 mLock.3 mUnlock.3 nerr_ignore.3 nerr_error_string.3 \
	nerr_error_traceback.3 nerr_handle.3 nerr_init.3 nerr_log_error.3 \
	nerr_match.3 nerr_pass.3 nerr_pass_ctx.3 nerr_register.3 \
	skipDelete.3 skipFreeList.3 skipInsert.3 skipNewList.3 skipNext.3 \
	skipRelease.3 skipSearch.3 wdb_keys.3

post-patch:
	@@# Remove CFLAGS when building the python module, pydistfile is used
	@@# and will do the right thing.
	@@${REINPLACE_CMD} -E 's,(\$$\(PYTHON\)),CFLAGS="" \1,g' ${WRKSRC}/python/Makefile
	@@# insert -fPIC into CFLAGS to fix non-i386 builds
	@@${REINPLACE_CMD} -e 's|= @@CFLAGS@@|= @@CFLAGS@@ -fPIC|g' ${WRKSRC}/rules.mk.in
	@@# don't hardcode gcc for make depend
	@@${REINPLACE_CMD} -e '/Makefile.depends:/,/^$$/s/gcc/$$(CC)/' ${WRKSRC}/rules.mk.in
	@@# Set PYTHON_SITE
	@@${REINPLACE_CMD} -E 's|(PYTHON=\$$.*)|\1;PYTHON_SITE="${PYTHONPREFIX_SITELIBDIR}"|g' ${WRKSRC}/configure
	@@# Create the features.h files that are needed to build
	@@${ECHO_CMD} "/* Dummy file */" > ${WRKSRC}/features.h
	@@${ECHO_CMD} "/* Dummy file */" > ${WRKSRC}/cgi/features.h

.include <bsd.port.mk>
@


1.19
log
@- respect CC

PR:		ports/163230
Submitted by:	Jan Beich <jbeich_AT_tormail.net>
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.18
log
@- Update to 0.10.5
- remove 4.x supports
@
text
@d72 2
@


1.17
log
@- Request update to 0.10.4

PR:		ports/107295
Submitted by:	Greg Larkin <glarkin_AT_sourcehosting dot net>
@
text
@d10 1
a10 1
PORTVERSION=	0.10.4
d40 1
d62 1
a62 1
	nerr_match.3 nerr_pass.3 nerr_pass_ctx.3 nerr_raise.3 nerr_register.3 \
a65 9
.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500000
PATCHDIR=	dont-patch
PLIST_SUB+=	PTHREAD=""
.else
PLIST_SUB+=	PTHREAD="@@comment "
.endif

d78 1
a78 1
.include <bsd.port.post.mk>
@


1.16
log
@- unbreak on 4.x
- www/clearsilver was marked BROKEN on FreeBSD 4.X because of a
  missing pthread library. However, pthread.h exists on 4.X, and
  that causes the configure script to get confused. Clearsilver
  can be built successfully on 4.X as long as the proper HAVE_PTHREAD
  value is set.

PR:		ports/106744
Submitted by:	Greg Larkin <glarkin_AT_sourcehosting dot net>
@
text
@d10 1
a10 1
PORTVERSION=	0.10.3
d43 2
a44 1
	cs_parse_file.3 cs_parse_string.3 cs_register_strfunc.3 cs_render.3 \
d54 5
a58 4
	hdf_read_string_ignore.3 hdf_remove_tree.3 hdf_search_path.3 \
	hdf_set_attr.3 hdf_set_buf.3 hdf_set_copy.3 hdf_set_int_value.3 \
	hdf_set_symlink.3 hdf_set_value.3 hdf_set_valuef.3 hdf_sort_obj.3 \
	hdf_write_file.3 hdf_write_file_atomic.3 hdf_write_string.3 mCreate.3 \
d82 3
@


1.15
log
@- I'll maintain these two ports from now on.
- Thanks to Rui Lopes, who contributed lots to these ports.

PR:		ports/105102
Submitted by:	Rui Lopes <rui_AT_ruilopes dot com>
@
text
@d65 5
a69 2
.if ${OSVERSION} < 500000
BROKEN=		Does not compile
@


1.14
log
@Now builds on sparc64
@
text
@d14 1
a14 1
MAINTAINER=	rui@@ruilopes.com
@


1.13
log
@- Mark broken on 4.X

Reported by:	krismail
@
text
@a64 4
.if ${ARCH} == "sparc64"
BROKEN=		Does not compile completely on sparc64
.endif

@


1.12
log
@- Update to 0.10.3

PR:		ports/95172
Submitted by:	Rui Lopes <rgl@@ruilopes.com> (maintainer)
@
text
@d69 4
@


1.11
log
@Update to 0.10.2

PR:		92207
Submitted by:	Rui Lopes <rui@@ruilopes.com> (maintainer)
@
text
@d10 1
a10 1
PORTVERSION=	0.10.2
d66 1
a66 1
BROKEN=		"Does not compile completely on sparc64"
@


1.10
log
@- Pass maintainership to rui@@ruilopes.com

Approved by:	maintainer
@
text
@d10 1
a10 1
PORTVERSION=	0.9.14
d12 1
a12 2
MASTER_SITES=	http://www.clearsilver.net/downloads/ \
		http://depot.fsck.ch/mirror/distfiles/
a18 1
USE_REINPLACE=	yes
d75 2
a76 3
	@@# Avoid rebuilding man pages
	@@${REINPLACE_CMD} -e 's,all man,all,g' ${WRKSRC}/Makefile
	@@${REINPLACE_CMD} -e 's|`$$python_bin -c "import site; print site.sitedirs\[0\]"`|"${PYTHON_SITELIBDIR}"|' ${WRKSRC}/configure
@


1.9
log
@BROKEN on sparc64: Does not compile completely
@
text
@d15 1
a15 1
MAINTAINER=	ports@@fsck.ch
@


1.8
log
@- Update to 0.9.14
- Fix build on !i386
- Pass maintainership to Tobias Roth <ports@@fsck.ch>

PR:		ports/82825
Submitted by:	Vivek Khera <vivek@@khera.org>
		Tobias Roth <ports@@fsck.ch>
Approved by:	maintainer timeout (1 month)
@
text
@d67 4
@


1.7
log
@BROKEN on !i386: Does not compile

Approved by:    portmgr (self)
@
text
@d10 1
a10 2
PORTVERSION=	0.9.13
PORTREVISION=	1
d12 2
a13 1
MASTER_SITES=	http://www.clearsilver.net/downloads/
d15 1
a15 1
MAINTAINER=	thinker@@branda.to
a66 8
.if ${ARCH} != "i386"
BROKEN=		"Does not compile on !i386"
.endif

.if ${ARCH} == "amd64"
BROKEN=		"Does not compile on amd64 (missing -fPIC from shared libraries)"
.endif

d71 3
a73 1
	@@# Avoid rebuiling man pages
@


1.6
log
@Fix plist (add missing man pages).

Reported by:	Kris via pointyhat
Approved by:	portmgr (krion).
@
text
@d67 4
a74 4
.if ${ARCH} == "ia64"
BROKEN=		"Does not compile on ia64"
.endif

@


1.5
log
@Upgrade to 0.9.13.

PR:		ports/72288
Submitted by:	Piet Delport
Approved by:	maintainer time-out (20 days).
@
text
@d11 1
d59 5
a63 4
	mDestroy.3 mLock.3 mUnlock.3 nerr_ignore.3 nerr_log_error.3 \
	nerr_pass.3 nerr_pass_ctx.3 nerr_raise.3 skipDelete.3 skipFreeList.3 \
	skipInsert.3 skipNewList.3 skipNext.3 skipRelease.3 skipSearch.3 \
	wdb_keys.3
@


1.4
log
@BROKEN on ia64: Does not compile
@
text
@d10 1
a10 1
PORTVERSION=	0.9.7
a73 2
	@@# Exclude lemon.c, it gives some errors and its not used at all.
	@@${MV} ${WRKSRC}/cs/lemon.c ${WRKSRC}/cs/lemon.c.not_used
@


1.3
log
@- Patch out $ python - print site.sitedirs invocation. According to perky:
  "sys.sitedirs is not for external reference, it's even hidden and not
  available in Python 2.4" and replace it with ${PYTHON_SITELIBDIR}.
  This fixes installation of python module, which would otherwise always
  end up in /usr/X11R6/lib/python2.3/site-packages.
@
text
@d69 4
@


1.2
log
@BROKEN on amd64: Does not compile (missing -fPIC from shared libraries)
@
text
@d77 1
@


1.1
log
@Add clearsilver, a fast, powerful, and language-neutral HTML template system.
In both static content sites and dynamic HTML applications, it provides
a separation between presentation code and application logic which makes
working with your project easier.

Add clearsilver-python, a slave port that enabled python extension in clearsilver.

WWW: http://www.clearsilver.net/

PR:		ports/65652, ports/65653
Submitted by:	thinker <thinker@@branda.to> (original submission)
		Rui Lopes (fixes)
@
text
@d63 6
d78 1
a78 1
.include <bsd.port.mk>
@

