aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-10-18 23:42:09 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-10-18 23:42:09 +0000
commit4ddbbb4cc4600f2141b39fce9a59b368199d2469 (patch)
treecff6e1d5a03e3a366d9054d0e2abaa45623b2700 /www
parent72921fd2568310bc257d139a4a56d4021fba89d3 (diff)
downloadports-4ddbbb4cc4600f2141b39fce9a59b368199d2469.tar.gz
ports-4ddbbb4cc4600f2141b39fce9a59b368199d2469.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/cblog/Makefile17
-rw-r--r--www/cblog/pkg-plist4
2 files changed, 9 insertions, 12 deletions
diff --git a/www/cblog/Makefile b/www/cblog/Makefile
index 3e07f2fbbc7a..5efa763d0736 100644
--- a/www/cblog/Makefile
+++ b/www/cblog/Makefile
@@ -11,19 +11,12 @@ 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:${PORTSDIR}/www/fcgi
+LIB_DEPENDS= libfcgi.so:${PORTSDIR}/www/fcgi
LICENSE= BSD
USE_RC_SUBR= cblog
-PLIST_FILES= libexec/cblog.fcgi \
- bin/cblogctl \
- etc/cblog.conf.sample
-
-MAN1= cblog.fcgi.1
-
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e "s#^INCLUDES=.*#INCLUDES=-I${LOCALBASE}/include#g" \
-e "s#^LIBDIR=.*#LIBDIR=-L${LOCALBASE}/lib#g" \
@@ -31,9 +24,9 @@ post-patch:
${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
+ ${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>
diff --git a/www/cblog/pkg-plist b/www/cblog/pkg-plist
new file mode 100644
index 000000000000..aa6e717d4b53
--- /dev/null
+++ b/www/cblog/pkg-plist
@@ -0,0 +1,4 @@
+bin/cblogctl
+etc/cblog.conf.sample
+libexec/cblog.fcgi
+man/man1/cblog.fcgi.1.gz