aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2001-11-26 01:17:36 +0800
committersf <sf@FreeBSD.org>2001-11-26 01:17:36 +0800
commite226d501b1441a151116e2b3323026b25ebec0d7 (patch)
tree526099b03504863f764cb5402ea30a3335457a88 /print
parentb14af257663400c9d1da08be4a99f3c7ca8341a7 (diff)
downloadfreebsd-ports-gnome-e226d501b1441a151116e2b3323026b25ebec0d7.tar.gz
freebsd-ports-gnome-e226d501b1441a151116e2b3323026b25ebec0d7.tar.zst
freebsd-ports-gnome-e226d501b1441a151116e2b3323026b25ebec0d7.zip
update to 20011124.
PR: 31400 Submitted by: maintainer
Diffstat (limited to 'print')
-rw-r--r--print/fontforge/Makefile21
-rw-r--r--print/fontforge/distinfo6
-rw-r--r--print/fontforge/files/patch-aa20
-rw-r--r--print/fontforge/files/patch-ab11
-rw-r--r--print/fontforge/pkg-descr2
-rw-r--r--print/pfaedit/Makefile21
-rw-r--r--print/pfaedit/distinfo6
-rw-r--r--print/pfaedit/files/patch-aa20
-rw-r--r--print/pfaedit/files/patch-ab11
-rw-r--r--print/pfaedit/pkg-descr2
10 files changed, 36 insertions, 84 deletions
diff --git a/print/fontforge/Makefile b/print/fontforge/Makefile
index abf4ca7bfd41..69168e48493b 100644
--- a/print/fontforge/Makefile
+++ b/print/fontforge/Makefile
@@ -6,33 +6,40 @@
#
PORTNAME= pfaedit
-PORTVERSION= 20010808
+PORTVERSION= 20011124
CATEGORIES= print
-MASTER_SITES= http://pfaedit.sourceforge.net/
+MASTER_SITES= http://pfaedit.sourceforge.net/
DISTFILES= ${PORTNAME}_src-${DIST_VER}.tgz \
libgunicode-${LIBGUNI_VER}.tgz libgdraw-${LIBGDRAW_VER}.tgz \
cidmaps.tgz
MAINTAINER= kanou@mil.allnet.ne.jp
-DIST_VER= 010808
-LIBGDRAW_VER= 010808
-LIBGUNI_VER= 010808
-
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
ungif.5:${PORTSDIR}/graphics/libungif
+USE_GMAKE= yes
USE_XLIB= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET= pfaedit
MAN1= pfaedit.1
+DIST_VER= 011124
+LIBGDRAW_VER= 011123
+LIBGUNI_VER= 011123
+
+post-patch:
+ ${PERL} -pi.orig -e 's,/usr/share/,${PREFIX}/share/,g' \
+ ${WRKSRC}/pfaedit/pfaedit.1
+ ${PERL} -pi.orig -e 's,/usr/pkg/,${PREFIX}/,g' \
+ ${WRKSRC}/*/[mM]akefile.*
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pfaedit/pfaedit ${PREFIX}/bin
${MKDIR} ${PREFIX}/share/pfaedit
diff --git a/print/fontforge/distinfo b/print/fontforge/distinfo
index 8e644bd81795..f278c4a8fab9 100644
--- a/print/fontforge/distinfo
+++ b/print/fontforge/distinfo
@@ -1,4 +1,4 @@
-MD5 (pfaedit_src-010808.tgz) = 5d6d99029a038e4930279cc882abfc2b
+MD5 (pfaedit_src-011124.tgz) = 3467a2ceb5ae00b94b1c4476e79cafb7
+MD5 (libgunicode-011123.tgz) = 9152584fcfd18d7c2407cd7d47aef437
+MD5 (libgdraw-011123.tgz) = 1915e949938b7f83ffb3b2fbbe77699c
MD5 (cidmaps.tgz) = b2f5fd18ea3c8205e6923832505bf73b
-MD5 (libgunicode-010808.tgz) = 4d45e6d0e772b12f5664a4064f9fbdf5
-MD5 (libgdraw-010808.tgz) = 6b5db477d345fdf72165d6248ab4534c
diff --git a/print/fontforge/files/patch-aa b/print/fontforge/files/patch-aa
deleted file mode 100644
index 6e25fa327010..000000000000
--- a/print/fontforge/files/patch-aa
+++ /dev/null
@@ -1,20 +0,0 @@
---- pfaedit/encoding.c.orig Sat Aug 4 06:27:24 2001
-+++ pfaedit/encoding.c Thu Aug 23 19:21:17 2001
-@@ -683,7 +683,7 @@
- if ( file==NULL )
- file = SearchDirForCidMap(GResourceProgramDir,registry,ordering,supplement,&maybefile);
- if ( file==NULL )
-- file = SearchDirForCidMap("/usr/share/pfaedit",registry,ordering,supplement,&maybefile);
-+ file = SearchDirForCidMap("/usr/local/share/pfaedit",registry,ordering,supplement,&maybefile);
-
- if ( file==NULL && (maybe!=NULL || maybefile!=NULL)) {
- if ( maybefile!=NULL ) {
-@@ -864,7 +864,7 @@
- }
- FindMapsInDir(&block,".");
- FindMapsInDir(&block,GResourceProgramDir);
-- FindMapsInDir(&block,"/usr/share/pfaedit");
-+ FindMapsInDir(&block,"/usr/local/share/pfaedit");
-
- choices = gcalloc(block.cur+2,sizeof(unichar_t *));
- choices[0] = u_copy(GStringGetResource(_STR_Browse,NULL));
diff --git a/print/fontforge/files/patch-ab b/print/fontforge/files/patch-ab
deleted file mode 100644
index bbb964fd9827..000000000000
--- a/print/fontforge/files/patch-ab
+++ /dev/null
@@ -1,11 +0,0 @@
---- pfaedit/prefs.c.orig Thu Aug 9 08:55:45 2001
-+++ pfaedit/prefs.c Thu Aug 23 19:22:49 2001
-@@ -134,7 +134,7 @@
- GFileBuildName(GResourceProgramDir,buffer,full,sizeof(full));
- }
- if ( !GFileExists(full)) {
-- GFileBuildName("/usr/share/pfaedit",buffer,full,sizeof(full));
-+ GFileBuildName("/usr/local/share/pfaedit",buffer,full,sizeof(full));
- if ( !GFileExists(full) && strlen(loc)>5 ) {
- strcpy(buffer+13,".ui");
- GFileBuildName(GResourceProgramDir,buffer,full,sizeof(full));
diff --git a/print/fontforge/pkg-descr b/print/fontforge/pkg-descr
index 8e8d7901848f..6c6beead21e9 100644
--- a/print/fontforge/pkg-descr
+++ b/print/fontforge/pkg-descr
@@ -7,4 +7,4 @@ imported bitmap images.
For more Information, see
-WWW: http://bibliofile.mc.duke.edu/gww/FreeWare/PfaEdit/
+WWW: http://PfaEdit.sourceforge.net/
diff --git a/print/pfaedit/Makefile b/print/pfaedit/Makefile
index abf4ca7bfd41..69168e48493b 100644
--- a/print/pfaedit/Makefile
+++ b/print/pfaedit/Makefile
@@ -6,33 +6,40 @@
#
PORTNAME= pfaedit
-PORTVERSION= 20010808
+PORTVERSION= 20011124
CATEGORIES= print
-MASTER_SITES= http://pfaedit.sourceforge.net/
+MASTER_SITES= http://pfaedit.sourceforge.net/
DISTFILES= ${PORTNAME}_src-${DIST_VER}.tgz \
libgunicode-${LIBGUNI_VER}.tgz libgdraw-${LIBGDRAW_VER}.tgz \
cidmaps.tgz
MAINTAINER= kanou@mil.allnet.ne.jp
-DIST_VER= 010808
-LIBGDRAW_VER= 010808
-LIBGUNI_VER= 010808
-
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
ungif.5:${PORTSDIR}/graphics/libungif
+USE_GMAKE= yes
USE_XLIB= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET= pfaedit
MAN1= pfaedit.1
+DIST_VER= 011124
+LIBGDRAW_VER= 011123
+LIBGUNI_VER= 011123
+
+post-patch:
+ ${PERL} -pi.orig -e 's,/usr/share/,${PREFIX}/share/,g' \
+ ${WRKSRC}/pfaedit/pfaedit.1
+ ${PERL} -pi.orig -e 's,/usr/pkg/,${PREFIX}/,g' \
+ ${WRKSRC}/*/[mM]akefile.*
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pfaedit/pfaedit ${PREFIX}/bin
${MKDIR} ${PREFIX}/share/pfaedit
diff --git a/print/pfaedit/distinfo b/print/pfaedit/distinfo
index 8e644bd81795..f278c4a8fab9 100644
--- a/print/pfaedit/distinfo
+++ b/print/pfaedit/distinfo
@@ -1,4 +1,4 @@
-MD5 (pfaedit_src-010808.tgz) = 5d6d99029a038e4930279cc882abfc2b
+MD5 (pfaedit_src-011124.tgz) = 3467a2ceb5ae00b94b1c4476e79cafb7
+MD5 (libgunicode-011123.tgz) = 9152584fcfd18d7c2407cd7d47aef437
+MD5 (libgdraw-011123.tgz) = 1915e949938b7f83ffb3b2fbbe77699c
MD5 (cidmaps.tgz) = b2f5fd18ea3c8205e6923832505bf73b
-MD5 (libgunicode-010808.tgz) = 4d45e6d0e772b12f5664a4064f9fbdf5
-MD5 (libgdraw-010808.tgz) = 6b5db477d345fdf72165d6248ab4534c
diff --git a/print/pfaedit/files/patch-aa b/print/pfaedit/files/patch-aa
deleted file mode 100644
index 6e25fa327010..000000000000
--- a/print/pfaedit/files/patch-aa
+++ /dev/null
@@ -1,20 +0,0 @@
---- pfaedit/encoding.c.orig Sat Aug 4 06:27:24 2001
-+++ pfaedit/encoding.c Thu Aug 23 19:21:17 2001
-@@ -683,7 +683,7 @@
- if ( file==NULL )
- file = SearchDirForCidMap(GResourceProgramDir,registry,ordering,supplement,&maybefile);
- if ( file==NULL )
-- file = SearchDirForCidMap("/usr/share/pfaedit",registry,ordering,supplement,&maybefile);
-+ file = SearchDirForCidMap("/usr/local/share/pfaedit",registry,ordering,supplement,&maybefile);
-
- if ( file==NULL && (maybe!=NULL || maybefile!=NULL)) {
- if ( maybefile!=NULL ) {
-@@ -864,7 +864,7 @@
- }
- FindMapsInDir(&block,".");
- FindMapsInDir(&block,GResourceProgramDir);
-- FindMapsInDir(&block,"/usr/share/pfaedit");
-+ FindMapsInDir(&block,"/usr/local/share/pfaedit");
-
- choices = gcalloc(block.cur+2,sizeof(unichar_t *));
- choices[0] = u_copy(GStringGetResource(_STR_Browse,NULL));
diff --git a/print/pfaedit/files/patch-ab b/print/pfaedit/files/patch-ab
deleted file mode 100644
index bbb964fd9827..000000000000
--- a/print/pfaedit/files/patch-ab
+++ /dev/null
@@ -1,11 +0,0 @@
---- pfaedit/prefs.c.orig Thu Aug 9 08:55:45 2001
-+++ pfaedit/prefs.c Thu Aug 23 19:22:49 2001
-@@ -134,7 +134,7 @@
- GFileBuildName(GResourceProgramDir,buffer,full,sizeof(full));
- }
- if ( !GFileExists(full)) {
-- GFileBuildName("/usr/share/pfaedit",buffer,full,sizeof(full));
-+ GFileBuildName("/usr/local/share/pfaedit",buffer,full,sizeof(full));
- if ( !GFileExists(full) && strlen(loc)>5 ) {
- strcpy(buffer+13,".ui");
- GFileBuildName(GResourceProgramDir,buffer,full,sizeof(full));
diff --git a/print/pfaedit/pkg-descr b/print/pfaedit/pkg-descr
index 8e8d7901848f..6c6beead21e9 100644
--- a/print/pfaedit/pkg-descr
+++ b/print/pfaedit/pkg-descr
@@ -7,4 +7,4 @@ imported bitmap images.
For more Information, see
-WWW: http://bibliofile.mc.duke.edu/gww/FreeWare/PfaEdit/
+WWW: http://PfaEdit.sourceforge.net/