diff options
author | dillo <dillo@pkgsrc.org> | 2008-11-20 14:32:19 +0000 |
---|---|---|
committer | dillo <dillo@pkgsrc.org> | 2008-11-20 14:32:19 +0000 |
commit | 2ca5bf0c99c7d66f530f3028ef30b5ae6c4e581b (patch) | |
tree | 603e6b85e485c7ab9cc2fa7dab64b995f64ea2a8 /print | |
parent | 03ce036bfb73be7308d354e10c84301792a34f9b (diff) | |
download | pkgsrc-2ca5bf0c99c7d66f530f3028ef30b5ae6c4e581b.tar.gz |
Addition of package containing unsupported Xpdf headers from poppler.
Diffstat (limited to 'print')
-rw-r--r-- | print/poppler-includes/DESCR | 1 | ||||
-rw-r--r-- | print/poppler-includes/Makefile | 34 | ||||
-rw-r--r-- | print/poppler-includes/PLIST | 95 | ||||
-rw-r--r-- | print/poppler-includes/buildlink3.mk | 19 | ||||
-rw-r--r-- | print/poppler-includes/files/dir.sed | 3 | ||||
-rw-r--r-- | print/poppler-includes/files/extract.sed | 3 |
6 files changed, 155 insertions, 0 deletions
diff --git a/print/poppler-includes/DESCR b/print/poppler-includes/DESCR new file mode 100644 index 00000000000..47fe1be58e4 --- /dev/null +++ b/print/poppler-includes/DESCR @@ -0,0 +1 @@ +This provides the unsuppored Xpdf includes from the poppler project. diff --git a/print/poppler-includes/Makefile b/print/poppler-includes/Makefile new file mode 100644 index 00000000000..fd78fe754bf --- /dev/null +++ b/print/poppler-includes/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/11/20 14:32:19 dillo Exp $ +# + +.include "../../print/poppler/Makefile.common" + +PKGNAME= poppler-includes-${POPPLER_VERS} + +COMMENT= Poppler Xpdf includes (unsupported) +MAINTAINER= dillo@NetBSD.org + +CONFLICTS+= poppler-0.5.1 poppler-0.5.1nb1 poppler-0.5.1nb2 + +NO_BUILD= yes +PKG_DESTDIR_SUPPORT= user-destdir + +INCDIR=${DESTDIR}${PREFIX}/include + +.include "../../mk/bsd.prefs.mk" + +do-install: + ${INSTALL_DATA_DIR} ${INCDIR} + for subdir in poppler goo splash; \ + do \ + mf=${WRKSRC}/"$$subdir"/Makefile.am; \ + d=`sed -n -f ${FILESDIR}/dir.sed "$$mf"`; \ + ${INSTALL_DATA_DIR} ${INCDIR}/"$$d"; \ + sed -n -f ${FILESDIR}/extract.sed "$$mf" \ + | { while read f; \ + do \ + ${INSTALL_DATA} ${WRKSRC}/"$$subdir/$$f" ${INCDIR}/"$$d"; \ + done }; \ + done + +.include "../../mk/bsd.pkg.mk" diff --git a/print/poppler-includes/PLIST b/print/poppler-includes/PLIST new file mode 100644 index 00000000000..200f451040e --- /dev/null +++ b/print/poppler-includes/PLIST @@ -0,0 +1,95 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/11/20 14:32:19 dillo Exp $ +include/poppler/Annot.h +include/poppler/Array.h +include/poppler/BaseFile.h +include/poppler/BuiltinFont.h +include/poppler/BuiltinFontTables.h +include/poppler/CMap.h +include/poppler/Catalog.h +include/poppler/CharCodeToUnicode.h +include/poppler/CharTypes.h +include/poppler/CompactFontTables.h +include/poppler/DateInfo.h +include/poppler/Decrypt.h +include/poppler/Dict.h +include/poppler/Error.h +include/poppler/ErrorCodes.h +include/poppler/FileSpec.h +include/poppler/FontEncodingTables.h +include/poppler/FontInfo.h +include/poppler/Form.h +include/poppler/Function.h +include/poppler/Gfx.h +include/poppler/GfxFont.h +include/poppler/GfxState.h +include/poppler/GlobalParams.h +include/poppler/JArithmeticDecoder.h +include/poppler/JBIG2Stream.h +include/poppler/Lexer.h +include/poppler/Link.h +include/poppler/Movie.h +include/poppler/NameToCharCode.h +include/poppler/NameToUnicodeTable.h +include/poppler/Object.h +include/poppler/OptionalContent.h +include/poppler/Outline.h +include/poppler/OutputDev.h +include/poppler/PDFDoc.h +include/poppler/PDFDocEncoding.h +include/poppler/PSOutputDev.h +include/poppler/PSTokenizer.h +include/poppler/Page.h +include/poppler/PageTransition.h +include/poppler/Parser.h +include/poppler/PreScanOutputDev.h +include/poppler/ProfileData.h +include/poppler/SecurityHandler.h +include/poppler/Sound.h +include/poppler/Stream-CCITT.h +include/poppler/Stream.h +include/poppler/TextOutputDev.h +include/poppler/UTF8.h +include/poppler/UnicodeCClassTables.h +include/poppler/UnicodeCompTables.h +include/poppler/UnicodeDecompTables.h +include/poppler/UnicodeMap.h +include/poppler/UnicodeMapTables.h +include/poppler/UnicodeTypeTable.h +include/poppler/XRef.h +include/poppler/XpdfPluginAPI.h +include/poppler/goo/FixedPoint.h +include/poppler/goo/GooHash.h +include/poppler/goo/GooList.h +include/poppler/goo/GooMutex.h +include/poppler/goo/GooString.h +include/poppler/goo/GooTimer.h +include/poppler/goo/GooVector.h +include/poppler/goo/gfile.h +include/poppler/goo/gmem.h +include/poppler/goo/gtypes.h +include/poppler/poppler-config.h +include/poppler/splash/Splash.h +include/poppler/splash/SplashBitmap.h +include/poppler/splash/SplashClip.h +include/poppler/splash/SplashErrorCodes.h +include/poppler/splash/SplashFTFont.h +include/poppler/splash/SplashFTFontEngine.h +include/poppler/splash/SplashFTFontFile.h +include/poppler/splash/SplashFont.h +include/poppler/splash/SplashFontEngine.h +include/poppler/splash/SplashFontFile.h +include/poppler/splash/SplashFontFileID.h +include/poppler/splash/SplashGlyphBitmap.h +include/poppler/splash/SplashMath.h +include/poppler/splash/SplashPath.h +include/poppler/splash/SplashPattern.h +include/poppler/splash/SplashScreen.h +include/poppler/splash/SplashState.h +include/poppler/splash/SplashT1Font.h +include/poppler/splash/SplashT1FontEngine.h +include/poppler/splash/SplashT1FontFile.h +include/poppler/splash/SplashTypes.h +include/poppler/splash/SplashXPath.h +include/poppler/splash/SplashXPathScanner.h +@dirrm include/poppler/splash +@dirrm include/poppler/goo diff --git a/print/poppler-includes/buildlink3.mk b/print/poppler-includes/buildlink3.mk new file mode 100644 index 00000000000..9c4c3dfbd1d --- /dev/null +++ b/print/poppler-includes/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/11/20 14:32:19 dillo Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +POPPLER_INCLUDES_BUILDLINK3_MK:= ${POPPLER_INCLUDES_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= poppler-includes +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npoppler-includes} +BUILDLINK_PACKAGES+= poppler-includes +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}poppler-includes + +.if !empty(POPPLER_INCLUDES_BUILDLINK3_MK:M+) +BUILDLINK_API_DEPENDS.poppler-includes+= poppler-includes>=0.10.0 +BUILDLINK_PKGSRCDIR.poppler-includes?= ../../print/poppler-includes +.endif # POPPLER_INCLUDES_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/print/poppler-includes/files/dir.sed b/print/poppler-includes/files/dir.sed new file mode 100644 index 00000000000..a6008505d7e --- /dev/null +++ b/print/poppler-includes/files/dir.sed @@ -0,0 +1,3 @@ +1,/if ENABLE_XPDF_HEADERS/ d +/endif/,$ d +s,^[a-z_]*_includedir = ..includedir./,,p diff --git a/print/poppler-includes/files/extract.sed b/print/poppler-includes/files/extract.sed new file mode 100644 index 00000000000..f1c7c6a2147 --- /dev/null +++ b/print/poppler-includes/files/extract.sed @@ -0,0 +1,3 @@ +1,/if ENABLE_XPDF_HEADERS/ d +/endif/,$ d +s/ \([A-Za-z0-9_-]*\.h\).*/\1/p |