summaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-29 08:57:12 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-29 08:57:12 +0000
commit5271da855f0c5946ff1f3aa58fbe806871df2f87 (patch)
tree526d65e6697f1e03c06ab0d0f901688aa2c4e18d /x11-fonts
parentUpdate to 2.035. (diff)
Rely on bsdtar to autodetermine the format of the distfiles when possible
For a while now bsdtar is able to autotermine compression and archive format. Let's then use tar directly instead of piping to tar. Now USE_BZIP2 and USE_XZ only set EXTRACT_SUFX to the right format
Notes
Notes: svn path=/head/; revision=316786
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/etlfonts/Makefile9
-rw-r--r--x11-fonts/mkbold/Makefile2
-rw-r--r--x11-fonts/mkitalic/Makefile8
-rw-r--r--x11-fonts/suxus/Makefile2
4 files changed, 7 insertions, 14 deletions
diff --git a/x11-fonts/etlfonts/Makefile b/x11-fonts/etlfonts/Makefile
index dd22ccd0320e..f70e7ea8d2b7 100644
--- a/x11-fonts/etlfonts/Makefile
+++ b/x11-fonts/etlfonts/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: etlfonts-noncjk
-# Date created: 3 Nov 1996
-# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
-#
+# Created by: Mita Yoshio <mita@jp.FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= etlfonts-noncjk
PORTVERSION= 1.0
@@ -20,9 +16,6 @@ BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf
RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
-EXTRACT_CMD= ${TAR}
-EXTRACT_BEFORE_ARGS= -xf
-EXTRACT_AFTER_ARGS= # empty
USE_XORG= x11
post-extract:
diff --git a/x11-fonts/mkbold/Makefile b/x11-fonts/mkbold/Makefile
index 5ae56acafc04..ffc9ecdeb31a 100644
--- a/x11-fonts/mkbold/Makefile
+++ b/x11-fonts/mkbold/Makefile
@@ -19,6 +19,8 @@ CONFLICTS= mkbold-mkitalic-[0-9]*
PLIST_FILES= bin/mkbold
USE_PERL5= yes
+EXTRACT_CMD= ${GZCAT}
+EXTRACT_BEFORE_ARGS= #
EXTRACT_AFTER_ARGS= > ${WRKSRC}/mkbold
NO_WRKSUBDIR= yes
NO_BUILD= yes
diff --git a/x11-fonts/mkitalic/Makefile b/x11-fonts/mkitalic/Makefile
index 29f8c8097a1f..502cc7c8b40f 100644
--- a/x11-fonts/mkitalic/Makefile
+++ b/x11-fonts/mkitalic/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: mkitalic
-# Date created: 6 January 2002
-# Whom: KOMATSU Shinichiro
-#
+# Created by: KOMATSU Shinichiro
# $FreeBSD$
-#
PORTNAME= mkitalic
PORTVERSION= 1.0
@@ -19,6 +15,8 @@ CONFLICTS= mkbold-mkitalic-[0-9]*
PLIST_FILES= bin/mkitalic
USE_PERL5= yes
+EXTRACT_CMD= ${BZCAT}
+EXTRACT_BEFORE_ARGS= #
EXTRACT_AFTER_ARGS= > ${WRKSRC}/mkitalic
NO_WRKSUBDIR= yes
USE_BZIP2= yes
diff --git a/x11-fonts/suxus/Makefile b/x11-fonts/suxus/Makefile
index 03369a7b4901..e6b5c3fb4d8a 100644
--- a/x11-fonts/suxus/Makefile
+++ b/x11-fonts/suxus/Makefile
@@ -23,7 +23,7 @@ do-extract:
@${MKDIR} ${WRKSRC}
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-iso-8859-1.bdf.gz ${WRKSRC}
@${CP} ${DISTDIR}/${DIST_SUBDIR}/fonts.alias ${WRKSRC}
- @${EXTRACT_CMD} -d ${WRKSRC}/${PORTNAME}-iso-8859-1.bdf.gz
+ @${GZIP_CMD} -d ${WRKSRC}/${PORTNAME}-iso-8859-1.bdf.gz
do-build:
${PREFIX}/bin/bdftopcf -t ${WRKSRC}/suxus-iso-8859-1.bdf | ${EXTRACT_CMD} > ${WRKSRC}/suxus-iso-8859-1.pcf.gz