1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/www/nanoblogger/Makefile
2006-05-13 04:41:22 +00:00

43 lines
892 B
Makefile

# ex:ts=8
# Ports collection makefile for: nanoblogger
# Date created: Jul 15, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= nanoblogger
PORTVERSION= 3.2.3
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= jpeg@thilelli.net
COMMENT= Small weblog engine for the UNIX command line
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
NO_BUILD= yes
SUB_FILES= pkg-message
post-patch:
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/nb
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/nb ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/nb.conf ${PREFIX}/etc/nb.conf.sample
${MKDIR} ${DATADIR}
.for dir in default moods plugins
${CP} -R ${WRKSRC}/${dir} ${DATADIR}
.endfor
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/docs/nanoblogger.html ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>