Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2015 10:29:48 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r382389 - in head/chinese/ttf2pt1: . files
Message-ID:  <201503271029.t2RATmHb071863@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Mar 27 10:29:47 2015
New Revision: 382389
URL: https://svnweb.freebsd.org/changeset/ports/382389
QAT: https://qat.redports.org/buildarchive/r382389/

Log:
  - Fix install from non-root
  - Simplify installation
  - Switch to USES=tar
  - Add NO_ARCH

Deleted:
  head/chinese/ttf2pt1/files/
Modified:
  head/chinese/ttf2pt1/Makefile

Modified: head/chinese/ttf2pt1/Makefile
==============================================================================
--- head/chinese/ttf2pt1/Makefile	Fri Mar 27 10:29:28 2015	(r382388)
+++ head/chinese/ttf2pt1/Makefile	Fri Mar 27 10:29:47 2015	(r382389)
@@ -6,15 +6,20 @@ PORTVERSION=	3.4.0
 CATEGORIES=	chinese print
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-chinese/${PORTVERSION}
 DISTNAME=	${PORTNAME}-chinese-${PORTVERSION}
-EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	True Type Font to Postscript Type 1 converter with Chinese maps
 
 RUN_DEPENDS=	ttf2pt1:${PORTSDIR}/print/ttf2pt1
 
+USES=		tar:tgz
 MAKE_ARGS=	INSTDIR="${PREFIX}"
 
 NO_BUILD=	yes
+NO_ARCH=	yes
+
+do-install:
+	${MKDIR} ${STAGEDIR}${DATADIR}/maps
+	${INSTALL_DATA} ${WRKSRC}/*.map ${STAGEDIR}${DATADIR}/maps/
 
 .include <bsd.port.mk>



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