diff options
author | bsam <bsam@FreeBSD.org> | 2013-06-22 02:10:18 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2013-06-22 02:10:18 +0800 |
commit | 70e903e6c150e0c9c1017e45a92fe8966b5fd326 (patch) | |
tree | 8ac8f043e04e3d9d75ee40c33738c1a599caa634 /korean | |
parent | d1e464ab2b9fe6cb113554a8c39f22e9f44350d0 (diff) | |
download | freebsd-ports-gnome-70e903e6c150e0c9c1017e45a92fe8966b5fd326.tar.gz freebsd-ports-gnome-70e903e6c150e0c9c1017e45a92fe8966b5fd326.tar.zst freebsd-ports-gnome-70e903e6c150e0c9c1017e45a92fe8966b5fd326.zip |
. NOPORTDOCS -> PORT_OPTIONS:MDOCS;
. mute mkdir commands;
. use PLIST_FILES and PORTDOCS at Makefile;
. delete pkg-plist (3 lines).
Diffstat (limited to 'korean')
-rw-r--r-- | korean/nhpf/Makefile | 13 | ||||
-rw-r--r-- | korean/nhpf/pkg-plist | 3 |
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%% |