aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjadawin <jadawin@FreeBSD.org>2010-07-16 22:18:48 +0800
committerjadawin <jadawin@FreeBSD.org>2010-07-16 22:18:48 +0800
commit87cea57bb223e605809d5e2f7032a2dd581e1ced (patch)
tree2604db5cf2112dfc903bd6072ad4d113deec3f57
parente7102983a44eacd1eb738ed56d9509bbdefd9a42 (diff)
downloadfreebsd-ports-gnome-87cea57bb223e605809d5e2f7032a2dd581e1ced.tar.gz
freebsd-ports-gnome-87cea57bb223e605809d5e2f7032a2dd581e1ced.tar.zst
freebsd-ports-gnome-87cea57bb223e605809d5e2f7032a2dd581e1ced.zip
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>
-rw-r--r--www/Makefile1
-rw-r--r--www/cblog/Makefile39
-rw-r--r--www/cblog/distinfo3
-rw-r--r--www/cblog/pkg-descr4
4 files changed, 47 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 98adf6bf3251..5b2e75cc0266 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -75,6 +75,7 @@
SUBDIR += campsite
SUBDIR += castget
SUBDIR += caudium14
+ SUBDIR += cblog
SUBDIR += cgi-lib
SUBDIR += cgi-lib.pl
SUBDIR += cgic
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