mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
- Fix install from non-root
- Simplify installation - Switch to USES=tar - Add NO_ARCH
This commit is contained in:
parent
7cb9eda149
commit
8461775830
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382389
@ -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>
|
||||
|
@ -1,18 +0,0 @@
|
||||
--- Makefile.orig 2014-01-09 15:01:13.000000000 +0800
|
||||
+++ Makefile 2014-01-09 15:02:05.000000000 +0800
|
||||
@@ -22,10 +22,11 @@ snapshot:
|
||||
./mkrel snapshot
|
||||
|
||||
install:
|
||||
- cp -p *.map $(SHAREDIR)/maps
|
||||
- chown $(OWNER) $(SHAREDIR)/maps/*.map
|
||||
- chgrp $(GROUP) $(SHAREDIR)/maps/*.map
|
||||
- chmod 0644 $(SHAREDIR)/maps/*.map
|
||||
+ mkdir -p $(DESTDIR)$(SHAREDIR)/maps
|
||||
+ cp -p *.map $(DESTDIR)$(SHAREDIR)/maps
|
||||
+ chown $(OWNER) $(DESTDIR)$(SHAREDIR)/maps/*.map
|
||||
+ chgrp $(GROUP) $(DESTDIR)$(SHAREDIR)/maps/*.map
|
||||
+ chmod 0644 $(DESTDIR)$(SHAREDIR)/maps/*.map
|
||||
|
||||
uninstall:
|
||||
for i in *.map; do rm -f $(SHAREDIR)/maps/$$i || exit 1; done
|
Loading…
Reference in New Issue
Block a user