1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

. NOPORTDOCS -> PORT_OPTIONS:MDOCS;

. mute mkdir commands;
. use PLIST_FILES and PORTDOCS at Makefile;
. delete pkg-plist (3 lines).
This commit is contained in:
Boris Samorodov 2013-06-21 18:10:18 +00:00
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

View File

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

View File

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