b8616dd32b
- Update pkg-descr, add pkg-message with post-install instructions - Switch to static plist - Cleanup PR: ports/84817 Submitted by: Julien Gabel <jpeg@thilelli.net>
44 lines
911 B
Makefile
44 lines
911 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
|
|
|
|
USE_REINPLACE= yes
|
|
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>
|