diff options
author | Philippe Audeoud <jadawin@FreeBSD.org> | 2010-07-16 14:18:48 +0000 |
---|---|---|
committer | Philippe Audeoud <jadawin@FreeBSD.org> | 2010-07-16 14:18:48 +0000 |
commit | e13dd393b67380537a424a6782492faaf9465e62 (patch) | |
tree | e24bd394e8e91002a562cbbb3b5174b79aa74ff6 /www/cblog | |
parent | f3fff4b1855fbc41b7e84d6e891e08ab05f284fa (diff) |
simple weblog written in C using markdown to write posts and tinycdb to store
them
WWW: http://github.com/bapt/cblog
PR: ports/148673
Submitted by: Bapt <baptiste.daroussin at gmail.com>
Notes
Notes:
svn path=/head/; revision=257854
Diffstat (limited to 'www/cblog')
-rw-r--r-- | www/cblog/Makefile | 39 | ||||
-rw-r--r-- | www/cblog/distinfo | 3 | ||||
-rw-r--r-- | www/cblog/pkg-descr | 4 |
3 files changed, 46 insertions, 0 deletions
diff --git a/www/cblog/Makefile b/www/cblog/Makefile new file mode 100644 index 000000000000..1193b11f6c03 --- /dev/null +++ b/www/cblog/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: cblog +# Date created: 2010-07-16 +# Whom: Bapt <baptiste.daroussin@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= cblog +PORTVERSION= 0.1.1 +CATEGORIES= www +MASTER_SITES= http://cloud.github.com/downloads/bapt/cblog/ + +MAINTAINER= baptiste.daroussin@gmail.com +COMMENT= Simple weblog in C using markdown + +BUILD_DEPENDS= ${LOCALBASE}/lib/libneo_cs.a:${PORTSDIR}/www/clearsilver \ + ${LOCALBASE}/lib/libcdb.a:${PORTSDIR}/databases/tinycdb +LIB_DEPENDS= fcgi.0:${PORTSDIR}/www/fcgi + +LICENSE= BSD + +PLIST_FILES= libexec/cblog.fcgi \ + bin/cblogctl \ + etc/cblog.conf.sample + +MAN1= cblog.fcgi.1 + +post-patch: + @${REINPLACE_CMD} "s#^INCLUDES=.*#INCLUDES=-I${LOCALBASE}/include#g" ${WRKSRC}/config.mk + @${REINPLACE_CMD} "s#^LIBDIR=.*#LIBDIR=-L${LOCALBASE}/lib#g" ${WRKSRC}/config.mk + @${REINPLACE_CMD} "s#^CSINCLUDES=.*#CSINCLUDES=-I${LOCALBASE}/include/ClearSilver#g" ${WRKSRC}/config.mk + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/cblog.cgi ${PREFIX}/libexec/cblog.fcgi + ${INSTALL_PROGRAM} ${WRKSRC}/cblogctl ${PREFIX}/bin/cblogctl + ${INSTALL_DATA} ${WRKSRC}/samples/cblog.conf ${PREFIX}/etc/cblog.conf.sample + ${INSTALL_MAN} ${WRKSRC}/cgi/cblog.cgi.1 ${MANPREFIX}/man/man1/cblog.fcgi.1 + +.include <bsd.port.mk> diff --git a/www/cblog/distinfo b/www/cblog/distinfo new file mode 100644 index 000000000000..98534b856f50 --- /dev/null +++ b/www/cblog/distinfo @@ -0,0 +1,3 @@ +MD5 (cblog-0.1.1.tar.gz) = 40753a20b6273428f2bf367b6a538ed2 +SHA256 (cblog-0.1.1.tar.gz) = 7b76efe69f51e8d36f83716db831a7100a82d07c9d47abf8a4c24f237edfea83 +SIZE (cblog-0.1.1.tar.gz) = 36645 diff --git a/www/cblog/pkg-descr b/www/cblog/pkg-descr new file mode 100644 index 000000000000..d66151f36ca0 --- /dev/null +++ b/www/cblog/pkg-descr @@ -0,0 +1,4 @@ +simple weblog written in C using markdown to write posts and tinycdb to store +them + +WWW: http://github.com/bapt/cblog |