blob: 9ccbf3951e024019e4410f11c21436e8dce72edf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# 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>
|