aboutsummaryrefslogtreecommitdiff
path: root/korean
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-06-21 18:10:18 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2013-06-21 18:10:18 +0000
commit1e5d63936dea0d535266e5f2a1280f650ed70338 (patch)
tree8ac8f043e04e3d9d75ee40c33738c1a599caa634 /korean
parent61c5387e0d9bde54193e189c8d19f0255fc2e90f (diff)
downloadports-1e5d63936dea0d535266e5f2a1280f650ed70338.tar.gz
ports-1e5d63936dea0d535266e5f2a1280f650ed70338.zip
Notes
Diffstat (limited to 'korean')
-rw-r--r--korean/nhpf/Makefile13
-rw-r--r--korean/nhpf/pkg-plist3
2 files changed, 10 insertions, 6 deletions
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 <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
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%%