diff --git a/korean/nhpf/Makefile b/korean/nhpf/Makefile index d290d55be60e..b4944dd8d00a 100644 --- a/korean/nhpf/Makefile +++ b/korean/nhpf/Makefile @@ -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 + 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 diff --git a/korean/nhpf/pkg-plist b/korean/nhpf/pkg-plist deleted file mode 100644 index 753928835135..000000000000 --- a/korean/nhpf/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/nhpf -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%@dirrm %%DOCSDIR%%