blob: 8a9f552dce1c568a6d38ff91ee3192a6346f39b7 (
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
43
|
# Created by: ijliao
# $FreeBSD$
PORTNAME= naturaldocs
PORTVERSION= 1.52
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/Stable%20Releases/${PORTVERSION}
DISTNAME= NaturalDocs-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Extensible, multi-language source code documentation generator
USES= perl5 shebangfix zip
SHEBANG_FILES= NaturalDocs
USE_PERL5= run
NO_WRKSUBDIR= yes
NO_BUILD= yes
DOCSDIR= ${PREFIX}/share/doc/NaturalDocs
OPTIONS_DEFINE= DOCS
do-configure:
@${ECHO_CMD} "#!/bin/sh" > ${WRKDIR}/NaturalDocs.sh
@${ECHO_CMD} >> ${WRKDIR}/NaturalDocs.sh
@${ECHO_CMD} "${DATADIR}/NaturalDocs \$$@" >> ${WRKDIR}/NaturalDocs.sh
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/NaturalDocs.sh \
${STAGEDIR}${PREFIX}/bin/NaturalDocs
@${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/NaturalDocs
(cd ${WRKSRC}/Modules/NaturalDocs \
&& ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/NaturalDocs)
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/NaturalDocs ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} "Config Info JavaScript Styles" \
${STAGEDIR}${DATADIR})
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/Help && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
|