head	1.17;
access;
symbols
	RELEASE_8_3_0:1.16
	RELEASE_9_0_0:1.16
	RELEASE_7_4_0:1.15
	RELEASE_8_2_0:1.15
	RELEASE_6_EOL:1.15
	RELEASE_8_1_0:1.15
	RELEASE_7_3_0:1.14
	RELEASE_8_0_0:1.14
	RELEASE_7_2_0:1.12
	RELEASE_7_1_0:1.12
	RELEASE_6_4_0:1.12
	RELEASE_5_EOL:1.9
	RELEASE_7_0_0:1.9
	RELEASE_6_3_0:1.9
	PRE_XORG_7:1.9
	RELEASE_4_EOL:1.8
	RELEASE_6_2_0:1.7
	RELEASE_6_1_0:1.6
	RELEASE_5_5_0:1.6
	RELEASE_6_0_0:1.5
	RELEASE_5_4_0:1.4
	RELEASE_4_11_0:1.4
	RELEASE_5_3_0:1.2;
locks; strict;
comment	@# @;


1.17
date	2012.11.17.06.02.43;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2011.07.02.12.30.59;	author swills;	state Exp;
branches;
next	1.15;

1.15
date	2010.03.06.01.36.54;	author wxs;	state Exp;
branches;
next	1.14;

1.14
date	2009.08.22.00.38.16;	author amdmi3;	state Exp;
branches;
next	1.13;

1.13
date	2009.07.07.23.49.46;	author dhn;	state Exp;
branches;
next	1.12;

1.12
date	2008.06.15.18.46.30;	author jadawin;	state Exp;
branches;
next	1.11;

1.11
date	2008.06.13.19.07.32;	author jadawin;	state Exp;
branches;
next	1.10;

1.10
date	2008.06.06.14.07.02;	author edwin;	state Exp;
branches;
next	1.9;

1.9
date	2007.05.01.23.18.14;	author miwi;	state Exp;
branches;
next	1.8;

1.8
date	2007.01.16.10.47.17;	author bsam;	state Exp;
branches;
next	1.7;

1.7
date	2006.05.13.04.41.16;	author edwin;	state Exp;
branches;
next	1.6;

1.6
date	2005.09.15.21.24.17;	author pav;	state Exp;
branches;
next	1.5;

1.5
date	2005.07.06.20.58.51;	author pav;	state Exp;
branches;
next	1.4;

1.4
date	2004.12.27.03.39.14;	author ijliao;	state Exp;
branches;
next	1.3;

1.3
date	2004.11.12.15.30.57;	author ijliao;	state Exp;
branches;
next	1.2;

1.2
date	2004.07.24.14.50.41;	author ijliao;	state Exp;
branches;
next	1.1;

1.1
date	2004.07.15.08.20.04;	author ijliao;	state Exp;
branches;
next	;


desc
@@


1.17
log
@Switch exporter over
@
text
@# ex:ts=8
# Ports collection makefile for:	nanoblogger
# Date created:			Jul 15, 2004
# Whom:				ijliao
#
# $FreeBSD: head/www/nanoblogger/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	nanoblogger
PORTVERSION=	3.4.2
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	http://nanoblogger.sourceforge.net/downloads/

