Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 2014 13:55:39 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r354324 - head/japanese/vftool
Message-ID:  <201405171355.s4HDtdJx026521@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sat May 17 13:55:39 2014
New Revision: 354324
URL: http://svnweb.freebsd.org/changeset/ports/354324
QAT: https://qat.redports.org/buildarchive/r354324/

Log:
  - Add staging support
  - Convert to new options framework

Modified:
  head/japanese/vftool/Makefile
  head/japanese/vftool/pkg-plist

Modified: head/japanese/vftool/Makefile
==============================================================================
--- head/japanese/vftool/Makefile	Sat May 17 13:45:03 2014	(r354323)
+++ head/japanese/vftool/Makefile	Sat May 17 13:55:39 2014	(r354324)
@@ -27,12 +27,9 @@ FONTSDIR=	${PREFIX}/share/fonts
 JFMDIR=		${WRKDIR}/share/texmf/fonts/tfm/ptex
 TARGETDIRS=	vf-n2a vf-a2n vf-a2bk vf-p2pn
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+ia64_BROKEN=	Coredump during build on ia64
 
-.if ${ARCH} == "ia64"
-BROKEN=		Coredump during build on ia64
-.endif
+OPTIONS_DEFINE=	DOCS
 
 post-extract:
 	(cd ${WRKDIR}; \
@@ -46,20 +43,15 @@ post-extract:
 	)
 
 do-install:
-	@(cd ${FONTSDIR}; ${MKDIR} ${TARGETDIRS})
-	@(cd ${WRKSRC}; \
-	${INSTALL_PROGRAM} mka2bkvf mka2nvf mkn2avf mkp2nvf ${PREFIX}/bin; \
-	)
-.for t in ${TARGETDIRS}
-	@${INSTALL_DATA} ${WRKSRC}/${t}/* ${FONTSDIR}/${t}
-.endfor
-	@${INSTALL_DATA} ${WRKSRC}/jfm/* ${FONTSDIR}/vf-a2bk
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	@(cd ${WRKSRC}; \
-	${INSTALL_SCRIPT} MKASC2BKall MKASC2NTT MKNTT2ASC MKPTEX2PNTT ${DOCSDIR}; \
-	${INSTALL_DATA} Makefile README vfdata.doc ${DOCSDIR}; \
-	)
-.endif
+	(cd ${WRKSRC} && ${INSTALL_PROGRAM} mka2bkvf mka2nvf mkn2avf mkp2nvf \
+		${STAGEDIR}${PREFIX}/bin)
+	(cd ${WRKSRC} && ${COPYTREE_SHARE} "${TARGETDIRS}" \
+		${STAGEDIR}${FONTSDIR})
+	${INSTALL_DATA} ${WRKSRC}/jfm/* ${STAGEDIR}${FONTSDIR}/vf-a2bk
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_SCRIPT} MKASC2BKall MKASC2NTT MKNTT2ASC \
+		MKPTEX2PNTT ${STAGEDIR}${DOCSDIR})
+	(cd ${WRKSRC} && ${INSTALL_DATA} Makefile README vfdata.doc \
+		${STAGEDIR}${DOCSDIR})
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/japanese/vftool/pkg-plist
==============================================================================
--- head/japanese/vftool/pkg-plist	Sat May 17 13:45:03 2014	(r354323)
+++ head/japanese/vftool/pkg-plist	Sat May 17 13:55:39 2014	(r354324)
@@ -660,4 +660,3 @@ share/fonts/vf-p2pn/tmin9.vf
 @dirrm share/fonts/vf-a2n
 @dirrm share/fonts/vf-n2a
 @dirrm share/fonts/vf-p2pn
-@dirrmtry share/fonts



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