View | Details | Raw Unified | Return to bug 189659
Collapse All | Expand All

(-)www/nanoblogger-extra/Makefile (-14 / +11 lines)
Lines 9-14 Link Here
9
MAINTAINER=	tobias.rehbein@web.de
9
MAINTAINER=	tobias.rehbein@web.de
10
COMMENT=	Extras for nanoblogger, a small weblog engine
10
COMMENT=	Extras for nanoblogger, a small weblog engine
11
11
12
LICENSE=	GPLv2
13
12
RUN_DEPENDS=	nb:${PORTSDIR}/www/nanoblogger
14
RUN_DEPENDS=	nb:${PORTSDIR}/www/nanoblogger
13
15
14
WRKSRC=		${WRKDIR}/nanoblogger-${PORTVERSION}
16
WRKSRC=		${WRKDIR}/nanoblogger-${PORTVERSION}
Lines 16-41 Link Here
16
18
17
NO_BUILD=	yes
19
NO_BUILD=	yes
18
20
19
NO_STAGE=	yes
20
do-install:
21
do-install:
21
.for data in default lang plugins
22
.for data in default lang plugins
22
	@( cd ${WRKSRC}/${data} && ${CHMOD} 777 ${WRKSRC}/${data}/* && \
23
	@( cd ${WRKSRC}/${data} && \
23
		${COPYTREE_SHARE} \* ${DATADIR}/${data} "! -empty" )
24
		${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/${data} "! -empty" )
24
.endfor
25
.endfor
25
26
26
post-install:
27
post-install:
27
.if !defined(NOPORTDOCS)
28
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
28
	@${MKDIR} ${DOCSDIR}
29
.for doc in COPYING ChangeLog README
29
.for doc in COPYING ChangeLog README
30
	@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
30
	@${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
31
.endfor
31
.endfor
32
	@${MKDIR} ${DOCSDIR}/html
32
	@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
33
	@${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR}/html
33
	@${INSTALL_DATA} ${WRKSRC}/docs/*.html ${STAGEDIR}${DOCSDIR}/html
34
.endif
34
35
35
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
36
.if !defined(NOPORTEXAMPLES)
36
	@${INSTALL_DATA} ${WRKSRC}/docs/examples/nanoblogger.bash_completion ${STAGEDIR}${EXAMPLESDIR}
37
	@${MKDIR} ${EXAMPLESDIR}
38
	@${INSTALL_DATA} ${WRKSRC}/docs/examples/nanoblogger.bash_completion ${EXAMPLESDIR}
39
.endif
40
37
41
.include <bsd.port.mk>
38
.include <bsd.port.mk>
(-)www/nanoblogger-extra/pkg-plist (-16 / +4 lines)
Lines 28-35 Link Here
28
%%DATADIR%%/plugins/001_mymood.off
28
%%DATADIR%%/plugins/001_mymood.off
29
%%DATADIR%%/plugins/archive/category/include_listings.sh
29
%%DATADIR%%/plugins/archive/category/include_listings.sh
30
%%DATADIR%%/plugins/archive/master_fullindex.off
30
%%DATADIR%%/plugins/archive/master_fullindex.off
31
%%DATADIR%%/plugins/entry/z0_excerpt.off
32
%%DATADIR%%/plugins/entry/format/autotag-p.sh
31
%%DATADIR%%/plugins/entry/format/autotag-p.sh
32
%%DATADIR%%/plugins/entry/z0_excerpt.off
33
%%DATADIR%%/plugins/file_links.sh
33
%%DATADIR%%/plugins/file_links.sh
34
%%DATADIR%%/plugins/fortune.sh
34
%%DATADIR%%/plugins/fortune.sh
35
%%DATADIR%%/plugins/page/format/autopbr.sh
35
%%DATADIR%%/plugins/page/format/autopbr.sh
Lines 38-60 Link Here
38
%%DATADIR%%/plugins/shortcode/yahoobuzz.sh
38
%%DATADIR%%/plugins/shortcode/yahoobuzz.sh
39
%%DATADIR%%/plugins/shortcode/youtube.sh
39
%%DATADIR%%/plugins/shortcode/youtube.sh
40
%%DATADIR%%/plugins/z001_articles_text.off
40
%%DATADIR%%/plugins/z001_articles_text.off
41
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
41
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/html
42
%%PORTDOCS%%@dirrm %%DOCSDIR%%
42
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
43
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/
43
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
44
@dirrmtry %%DATADIR%%/default/styles
45
@dirrmtry %%DATADIR%%/default/templates
46
@dirrmtry %%DATADIR%%/default
47
@dirrmtry %%DATADIR%%/lang/de
44
@dirrmtry %%DATADIR%%/lang/de
48
@dirrmtry %%DATADIR%%/lang/es
45
@dirrmtry %%DATADIR%%/lang/es
49
@dirrmtry %%DATADIR%%/lang/fr
46
@dirrmtry %%DATADIR%%/lang/fr
50
@dirrmtry %%DATADIR%%/lang/tr
47
@dirrmtry %%DATADIR%%/lang/tr
51
@dirrmtry %%DATADIR%%/lang
52
@dirrmtry %%DATADIR%%/plugins/archive/category
53
@dirrmtry %%DATADIR%%/plugins/archive
54
@dirrmtry %%DATADIR%%/plugins/entry/format
55
@dirrmtry %%DATADIR%%/plugins/entry
56
@dirrmtry %%DATADIR%%/plugins/page/format
57
@dirrmtry %%DATADIR%%/plugins/page
58
@dirrmtry %%DATADIR%%/plugins/shortcode
59
@dirrmtry %%DATADIR%%/plugins
60
@dirrmtry %%DATADIR%%
48
@dirrmtry %%DATADIR%%

Return to bug 189659