Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2014 07:05:34 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364940 - head/japanese/cannadic
Message-ID:  <201408150705.s7F75YJw086122@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Fri Aug 15 07:05:34 2014
New Revision: 364940
URL: http://svnweb.freebsd.org/changeset/ports/364940
QAT: https://qat.redports.org/buildarchive/r364940/

Log:
  Stagify.

Modified:
  head/japanese/cannadic/Makefile

Modified: head/japanese/cannadic/Makefile
==============================================================================
--- head/japanese/cannadic/Makefile	Fri Aug 15 07:00:52 2014	(r364939)
+++ head/japanese/cannadic/Makefile	Fri Aug 15 07:05:34 2014	(r364940)
@@ -21,18 +21,14 @@ PKGMESSAGE=	${WRKDIR}/pkg-message
 DICS=		gcanna.cbd gcanna.cld gcannaf.ctd
 DICSFILE=	dics.dir.gpl_canna
 DICDIR=		${LOCALBASE}/share/canna/dic/canna
+OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 do-install:
+	@${MKDIR} ${STAGEDIR}${DICDIR}
 	cd ${WRKSRC} && \
-	${INSTALL} -c -g bin -m 664 -o bin ${DICS} ${DICSFILE} ${DICDIR}
+	${INSTALL} -c -g bin -m 664 -o bin ${DICS} ${DICSFILE} ${STAGEDIR}${DICDIR}
 	${INSTALL_DATA} ${WRKDIR}/README.FreeBSD ${WRKSRC}
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
-
-post-install:
-	@${CAT} ${PKGMESSAGE}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408150705.s7F75YJw086122>