View | Details | Raw Unified | Return to bug 65653
Collapse All | Expand All

(-)py-clearsilver/Makefile (-15 / +53 lines)
Lines 1-30 Link Here
1
# New ports collection makefile for:   WiLiKi
1
# New ports collection makefile for: ClearSilver
2
# Date created:                22 August 2003
2
# Date created:                      17 April 2004
3
# Whom:                        Kimura Fuyuki <fuyuki@nigredo.org>
3
# Whom:                              KueiFeng Li <thinker@branda.to>
4
# Whom:                              Rui Lopes <rui@ruilopes.com>
4
#
5
#
5
# $FreeBSD: ports/www/wiliki/Makefile,v 1.7 2004/02/13 15:33:09 dannyboy Exp $
6
# $FreeBSD$
6
#
7
#
7
8
8
PORTNAME=	clearsilver
9
PORTNAME=	clearsilver
9
PORTVERSION=	0.9.7
10
PORTVERSION=	0.9.7
10
CATEGORIES+=	www
11
CATEGORIES=	www python
11
MASTER_SITES=	http://www.clearsilver.net/downloads/
12
MASTER_SITES=	http://www.clearsilver.net/downloads/
12
PKGNAMESUFFIX=	-py
13
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
13
14
14
MAINTAINER?=	thinker@branda.to
15
MAINTAINER=	thinker@branda.to
15
COMMENT?=	A fast, powerful, and language-neutral template system
16
COMMENT=	A fast, powerful, and language-neutral template system
16
17
17
HAS_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
18
USE_GMAKE=	yes
19
USE_GMAKE=	yes
19
USE_PYTHON=	yes
20
USE_PYTHON=	yes
21
USE_REINPLACE=	yes
22
MANCOMPRESSED=	no
20
23
21
CONFLICTS=	clearsilver-0.*
24
CONFLICTS=	clearsilver-0.*
22
25
23
CONFIGURE_ARGS+=	\
26
CONFIGURE_ARGS=	--disable-apache --disable-perl --disable-ruby \
24
		--disable-apache \
27
		--disable-java --disable-csharp --with-python=${PYTHON_CMD}
25
		--disable-perl \
28
26
		--disable-ruby \
29
MAN3=	cBroadcast.3 cCreate.3 cDestroy.3 cSignal.3 cWait.3 \
27
		--disable-java \
30
	cgi_cookie_authority.3 cgi_cookie_clear.3 cgi_cookie_set.3 \
28
		--disable-csharp
31
	cgi_cs_init.3 cgi_debug_init.3 cgi_destroy.3 cgi_display.3 cgi_error.3 \
32
	cgi_filehandle.3 cgi_init.3 cgi_neo_error.3 cgi_output.3 cgi_parse.3 \
33
	cgi_redirect.3 cgi_redirect_uri.3 cgi_register_parse_cb.3 \
34
	cgi_url_escape.3 cgi_url_escape_more.3 cgi_url_unescape.3 \
35
	cgi_vredirect.3 cgiwrap_getenv.3 cgiwrap_init_emu.3 cgiwrap_init_std.3 \
36
	cgiwrap_iterenv.3 cgiwrap_putenv.3 cgiwrap_read.3 cgiwrap_write.3 \
37
	cgiwrap_writef.3 cgiwrap_writevf.3 cs_destroy.3 cs_dump.3 cs_init.3 \
38
	cs_parse_file.3 cs_parse_string.3 cs_register_strfunc.3 cs_render.3 \
39
	dictCleanup.3 dictCreate.3 dictDestroy.3 dictModifyValue.3 dictNext.3 \
40
	dictReleaseLock.3 dictRemove.3 dictSearch.3 dictSetValue.3 fCreate.3 \
41
	fDestroy.3 fFind.3 fLock.3 fUnlock.3 filter_create_fd.3 \
42
	filter_create_fp.3 filter_wait.3 hdf_copy.3 hdf_destroy.3 hdf_dump.3 \
43
	hdf_dump_format.3 hdf_dump_str.3 hdf_get_attr.3 hdf_get_child.3 \
