1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/www/cblog/Makefile
Mathieu Arnold 72ea7e696b Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:33:55 +00:00

33 lines
969 B
Makefile

# $FreeBSD$
PORTNAME= cblog
PORTVERSION= 0.1.6
PORTREVISION= 2
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:www/clearsilver
LIB_DEPENDS= libfcgi.so:www/fcgi \
libcdb.so:databases/tinycdb
LICENSE= BSD2CLAUSE
USE_RC_SUBR= cblog
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 ${STAGEDIR}${PREFIX}/libexec/cblog.fcgi
${INSTALL_PROGRAM} ${WRKSRC}/cblogctl ${STAGEDIR}${PREFIX}/bin/cblogctl
${INSTALL_DATA} ${WRKSRC}/samples/cblog.conf ${STAGEDIR}${PREFIX}/etc/cblog.conf.sample
${INSTALL_MAN} ${WRKSRC}/cgi/cblog.cgi.1 ${STAGEDIR}${MANPREFIX}/man/man1/cblog.fcgi.1
.include <bsd.port.mk>