MAINTAINER=	tobias.rehbein@@web.de
COMMENT=	Small weblog engine written in Bash for the 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
	@@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/nb
	@@${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR},g" ${WRKSRC}/nb
	@@${REINPLACE_CMD} -e "s,%%DOCSDIR%%,${DOCSDIR},g" ${WRKSRC}/nb
	@@${RM} ${WRKSRC}/plugins/page/format/*.orig
	@@${RM} ${WRKSRC}/plugins/entry/format/*.orig

do-install:
	@@${INSTALL_SCRIPT} ${WRKSRC}/nb ${PREFIX}/bin
	@@${INSTALL_DATA} ${WRKSRC}/nb.conf ${PREFIX}/etc/nb.conf.sample
	@@${MKDIR} ${DATADIR}
.for data in default lang lib moods plugins
	@@${MKDIR} ${DATADIR}/${data} && \
		( cd ${WRKSRC}/${data} && \
			${COPYTREE_SHARE} \* ${DATADIR}/${data} "! -name *.orig" )
.endfor
	@@${CP} ${WRKSRC}/welcome-to-nb.txt ${DATADIR}

post-install:
	@@if [ ! -f ${PREFIX}/etc/nb.conf ]; then \
		${CP} -p ${PREFIX}/etc/nb.conf.sample ${PREFIX}/etc/nb.conf; \
	fi
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
.for doc in COPYING ChangeLog README TODO copyright
	@@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
	@@${MKDIR} ${DOCSDIR}/html
	@@${INSTALL_DATA} ${WRKSRC}/docs/nanoblogger.html ${DOCSDIR}/html
.endif
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.16
log
@- fix calendar generation

PR:		ports/158579
Submitted by:	Tobias Rehbein <tobias.rehbein@@web.de> (maintainer)
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.15
log
@- Update to 3.4.2

PR:		ports/144474
Submitted by:	Tobias Rehbein <tobias.rehbein@@web.de> (maintainer)
Feature safe:	yes
@
text
@d11 1
d29 2
@


1.14
log
@- Switch SourceForge ports to the new File Release System: categories starting with W
@
text
@d10 1
a10 1
PORTVERSION=	3.4
d12 1
a12 1
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/Version%20${PORTVERSION}
d30 3
a32 3
	${INSTALL_SCRIPT} ${WRKSRC}/nb ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/nb.conf ${PREFIX}/etc/nb.conf.sample
	${MKDIR} ${DATADIR}
d34 1
a34 1
	${MKDIR} ${DATADIR}/${data} && \
d38 1
a38 1
	${CP} ${WRKSRC}/welcome-to-nb.txt ${DATADIR}
d45 1
a45 1
	${MKDIR} ${DOCSDIR}
d47 1
a47 1
	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
d49 2
a50 2
	${MKDIR} ${DOCSDIR}/html
	${INSTALL_DATA} ${WRKSRC}/docs/nanoblogger.html ${DOCSDIR}/html
@


1.13
log
@- Update to 3.4
- Pass maintainership to submitter

PR:		ports/136322
Submitted by:	Tobias Rehbein <tobias.rehbein@@web.de>
@
text
@d12 1
a12 1
MASTER_SITES=	SF
@


1.12
log
@- Fixing wrong file modes.

PR:		ports/124594
Submitted by:	Tobias Rehbein <tobias.rehbein web.de>
Approved by:	mentor (implicit)
@
text
@d10 1
a10 2
PORTVERSION=	3.3
PORTREVISION=	2
d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
d25 3
a27 2
	@@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/plugins/entry/format/markdown.sh
	@@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/plugins/page/format/markdown.sh
d33 1
a33 1
.for data in lang lib moods plugins
d36 1
a36 1
			${COPYTREE_SHARE} \* ${DATADIR}/${data} "! -name *.orig ! -name *.bak" )
a37 2
	${MKDIR} ${DATADIR}/default && \
		${CP} -R ${WRKSRC}/default ${DATADIR}/
d46 2
a47 2
.for doc in COPYING ChangeLog README TODO docs/nanoblogger.html
	${INSTALL_MAN} ${WRKSRC}/${doc} ${DOCSDIR}
d49 2
@


1.11
log
@- Use ${PREFIX} for markdown in patches
- While I'm here use SF macro

PR:		ports/124408
Submitted by:	Tobias Rehbein <tobias.rehbein web.de>
Approved by:	tabthorpe (mentor)
@
text
@d33 1
a33 1
.for data in default lang lib moods plugins
d38 2
@


1.10
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d11 1
a11 1
PORTREVISION=	1
d13 1
a13 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
d26 2
d34 3
a36 1
	${CP} -R ${WRKSRC}/${data} ${DATADIR}
@


1.9
log
@- Reset maintainership

PR:		112302
Submitted by:	Julien Gabel (julien.gabel@@thilelli.net) (maintainer)
@
text
@d11 1
@


1.8
log
@- Update the product release.
- Tidy most of the port's files: pkg-plist, pkg-message, Makefile, etc.
- The port conforms a little more to FreeBSD Porter's Handbook (always evolving...)
- Validate a complete recommended test ordering from porting-testing.html
(In fact, correct it to do so.)

While I'm here: move "@@unexec if cmp -s %D/etc/nb.conf.sample..." upwards
at pkg-plist (before %D/etc/nb.conf.sample).

PR:		107963
Submitted by:	Julien Gabel <julien.gabel at thilelli.net> (maintainer)
@
text
@d15 1
a15 1
MAINTAINER=	julien.gabel@@thilelli.net
@


1.7
log
@Remove USE_REINPLACE from categories starting with W
@
text
@d10 1
a10 1
PORTVERSION=	3.2.3
d15 2
a16 2
MAINTAINER=	jpeg@@thilelli.net
COMMENT=	Small weblog engine for the UNIX command line
d31 2
a32 2
.for dir in default moods plugins
	${CP} -R ${WRKSRC}/${dir} ${DATADIR}
d34 1
d37 3
d42 3
a44 1
	${INSTALL_MAN} ${WRKSRC}/docs/nanoblogger.html ${DOCSDIR}
@


1.6
log
@- Take maintainership
- 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>
@
text
@a19 1
USE_REINPLACE=	yes
@


1.5
log
@- Update to 3.2.3

PR:		ports/83033
Submitted by:	Julien Gabel <jpeg@@thilelli.net>
@
text
@d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
d23 1
a23 5
PLIST_FILES=	bin/nb etc/nb.conf.default

.if !defined(NOPORTDOCS)
PORTDOCS=	*
.endif
d30 2
a31 2
	${INSTALL_DATA} ${WRKSRC}/nb.conf ${PREFIX}/etc/nb.conf.default
	@@${MKDIR} ${DATADIR}
d35 2
a36 4
	@@${FIND} ${DATADIR} ! -type d | \
		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
	@@${FIND} ${DATADIR} -type d | ${SORT} -r | \
		${SED} 's,^${PREFIX}/,@@dirrm ,' >> ${TMPPLIST}
d38 2
a39 2
	@@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/docs/nanoblogger.html ${DOCSDIR}
d41 1
@


1.4
log
@upgrade to 3.1
@
text
@d10 1
a10 1
PORTVERSION=	3.1
d18 1
a18 1
RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash2
d30 1
a30 1
	@@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/nb
@


1.3
log
@upgrade to 3.0
@
text
@d10 1
a10 1
PORTVERSION=	3.0
@


1.2
log
@upgrade to 2.9
@
text
@d10 1
a10 1
PORTVERSION=	2.9
d12 2
a13 1
MASTER_SITES=	http://home.columbus.rr.com/n1xt3r/downloads/nanoblogger/
@


1.1
log
@add nanoblogger 2.8
Small weblog engine for the UNIX command line
@
text
@d10 1
a10 1
PORTVERSION=	2.8
@

