- use DOCSDIR macro

- fix plist for -DNOPORTDOCS
- bump PORTREVISION

Prompted by:	QAT QA run
This commit is contained in:
Ion-Mihai Tetcu 2008-11-18 15:52:38 +00:00
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

View file

@ -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>

View file

@ -1,3 +1,3 @@
bin/nhpf
share/doc/nhpf/README
@dirrm share/doc/nhpf
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%