44
	hdf_get_copy.3 hdf_get_int_value.3 hdf_get_node.3 hdf_get_obj.3 \
45
	hdf_get_value.3 hdf_get_valuef.3 hdf_get_valuevf.3 hdf_init.3 \
46
	hdf_obj_attr.3 hdf_obj_child.3 hdf_obj_name.3 hdf_obj_next.3 \
47
	hdf_obj_top.3 hdf_obj_value.3 hdf_read_string.3 \
48
	hdf_read_string_ignore.3 hdf_remove_tree.3 hdf_search_path.3 \
49
	hdf_set_attr.3 hdf_set_buf.3 hdf_set_copy.3 hdf_set_int_value.3 \
50
	hdf_set_symlink.3 hdf_set_value.3 hdf_set_valuef.3 hdf_sort_obj.3 \
51
	hdf_write_file.3 hdf_write_file_atomic.3 hdf_write_string.3 mCreate.3 \
52
	mDestroy.3 mLock.3 mUnlock.3 nerr_ignore.3 nerr_log_error.3 \
53
	nerr_pass.3 nerr_pass_ctx.3 nerr_raise.3 skipDelete.3 skipFreeList.3 \
54
	skipInsert.3 skipNewList.3 skipNext.3 skipRelease.3 skipSearch.3 \
55
	wdb_keys.3
56
 
57
post-patch:
58
	@# Exclude lemon.c, it gives some errors and its not used at all.
59
	@${MV} ${WRKSRC}/cs/lemon.c ${WRKSRC}/cs/lemon.c.not_used
60
	@# Remove CFLAGS when building the python module, pydistfile is used
61
	@# and will do the right thing.
62
	@${REINPLACE_CMD} -E 's,(\$$\(PYTHON\)),CFLAGS="" \1,g' ${WRKSRC}/python/Makefile
63
64
# This target is only meant to be used by the port maintainer.
65
x-generate-plist:
66
	(/usr/ports/Tools/scripts/plist -d -m /etc/mtree/BSD.local.dist ${PREFIX}|sed -E 's,.*share/nls/.+$$,,g;s,.*man/.*,,g'|tr -s '\n';echo %%PYTHON_SITELIBDIR%%/neo_cgi.so) > temp-pkg-plist
