Hi Yaakow

When using

 cygport pstoedit.cygport compile

I get the following error

 xargs: unmatched single quote; by default quotes are special to xargs unless 
you use the -0 option

cygport file and patch attached. Could you take a look ?

Ciao
  Volker

NAME="pstoedit"
VERSION=3.70
RELEASE=2
CATEGORY="Graphics"
SUMMARY="A tool converting PostScript and PDF files into various vector graphic 
formats"
DESCRIPTION="Converts Postscript and PDF files to various editable vector 
graphics formats, 
including xfig, ai, idraw, metapost, gnu metafile, and others."

HOMEPAGE="http://www.pstoedit.net/";
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
PATCH_URI="
  pstoedit-pcin.patch
"

# Build dependencies only
DEPEND="libEMF-devel libplotter-devel"


abi=0
PKG_NAMES="${PN} lib${PN}${abi} ${PN}-devel"
pstoedit_SUMMARY="${SUMMARY} (utilities)"
pstoedit_REQUIRES="ghostscript"
pstoedit_CONTENTS="
  usr/bin/*.exe
  usr/share/doc/
  usr/share/man/
  usr/share/pstoedit/
"
libpstoedit0_CATEGORY="Libs ${CATEGORY}"
libpstoedit0_SUMMARY="${SUMMARY} (runtime)"
libpstoedit0_CONTENTS="
  usr/bin/*-${abi}.dll
  usr/lib/pstoedit/
"
pstoedit_devel_CATEGORY="Devel ${CATEGORY}"
pstoedit_devel_SUMMARY="${SUMMARY} (development)"
pstoedit_devel_REQUIRES="libgd-devel libEMF-devel libMagick-devel libming-devel 
libplotter-devel gcc-core gcc-g++ libzip-devel"
pstoedit_devel_CONTENTS="
  usr/include/
  usr/lib/lib*
  usr/lib/pkgconfig/
  usr/share/aclocal/
"


DIFF_EXCLUDES="copying"
         
MAKEOPTS="-j1"

CPPFLAGS+=-I/usr/lib/libzip/include


src_install() {
        cd ${B}
        cyginstall
        
        doman ${S}/doc/pstoedit.1

        dodir /usr/share/doc/${PN}/java1
        dodir /usr/share/doc/${PN}/java2
        
        cp ${S}/contrib/java/java1/{*.java,*.txt}        
${D}/usr/share/doc/${PN}/java1
        cp ${S}/contrib/java/java2/{*.java,*.html,*.gif} 
${D}/usr/share/doc/${PN}/java2
}

DOCS="readme.install doc/*.htm doc/readme.txt"
--- origsrc/pstoedit-3.70/config/pstoedit.pc.in	2013-06-23 22:55:36.000000000 +0200
+++ src/pstoedit-3.70/config/pstoedit.pc.in	2016-06-28 20:58:51.737468100 +0200
@@ -7,5 +7,5 @@ Name: pstoedit
 Description: converts PostScript(TM) and PDF files to other vector graphic formats
 Version: @VERSION@.0
 Requires: 
-Libs: -L@libdir@ -lpstoedit @LIBPNG_LDFLAGS@ @CXX_STD_LIB@ @CXX_RUNTIME_LIB@ @LIBLD_LDFLAGS@
+Libs: -L@libdir@ -lpstoedit @CXX_STD_LIB@ @CXX_RUNTIME_LIB@ @LIBLD_LDFLAGS@
 Cflags: -I@includedir@

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to