aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2008-07-05 13:10:59 +0800
committeredwin <edwin@FreeBSD.org>2008-07-05 13:10:59 +0800
commitbf18997e03db453cb6b2fae6e94269aeae214e20 (patch)
treeb9ca81ae87171b9595d1402969c81808a4f8821a /japanese
parent8b060e3bf015ff5974d38beb0bdc559f226bdcc6 (diff)
downloadfreebsd-ports-gnome-bf18997e03db453cb6b2fae6e94269aeae214e20.tar.gz
freebsd-ports-gnome-bf18997e03db453cb6b2fae6e94269aeae214e20.tar.zst
freebsd-ports-gnome-bf18997e03db453cb6b2fae6e94269aeae214e20.zip
Only run pre-install when NOPORTDOCS isn't set
Noticed by: ionbot
Diffstat (limited to 'japanese')
-rw-r--r--japanese/mh/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/japanese/mh/Makefile b/japanese/mh/Makefile
index 93dbcf63d9cf..655f130f38ef 100644
--- a/japanese/mh/Makefile
+++ b/japanese/mh/Makefile
@@ -47,13 +47,15 @@ CONFLICTS= nmh-[0-9]*
.include <bsd.port.pre.mk>
-post-install:
.if !defined(NOPORTDOCS)
+pre-install:
+ ${MKDIR} ${PREFIX}/share/doc/ja-mh
+.endif
+
+.if !defined(NOPORTDOCS)
+post-install:
${MKDIR} ${DOCDIR}
(cd ${WRKSRC}/doc-JP; ${INSTALL_DATA} ${READMES} ${DOCDIR})
.endif
-pre-install:
- ${MKDIR} ${PREFIX}/share/doc/ja-mh
-
.include <bsd.port.post.mk>