mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
68504b0e05
- changes: plug a memory leak in the cli and fix a segmentation fault
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# New ports collection makefile for: cblog
|
|
# Date created: 2010-07-16
|
|
# Whom: Bapt <baptiste.daroussin@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cblog
|
|
PORTVERSION= 0.1.6
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://files.etoilebsd.net/cblog/
|
|
|
|
MAINTAINER= bapt@FreeBSD.org
|
|
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
|
|
|
|
USE_RC_SUBR= cblog
|
|
|
|
PLIST_FILES= libexec/cblog.fcgi \
|
|
bin/cblogctl \
|
|
etc/cblog.conf.sample
|
|
|
|
MAN1= cblog.fcgi.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s#^INCLUDES=.*#INCLUDES=-I${LOCALBASE}/include#g" \
|
|
-e "s#^LIBDIR=.*#LIBDIR=-L${LOCALBASE}/lib#g" \
|
|
-e "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>
|