diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-03-27 18:29:47 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-03-27 18:29:47 +0800 |
commit | cba28584796e0ca1e2587c7697d4ea7aedeaf28b (patch) | |
tree | 4c327e04e8ad10bcbf7498c51ab3fe92af0e3206 /chinese/ttf2pt1/Makefile | |
parent | c5ff3ab3ec18a4eb7cfcf3021a2f9ab64248bafd (diff) | |
download | freebsd-ports-gnome-cba28584796e0ca1e2587c7697d4ea7aedeaf28b.tar.gz freebsd-ports-gnome-cba28584796e0ca1e2587c7697d4ea7aedeaf28b.tar.zst freebsd-ports-gnome-cba28584796e0ca1e2587c7697d4ea7aedeaf28b.zip |
- Fix install from non-root
- Simplify installation
- Switch to USES=tar
- Add NO_ARCH
Diffstat (limited to 'chinese/ttf2pt1/Makefile')
-rw-r--r-- | chinese/ttf2pt1/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chinese/ttf2pt1/Makefile b/chinese/ttf2pt1/Makefile index b0462f1efad5..c66355047dca 100644 --- a/chinese/ttf2pt1/Makefile +++ b/chinese/ttf2pt1/Makefile @@ -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> |