29
67
30
.include <bsd.port.mk>
68
.include <bsd.port.mk>
(-)py-clearsilver/distinfo (+1 lines)
Line 1 Link Here
1
MD5 (clearsilver-0.9.7.tar.gz) = a83844356c92b0ce060c5ba08e55c401
1
MD5 (clearsilver-0.9.7.tar.gz) = a83844356c92b0ce060c5ba08e55c401
2
SIZE (clearsilver-0.9.7.tar.gz) = 377694
(-)py-clearsilver/pkg-descr (-5 / +7 lines)
Lines 1-13 Link Here
1
ClearSilver is a fast, powerful, and language-neutral template system. It is
1
ClearSilver is a fast, powerful, and language-neutral template system.  It is
2
designed to make it easy to create template driven static or dynamic
2
designed to make it easy to create template driven static or dynamic
3
websites.
3
websites.
4
4
5
ClearSilver is first and foremost designed to be extremely fast. It is coded
5
ClearSilver is first and foremost designed to be extremely fast.  It is coded
6
completely in C and exported to your script language of choice (i.e. Python,
6
completely in C and exported to your script language of choice (i.e. Python,
7
Perl). As a result, it is notably faster than template systems written in a
7
Perl).  As a result, it is notably faster than template systems written in a
8
script language. However, its design has additional benefits. It is also one
8
script language.  However, its design has additional benefits.  It is also one
9
of the only template systems available which allows you to easily
9
of the only template systems available which allows you to easily
10
mix-and-match multiple programming languages with the same templates, even
10
mix-and-match multiple programming languages with the same templates, even
11
on the same page. This allows you to optimize your website by writing
11
on the same page.  This allows you to optimize your website by writing
12
C-modules to handle speed-sensitive sections, while leaving the majority of
12
C-modules to handle speed-sensitive sections, while leaving the majority of
13
your site in easy to write script code.
13
your site in easy to write script code.
14
15
WWW: http://www.clearsilver.net/
(-)py-clearsilver/pkg-plist (-131 / +20 lines)
Lines 1-145 Link Here
1
man/man3/cBroadcast.3
1
bin/cstest
2
man/man3/cCreate.3
2
bin/static.cgi
3
man/man3/cDestroy.3
4
man/man3/cSignal.3
5
man/man3/cWait.3
6
man/man3/cgi_cookie_authority.3
7
man/man3/cgi_cookie_clear.3
8
man/man3/cgi_cookie_set.3
9
man/man3/cgi_cs_init.3
10
man/man3/cgi_debug_init.3
11
man/man3/cgi_destroy.3
12
man/man3/cgi_display.3
13
man/man3/cgi_error.3
14
man/man3/cgi_filehandle.3
15
man/man3/cgi_init.3
16
man/man3/cgi_neo_error.3
17
man/man3/cgi_output.3
18
man/man3/cgi_parse.3
19
man/man3/cgi_redirect.3
20
man/man3/cgi_redirect_uri.3
21
man/man3/cgi_register_parse_cb.3
22
man/man3/cgi_url_escape.3
23
man/man3/cgi_url_escape_more.3
24
man/man3/cgi_url_unescape.3
25
man/man3/cgi_vredirect.3
26
man/man3/cgiwrap_getenv.3
27
man/man3/cgiwrap_init_emu.3
28
man/man3/cgiwrap_init_std.3
29
man/man3/cgiwrap_iterenv.3
30
man/man3/cgiwrap_putenv.3
31
man/man3/cgiwrap_read.3
32
man/man3/cgiwrap_write.3
33
man/man3/cgiwrap_writef.3
34
man/man3/cgiwrap_writevf.3
35
man/man3/cs_destroy.3
36
man/man3/cs_dump.3
37
man/man3/cs_init.3
38
man/man3/cs_parse_file.3
39
man/man3/cs_parse_string.3
40
man/man3/cs_register_strfunc.3
41
man/man3/cs_render.3
42
man/man3/dictCleanup.3
43
man/man3/dictCreate.3
44
man/man3/dictDestroy.3
45
man/man3/dictModifyValue.3
46
man/man3/dictNext.3
47
man/man3/dictReleaseLock.3
48
man/man3/dictRemove.3
49
man/man3/dictSearch.3
50
man/man3/dictSetValue.3
51
man/man3/fCreate.3
52
man/man3/fDestroy.3
53
man/man3/fFind.3
54
man/man3/fLock.3
55
man/man3/fUnlock.3
56
man/man3/filter_create_fd.3
57
man/man3/filter_create_fp.3
58
man/man3/filter_wait.3
59
man/man3/hdf_copy.3
60
man/man3/hdf_destroy.3
61
man/man3/hdf_dump.3
62
man/man3/hdf_dump_format.3
63
man/man3/hdf_dump_str.3
64
man/man3/hdf_get_attr.3
65
man/man3/hdf_get_child.3
66
man/man3/hdf_get_copy.3
67
man/man3/hdf_get_int_value.3
68
man/man3/hdf_get_node.3
69
man/man3/hdf_get_obj.3
70
man/man3/hdf_get_value.3
71
man/man3/hdf_get_valuef.3
72
man/man3/hdf_get_valuevf.3
73
man/man3/hdf_init.3
74
man/man3/hdf_obj_attr.3
75
man/man3/hdf_obj_child.3
76
man/man3/hdf_obj_name.3
77
man/man3/hdf_obj_next.3
78
man/man3/hdf_obj_top.3
79
man/man3/hdf_obj_value.3
80
man/man3/hdf_read_string.3
81
man/man3/hdf_read_string_ignore.3
82
man/man3/hdf_remove_tree.3
83
man/man3/hdf_search_path.3
84
man/man3/hdf_set_attr.3
85
man/man3/hdf_set_buf.3
86
man/man3/hdf_set_copy.3
87
man/man3/hdf_set_int_value.3
88
man/man3/hdf_set_symlink.3
89
man/man3/hdf_set_value.3
90
man/man3/hdf_set_valuef.3
91
man/man3/hdf_sort_obj.3
92
man/man3/hdf_write_file.3
93
man/man3/hdf_write_file_atomic.3
94
man/man3/hdf_write_string.3
95
man/man3/mCreate.3
96
man/man3/mDestroy.3
97
man/man3/mLock.3
98
man/man3/mUnlock.3
99
man/man3/nerr_ignore.3
100
man/man3/nerr_log_error.3
101
man/man3/nerr_pass.3
102
man/man3/nerr_pass_ctx.3
103
man/man3/nerr_raise.3
104
man/man3/skipDelete.3
105
man/man3/skipFreeList.3
106
man/man3/skipInsert.3
107
man/man3/skipNewList.3
108
man/man3/skipNext.3
109
man/man3/skipRelease.3
110
man/man3/skipSearch.3
111
man/man3/wdb_keys.3
112
include/ClearSilver/ClearSilver.h
3
include/ClearSilver/ClearSilver.h
4
include/ClearSilver/cgi/cgi.h
5
include/ClearSilver/cgi/cgiwrap.h
6
include/ClearSilver/cgi/date.h
7
include/ClearSilver/cgi/html.h
8
include/ClearSilver/cs/cs.h
113
include/ClearSilver/cs_config.h
9
include/ClearSilver/cs_config.h
10
include/ClearSilver/util/dict.h
11
include/ClearSilver/util/filter.h
12
include/ClearSilver/util/neo_date.h
114
include/ClearSilver/util/neo_err.h
13
include/ClearSilver/util/neo_err.h
115
include/ClearSilver/util/neo_files.h
14
include/ClearSilver/util/neo_files.h
15
include/ClearSilver/util/neo_hash.h
16
include/ClearSilver/util/neo_hdf.h
116
include/ClearSilver/util/neo_misc.h
17
include/ClearSilver/util/neo_misc.h
18
include/ClearSilver/util/neo_net.h
117
include/ClearSilver/util/neo_rand.h
19
include/ClearSilver/util/neo_rand.h
118
include/ClearSilver/util/ulist.h
20
include/ClearSilver/util/neo_server.h
119
include/ClearSilver/util/neo_hdf.h
120
include/ClearSilver/util/neo_str.h
21
include/ClearSilver/util/neo_str.h
121
include/ClearSilver/util/neo_date.h
122
include/ClearSilver/util/wildmat.h
123
include/ClearSilver/util/neo_hash.h
124
include/ClearSilver/util/ulocks.h
125
include/ClearSilver/util/rcfs.h
22
include/ClearSilver/util/rcfs.h
126
include/ClearSilver/util/skiplist.h
23
include/ClearSilver/util/skiplist.h
127
include/ClearSilver/util/dict.h
24
include/ClearSilver/util/ulist.h
128
include/ClearSilver/util/filter.h
25
include/ClearSilver/util/ulocks.h
129
include/ClearSilver/util/neo_net.h
26
include/ClearSilver/util/wildmat.h
130
include/ClearSilver/util/neo_server.h
131
lib/libneo_utl.a
132
include/ClearSilver/cgi/cgi.h
133
include/ClearSilver/cgi/cgiwrap.h
134
include/ClearSilver/cgi/date.h
135
include/ClearSilver/cgi/html.h
136
include/ClearSilver/cs/cs.h
137
lib/libneo_cs.a
138
bin/cstest
139
lib/libneo_cgi.a
27
lib/libneo_cgi.a
140
bin/static.cgi
28
lib/libneo_cs.a
29
lib/libneo_utl.a
141
%%PYTHON_SITELIBDIR%%/neo_cgi.so
30
%%PYTHON_SITELIBDIR%%/neo_cgi.so
31
@dirrm include/ClearSilver/util
142
@dirrm include/ClearSilver/cs
32
@dirrm include/ClearSilver/cs
143
@dirrm include/ClearSilver/cgi
33
@dirrm include/ClearSilver/cgi
144
@dirrm include/ClearSilver/util
145
@dirrm include/ClearSilver
34
@dirrm include/ClearSilver

Return to bug 65653