Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2002 14:03:45 +0900 (JST)
From:      KANOU Hiroki <kanou@mil.allnet.ne.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        kanou@mil.allnet.ne.jp
Subject:   ports/35759: maintainer update: print/pfaedit
Message-ID:  <200203110503.OAA38048@kappa.allnet.ne.jp>

next in thread | raw e-mail | index | archive | help

>Number:         35759
>Category:       ports
>Synopsis:       maintainer update: print/pfaedit
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 10 21:10:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     KANOU Hiroki
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD tin 4.5-STABLE FreeBSD 4.5-STABLE #0: Sun Mar 10 19:41:05 JST 2002 kanou@tin:/usr/src/sys/compile/TIN i386

>Description:

maintainer update of PfaEdit port.

- updated to current version,
- stopped to install everything by port because the sources can do better.
- modified to use port variables.

>How-To-Repeat:
>Fix:

diff -uNr pfaedit.orig/Makefile pfaedit/Makefile
--- pfaedit.orig/Makefile	Sun Mar 10 15:25:45 2002
+++ pfaedit/Makefile	Mon Mar 11 13:53:51 2002
@@ -9,9 +9,9 @@
 PORTVERSION=	20${DIST_VER}
 CATEGORIES=	print
 MASTER_SITES=	http://pfaedit.sourceforge.net/
-DISTFILES=	${PORTNAME}_full-${DIST_VER}.tgz cidmaps.tgz
+DISTFILES=	${EXTRACT_ONLY}
 .if !defined(NOPORTDOCS)
-DISTFILES+=	${PORTNAME}_htdocs-${DOC_VER}.tgz
+DISTFILES+=	${DOCFILE}
 .endif
 
 MAINTAINER=	kanou@mil.allnet.ne.jp
@@ -30,12 +30,14 @@
 WRKSRC=		${WRKDIR}/${PORTNAME}
 ALL_TARGET=	pfaedit
 
-MAN1=		pfaedit.1
+MAN1=		pfaedit.1 sfddiff.1
 
-DIST_VER=	020306
+DIST_VER=	020310
+EXTRACT_ONLY=	${PORTNAME}_full-${DIST_VER}.tgz cidmaps.tgz
 
 .if !defined(NOPORTDOCS)
 DOC_VER=	020214
+DOCFILE=	${PORTNAME}_htdocs-${DOC_VER}.tgz
 DOCFILES=	AA-Comparison.html HotKeys.html MetaFont.html \
 		Problems-MacOSX.html accented.html bezier.html bitmapview.html \
 		charview.html cidmenu.html cliargs.html corpchar.html \
@@ -77,27 +79,30 @@
 		document.nvd
 .endif
 
+.if !defined(NOPORTDOCS)
+post-extract:
+	${MKDIR} ${WRKDIR}/html
+	${TAR} -xzC ${WRKDIR}/html -f ${DISTDIR}/${DOCFILE}
+.endif
+
 post-patch:
 	${PERL} -pi.orig -e \
 		's,/usr/include/freetype2,${PREFIX}/include/freetype2 -I${PREFIX}/include,g' \
 		${WRKSRC}/configure ${WRKSRC}/configure.in \
 		${WRKSRC}/configure.pfaedit ${WRKSRC}/configure.pfaedit.in \
-		${WRKSRC}/configure.static ${WRKSRC}/configure.static.in \
+		${WRKSRC}/configure.static.in \
 		${WRKSRC}/configure.ttfmod ${WRKSRC}/configure.ttfmod.in
 	${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
-	${INSTALL_DATA} ${WRKDIR}/*.cidmap ${PREFIX}/share/pfaedit
-	${MKDIR} ${PREFIX}/share/doc/pfaedit
-	${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/pfaedit
-	${INSTALL_MAN} ${WRKSRC}/pfaedit/pfaedit.1 ${PREFIX}/man/man1
+post-install:
+	${INSTALL_DATA} ${WRKDIR}/*.cidmap ${DATADIR}
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
 .if !defined(NOPORTDOCS)
-	(cd ${WRKDIR}; ${INSTALL_DATA} ${DOCFILES} ${PREFIX}/share/doc/pfaedit)
+	(cd ${WRKDIR}/html; ${INSTALL_DATA} ${DOCFILES} ${DOCSDIR})
 .endif
 
 .include <bsd.port.mk>
diff -uNr pfaedit.orig/distinfo pfaedit/distinfo
--- pfaedit.orig/distinfo	Sun Mar 10 15:25:45 2002
+++ pfaedit/distinfo	Mon Mar 11 10:02:51 2002
@@ -1,3 +1,3 @@
-MD5 (pfaedit_full-020306.tgz) = 6a46ef5c46ca04aa5b7174f2ab0c9983
+MD5 (pfaedit_full-020310.tgz) = 9a9c71d32c32a759610a875443b8ec7c
 MD5 (cidmaps.tgz) = 888b70dd745242ba1f0f39015c3e8c88
 MD5 (pfaedit_htdocs-020214.tgz) = 4d05e14c3ad4a25edb3a5da93dcbbf83
diff -uNr pfaedit.orig/pkg-descr pfaedit/pkg-descr
--- pfaedit.orig/pkg-descr	Tue Dec 25 14:24:00 2001
+++ pfaedit/pkg-descr	Sun Mar 10 15:56:54 2002
@@ -3,8 +3,8 @@
 generate bitmaps and save in BDF format or embedded bitmaps in TrueType/
 OpenType fonts. 
 
-If you have installed AutoTrace Version 0.28 (older versions are
-incompatible to this version of PfaEdit), you can generate outlines
+If you have installed AutoTrace Version 0.28 or newer (older versions
+are incompatible to this version of PfaEdit), you can generate outlines
 from imported bitmap images. 
 
 For more information, see 
diff -uNr pfaedit.orig/pkg-plist pfaedit/pkg-plist
--- pfaedit.orig/pkg-plist	Fri Feb 22 15:52:23 2002
+++ pfaedit/pkg-plist	Mon Mar 11 13:44:15 2002
@@ -1,4 +1,5 @@
 bin/pfaedit
+bin/sfddiff
 %%PORTDOCS%%share/doc/pfaedit/AA-Comparison.html
 %%PORTDOCS%%share/doc/pfaedit/AmbrosiaFV-bm.png
 %%PORTDOCS%%share/doc/pfaedit/AmbrosiaFV.png
@@ -158,5 +159,9 @@
 share/pfaedit/Adobe-Japan1-4.cidmap
 share/pfaedit/Adobe-Japan2-0.cidmap
 share/pfaedit/Adobe-Korea1-2.cidmap
+share/pfaedit/pfaedit.de.ui
+share/pfaedit/pfaedit.en.ui
+share/pfaedit/pfaedit.fr.ui
+share/pfaedit/pfaedit.ru.ui
 @dirrm share/pfaedit
 %%PORTDOCS%%@dirrm share/doc/pfaedit
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203110503.OAA38048>