mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- Add LICENSE
- Fix installation from non-root
This commit is contained in:
parent
6d4b3ed0c9
commit
a3695adbac
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=380328
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user