Tweak install(partically from PR), use DOCDIR, use NOPORTDOCS(from PR)
PR: 28076 Submitted by: Patrick Li <pat@databits.net>
This commit is contained in:
parent
6eb4bd701a
commit
88e7d201df
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46654
@ -27,10 +27,10 @@ pre-build:
|
||||
rm -f ${WRKSRC}/ia64sim
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/ia64sim ${LOCALBASE}/bin/ia64sim
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/ia64sim ${PREFIX}/bin
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/ia64sim
|
||||
${INSTALL_DATA} ${WRKDIR}/ia64.doc ${PREFIX}/share/doc/ia64sim
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/doc/ia64user.txt ${WRKSRC}/readme ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -4,3 +4,4 @@ IA64 ISA simulator
|
||||
Simulator for the Intel/HP IA-64 architecture.
|
||||
|
||||
WWW: http://www.glue.umd.edu/~jasonp/
|
||||
http://www.pacific.net/~ccrayne/ia64.html
|
||||
|
@ -1,4 +1,5 @@
|
||||
@comment $FreeBSD$
|
||||
bin/ia64sim
|
||||
share/doc/ia64sim/ia64.doc
|
||||
%%PORTDOCS%%share/doc/ia64sim/ia64user.txt
|
||||
%%PORTDOCS%%share/doc/ia64sim/readme
|
||||
@dirrm share/doc/ia64sim
|
||||
|
Loading…
Reference in New Issue
Block a user