- use DOCSDIR macro
- fix plist for -DNOPORTDOCS - bump PORTREVISION Prompted by: QAT QA run
This commit is contained in:
parent
e953911bb8
commit
af902ff7f6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=223014
2 changed files with 5 additions and 5 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= nhpf
|
||||
PORTVERSION= 1.42
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= korean www
|
||||
MASTER_SITES= ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/
|
||||
|
||||
|
@ -17,9 +18,8 @@ do-install:
|
|||
${MKDIR} ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/nhpf ${PREFIX}/bin
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/nhpf
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/nhpf
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
.endif
|
||||
@strip ${PREFIX}/bin/nhpf
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
bin/nhpf
|
||||
share/doc/nhpf/README
|
||||
@dirrm share/doc/nhpf
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
|
Loading…
Reference in a new issue