. NOPORTDOCS -> PORT_OPTIONS:MDOCS;
. mute mkdir commands; . use PLIST_FILES and PORTDOCS at Makefile; . delete pkg-plist (3 lines).
This commit is contained in:
parent
61c5387e0d
commit
1e5d63936d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321492
2 changed files with 10 additions and 6 deletions
|
@ -10,11 +10,18 @@ MASTER_SITES= ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/
|
|||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Hangul Printing Filter for Netscape with embedded font
|
||||
|
||||
PLIST_FILES= bin/nhpf
|
||||
PORTDOCS= README
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/bin
|
||||
@${MKDIR} ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/nhpf ${PREFIX}/bin
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
bin/nhpf
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in a new issue