diff options
author | wen <wen@FreeBSD.org> | 2015-09-11 14:38:46 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2015-09-11 14:38:46 +0800 |
commit | a2c76fe848ba59431fe4261f7a0c7f682652d883 (patch) | |
tree | 4fe926aa4f4f5ad459ceb8032cce9df157818eca /x11-fonts | |
parent | b9697063915b9eb85b90d796679bb024959fa6d9 (diff) | |
download | freebsd-ports-gnome-a2c76fe848ba59431fe4261f7a0c7f682652d883.tar.gz freebsd-ports-gnome-a2c76fe848ba59431fe4261f7a0c7f682652d883.tar.zst freebsd-ports-gnome-a2c76fe848ba59431fe4261f7a0c7f682652d883.zip |
- Update to 1.05
PR: 202858
Submitted by: tkato432@yahoo.com
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/pcf2bdf/Makefile | 24 | ||||
-rw-r--r-- | x11-fonts/pcf2bdf/distinfo | 4 | ||||
-rw-r--r-- | x11-fonts/pcf2bdf/files/patch-pcf2bdf.cc | 19 |
3 files changed, 13 insertions, 34 deletions
diff --git a/x11-fonts/pcf2bdf/Makefile b/x11-fonts/pcf2bdf/Makefile index e49b4b3e3210..a5ab9a833b8d 100644 --- a/x11-fonts/pcf2bdf/Makefile +++ b/x11-fonts/pcf2bdf/Makefile @@ -2,10 +2,8 @@ # $FreeBSD$ PORTNAME= pcf2bdf -PORTVERSION= 1.04 +PORTVERSION= 1.05 CATEGORIES= x11-fonts -MASTER_SITES= GHC -EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Convert X font from PCF to BDF @@ -15,22 +13,12 @@ LICENSE= MIT USE_GITHUB= yes GH_ACCOUNT= ganaware -WRKSRC= ${WRKDIR}/${DISTNAME} +MAKEFILE= Makefile.gcc +MAKE_ENV= MANPATH="${MANPREFIX}/man/man1" \ + INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ + INSTALL_DATA="${INSTALL_MAN}" \ + INSTALL_DIR="${MKDIR}" PLIST_FILES= bin/pcf2bdf man/man1/pcf2bdf.1.gz -post-extract: - @${MKDIR} ${WRKSRC} - @${LN} -sf ../pcf2bdf.cc ${WRKSRC}/pcf2bdf.cc - @${LN} -sf ../pcf2bdf.man ${WRKSRC}/pcf2bdf.1 - -do-build: - (cd ${WRKSRC} && ${CXX} ${CXXFLAGS} pcf2bdf.cc -o pcf2bdf) - -do-install: - (cd ${WRKSRC} && ${INSTALL_PROGRAM} pcf2bdf \ - ${STAGEDIR}${PREFIX}/bin) - (cd ${WRKSRC} && ${INSTALL_MAN} pcf2bdf.1 \ - ${STAGEDIR}${MANPREFIX}/man/man1) - .include <bsd.port.mk> diff --git a/x11-fonts/pcf2bdf/distinfo b/x11-fonts/pcf2bdf/distinfo index 89dcb43cf4c9..7716c7ecc95d 100644 --- a/x11-fonts/pcf2bdf/distinfo +++ b/x11-fonts/pcf2bdf/distinfo @@ -1,2 +1,2 @@ -SHA256 (pcf2bdf-1.04.tgz) = 64d37fa8c8f3db53034e746a04928c18fb3494a7091aa6b70141008a9e2e893e -SIZE (pcf2bdf-1.04.tgz) = 9686 +SHA256 (ganaware-pcf2bdf-1.05_GH0.tar.gz) = b6c646e245ae0e2713b94bfc0cb62971114d8b1d2da7a9f13533b555a9730316 +SIZE (ganaware-pcf2bdf-1.05_GH0.tar.gz) = 10603 diff --git a/x11-fonts/pcf2bdf/files/patch-pcf2bdf.cc b/x11-fonts/pcf2bdf/files/patch-pcf2bdf.cc index 3327a35c1525..aa51a9e3e34c 100644 --- a/x11-fonts/pcf2bdf/files/patch-pcf2bdf.cc +++ b/x11-fonts/pcf2bdf/files/patch-pcf2bdf.cc @@ -1,6 +1,6 @@ ---- pcf2bdf.cc.orig Mon Oct 21 01:35:29 2002 -+++ pcf2bdf.cc Mon Jan 20 23:11:46 2003 -@@ -577,7 +577,7 @@ +--- pcf2bdf.cc.orig 2015-05-18 02:55:57 UTC ++++ pcf2bdf.cc +@@ -580,7 +580,7 @@ int main(int argc, char *argv[]) } if (ifilename) { @@ -9,17 +9,8 @@ if (!ifp) return error_exit("failed to open input pcf file"); } -@@ -595,7 +595,7 @@ - fclose(ifp); - char buf[1024]; - sprintf(buf, "gzip -dc %s", ifilename); // TODO -- ifp = popen(buf, "rb"); -+ ifp = popen(buf, "r"); - _setmode(fileno(ifp), O_BINARY); - read_bytes = 0; - if (!ifp) -@@ -604,7 +604,7 @@ - +@@ -607,7 +607,7 @@ int main(int argc, char *argv[]) + if (ofilename) { - ofp = fopen(ofilename, "wb"); |