aboutsummaryrefslogtreecommitdiff
path: root/devel/ccdoc
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-03-03 02:55:29 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-03-03 02:55:29 +0000
commita3695adbacb05bb1d00c16743b15e7ca30baa711 (patch)
treecaece6759a4ecf40341ed9a26de50094578dd974 /devel/ccdoc
parent6d4b3ed0c919aed2900381db9274e4da3f707544 (diff)
downloadports-a3695adbacb05bb1d00c16743b15e7ca30baa711.tar.gz
ports-a3695adbacb05bb1d00c16743b15e7ca30baa711.zip
Notes
Diffstat (limited to 'devel/ccdoc')
-rw-r--r--devel/ccdoc/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/devel/ccdoc/Makefile b/devel/ccdoc/Makefile
index 08dbbf47798f..8ed286ef7760 100644
--- a/devel/ccdoc/Makefile
+++ b/devel/ccdoc/Makefile
@@ -11,7 +11,7 @@ DIST_SUBDIR= ccdoc
MAINTAINER= ports@FreeBSD.org
COMMENT= Extracting comments from C++ source and generating HTML
-OPTIONS_DEFINE= DOCS
+LICENSE= MIT
USES= perl5
@@ -22,6 +22,8 @@ PLIST_FILES= bin/ccdoc \
man/man1/ccdoc.1.gz
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
do-configure:
${REINPLACE_CMD} -e "s:%%PERL%%:${PERL}:" \
-e "s:%%CXX%%:${CXX}:" \
@@ -33,12 +35,6 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/../bin_opt_gcc_/ccdoc.exe \
${STAGEDIR}${PREFIX}/bin/ccdoc
${INSTALL_MAN} ${WRKSRC}/../doc/htdocs/ccdoc.man ${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}.1
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${FIND} ${WRKSRC}/../doc \( -name '*.html' -o \
- -name '*.htm' -o \
- -name '*.gif' -o \
- -name '*.txt' -o \
- -name '*.jpg' \) -print | \
- ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/../doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>