mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
e894c29ad5
in the plist.
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
# Created by: Tobias Rehbein <tobias.rehbein@web.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= nanoblogger-extra
|
|
PORTVERSION= 3.4.2
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://nanoblogger.sourceforge.net/downloads/
|
|
|
|
MAINTAINER= tobias.rehbein@web.de
|
|
COMMENT= Extras for nanoblogger, a small weblog engine
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= nb:${PORTSDIR}/www/nanoblogger
|
|
|
|
WRKSRC= ${WRKDIR}/nanoblogger-${PORTVERSION}
|
|
DATADIR= ${PREFIX}/share/nanoblogger
|
|
|
|
NO_BUILD= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
.for data in default lang plugins
|
|
@( cd ${WRKSRC}/${data} && \
|
|
${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/${data} "! -empty" )
|
|
.endfor
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for doc in COPYING ChangeLog README
|
|
@${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
|
|
@${INSTALL_DATA} ${WRKSRC}/docs/*.html ${STAGEDIR}${DOCSDIR}/html
|
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/docs/examples/nanoblogger.bash_completion ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|