aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2008-03-24 03:52:36 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2008-03-24 03:52:36 +0000
commit6f32add9a75efb180e462ffbdb0b080bc88088e3 (patch)
tree0fc7af36e22fc0dc7c1dc8aacabf6fe117e881da /print
parentb8d245fedd5842fb6d68d0bdc6539885555a84e3 (diff)
downloadports-6f32add9a75efb180e462ffbdb0b080bc88088e3.tar.gz
ports-6f32add9a75efb180e462ffbdb0b080bc88088e3.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/Makefile1
-rw-r--r--print/ghostscript-gpl/Makefile22
-rw-r--r--print/ghostscript-gpl/Makefile.inc2
-rw-r--r--print/ghostscript-gpl/pkg-plist16
-rw-r--r--print/ghostscript8/Makefile22
-rw-r--r--print/ghostscript8/Makefile.inc2
-rw-r--r--print/ghostscript8/pkg-plist16
-rw-r--r--print/libspectre/Makefile24
-rw-r--r--print/libspectre/distinfo3
-rw-r--r--print/libspectre/pkg-descr3
-rw-r--r--print/libspectre/pkg-plist14
11 files changed, 69 insertions, 56 deletions
diff --git a/print/Makefile b/print/Makefile
index a3ae813d2cc7..5f13d336623d 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -169,6 +169,7 @@
SUBDIR += libotf
SUBDIR += libpaper
SUBDIR += libppd
+ SUBDIR += libspectre
SUBDIR += lilypond
SUBDIR += lout
SUBDIR += lpr-wrapper
diff --git a/print/ghostscript-gpl/Makefile b/print/ghostscript-gpl/Makefile
index 6ffb98dbf0bc..6314f9811acc 100644
--- a/print/ghostscript-gpl/Makefile
+++ b/print/ghostscript-gpl/Makefile
@@ -35,7 +35,8 @@ USE_GMAKE= yes
WANT_GNOME= yes
MAKE_ENV= CC="${CC}" CXX="${CXX}" CFLAGS_STANDARD="${CFLAGS}" \
XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \
- EXTRALIBS="${EXTRALIBS}"
+ EXTRALIBS="${EXTRALIBS}" \
+ SOC_LOADER="dxmainc.c"
PLIST_SUB= GS_VERSION="${GS_VERSION}" \
CIDFONTDIR="${CIDFONTDIR}"
@@ -44,7 +45,6 @@ OPTIONS= A4SIZE "Set A4 (not Letter) as a default paper size" off \
FT_BRIDGE "FreeType bridge" off \
ICONV "libiconv support (required by opvp/oprp drivers)" on \
JPNFONTS "Japanese font support" on \
- SHLIB "With shared libraries" off \
SVGALIB "svgalib support" off
.if defined(WITHOUT_X11)
OPTIONS+= X11 "X11 support" off
@@ -107,22 +107,10 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/libfreetype.a:${PORTSDIR}/print/freetype2
MAKE_ENV+= FT_BRIDGE=1 FT_ROOT="${WRKSRC}/freetype" FT_LIB_EXT=".a"
.endif
-.if defined(WITH_SHLIB)
-.if defined(WITHOUT_X11)
-MAKE_ENV+= SOC_LOADER="dxmainc.c"
-.else
-USE_GNOME+= gtk20
-MAKE_ENV+= SOC_LOADER="dxmain.c" \
- SOC_CFLAGS="`pkg-config --cflags gtk+-2.0`" \
- SOC_LIBS="`pkg-config --libs gtk+-2.0`"
-.endif
ALL_TARGET= so
INSTALL_TARGET= soinstall
USE_LDCONFIG= yes
-PLIST_SUB+= SHLIB="" SHLIB_VER="${GS_VERSION:R}"
-.else
-PLIST_SUB+= SHLIB="@comment "
-.endif
+PLIST_SUB+= SHLIB_VER="${GS_VERSION:R}"
GS_SRCS= ${DISTNAME}${EXTRACT_SUFX}
IJS_SRCS= ijs-0.35${EXTRACT_SUFX}
@@ -240,12 +228,8 @@ post-install:
${ECHO_MSG} ">>> in post-install ..."
${LN} -s -f ${LOCALBASE}/share/fonts/CIDFont ${CIDFONTDIR}/CIDFont
${ECHO_MSG} ">>> stripping gs ..."
-.if defined(WITH_SHLIB)
${STRIP_CMD} ${PREFIX}/bin/gsc ${PREFIX}/bin/gsx
${LN} -sf gsc ${PREFIX}/bin/gs
-.else
- ${STRIP_CMD} ${PREFIX}/bin/gs
-.endif
# for PCL3 driver
${ECHO_MSG} ">>> installing PCL3 utility in bindir ..."
${INSTALL_PROGRAM} ${WRKSRC}/bin/pcl3opts ${PREFIX}/bin
diff --git a/print/ghostscript-gpl/Makefile.inc b/print/ghostscript-gpl/Makefile.inc
index 25f98344187a..396004706b39 100644
--- a/print/ghostscript-gpl/Makefile.inc
+++ b/print/ghostscript-gpl/Makefile.inc
@@ -1,5 +1,5 @@
# $FreeBSD$
GS_VERSION= 8.61
-GS_REVISION= 3
+GS_REVISION= 4
GS_EPOCH= 0
diff --git a/print/ghostscript-gpl/pkg-plist b/print/ghostscript-gpl/pkg-plist
index 5391b6e65302..a50daa5553d3 100644
--- a/print/ghostscript-gpl/pkg-plist
+++ b/print/ghostscript-gpl/pkg-plist
@@ -8,13 +8,13 @@ bin/fixmswrd.pl
bin/font2c
bin/gs
bin/gsbj
-%%SHLIB%%bin/gsc
+bin/gsc
bin/gsdj
bin/gsdj500
bin/gslj
bin/gslp
bin/gsnd
-%%SHLIB%%bin/gsx
+bin/gsx
bin/lprsetup.sh
bin/pcl3opts
bin/pdf2dsc
@@ -35,11 +35,11 @@ bin/ps2ps2
bin/pv.sh
bin/unix-lpr.sh
bin/wftopfa
-%%SHLIB%%include/ghostscript/iapi.h
-%%SHLIB%%include/ghostscript/ierrors.h
-%%SHLIB%%lib/libgs.so
-%%SHLIB%%lib/libgs.so.%%SHLIB_VER%%
-%%SHLIB%%lib/libgs.so.%%GS_VERSION%%
+include/ghostscript/iapi.h
+include/ghostscript/ierrors.h
+lib/libgs.so
+lib/libgs.so.%%SHLIB_VER%%
+lib/libgs.so.%%GS_VERSION%%
%%PORTDOCS%%%%DOCSDIR%%/%%GS_VERSION%%/chp2200/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/%%GS_VERSION%%/chp2200/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/%%GS_VERSION%%/epag/ChangeLog
@@ -829,7 +829,7 @@ bin/wftopfa
%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-LetterRotated.ps
@exec ln -s -f %D/share/fonts/CIDFont %%CIDFONTDIR%%/CIDFont
@unexec rm -f %%CIDFONTDIR%%/CIDFont
-%%SHLIB%%@dirrm include/ghostscript
+@dirrm include/ghostscript
@dirrm %%DATADIR%%/%%GS_VERSION%%/pcl3
@dirrm %%DATADIR%%/%%GS_VERSION%%/lib
@dirrm %%DATADIR%%/%%GS_VERSION%%/examples
diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile
index 6ffb98dbf0bc..6314f9811acc 100644
--- a/print/ghostscript8/Makefile
+++ b/print/ghostscript8/Makefile
@@ -35,7 +35,8 @@ USE_GMAKE= yes
WANT_GNOME= yes
MAKE_ENV= CC="${CC}" CXX="${CXX}" CFLAGS_STANDARD="${CFLAGS}" \
XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \
- EXTRALIBS="${EXTRALIBS}"
+ EXTRALIBS="${EXTRALIBS}" \
+ SOC_LOADER="dxmainc.c"
PLIST_SUB= GS_VERSION="${GS_VERSION}" \
CIDFONTDIR="${CIDFONTDIR}"
@@ -44,7 +45,6 @@ OPTIONS= A4SIZE "Set A4 (not Letter) as a default paper size" off \
FT_BRIDGE "FreeType bridge" off \
ICONV "libiconv support (required by opvp/oprp drivers)" on \
JPNFONTS "Japanese font support" on \
- SHLIB "With shared libraries" off \
SVGALIB "svgalib support" off
.if defined(WITHOUT_X11)
OPTIONS+= X11 "X11 support" off
@@ -107,22 +107,10 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/libfreetype.a:${PORTSDIR}/print/freetype2
MAKE_ENV+= FT_BRIDGE=1 FT_ROOT="${WRKSRC}/freetype" FT_LIB_EXT=".a"
.endif
-.if defined(WITH_SHLIB)
-.if defined(WITHOUT_X11)
-MAKE_ENV+= SOC_LOADER="dxmainc.c"
-.else
-USE_GNOME+= gtk20
-MAKE_ENV+= SOC_LOADER="dxmain.c" \
- SOC_CFLAGS="`pkg-config --cflags gtk+-2.0`" \
- SOC_LIBS="`pkg-config --libs gtk+-2.0`"
-.endif
ALL_TARGET= so
INSTALL_TARGET= soinstall
USE_LDCONFIG= yes
-PLIST_SUB+= SHLIB="" SHLIB_VER="${GS_VERSION:R}"
-.else
-PLIST_SUB+= SHLIB="@comment "
-.endif
+PLIST_SUB+= SHLIB_VER="${GS_VERSION:R}"
GS_SRCS= ${DISTNAME}${EXTRACT_SUFX}
IJS_SRCS= ijs-0.35${EXTRACT_SUFX}
@@ -240,12 +228,8 @@ post-install:
${ECHO_MSG} ">>> in post-install ..."
${LN} -s -f ${LOCALBASE}/share/fonts/CIDFont ${CIDFONTDIR}/CIDFont
${ECHO_MSG} ">>> stripping gs ..."
-.if defined(WITH_SHLIB)
${STRIP_CMD} ${PREFIX}/bin/gsc ${PREFIX}/bin/gsx
${LN} -sf gsc ${PREFIX}/bin/gs
-.else
- ${STRIP_CMD} ${PREFIX}/bin/gs
-.endif
# for PCL3 driver
${ECHO_MSG} ">>> installing PCL3 utility in bindir ..."
${INSTALL_PROGRAM} ${WRKSRC}/bin/pcl3opts ${PREFIX}/bin
diff --git a/print/ghostscript8/Makefile.inc b/print/ghostscript8/Makefile.inc
index 25f98344187a..396004706b39 100644
--- a/print/ghostscript8/Makefile.inc
+++ b/print/ghostscript8/Makefile.inc
@@ -1,5 +1,5 @@
# $FreeBSD$
GS_VERSION= 8.61
-GS_REVISION= 3
+GS_REVISION= 4
GS_EPOCH= 0
diff --git a/print/ghostscript8/pkg-plist b/print/ghostscript8/pkg-plist
index 5391b6e65302..a50daa5553d3 100644
--- a/print/ghostscript8/pkg-plist
+++ b/print/ghostscript8/pkg-plist
@@ -8,13 +8,13 @@ bin/fixmswrd.pl
bin/font2c
bin/gs
bin/gsbj
-%%SHLIB%%bin/gsc
+bin/gsc
bin/gsdj
bin/gsdj500
bin/gslj
bin/gslp
bin/gsnd
-%%SHLIB%%bin/gsx
+bin/gsx
bin/lprsetup.sh
bin/pcl3opts
bin/pdf2dsc
@@ -35,11 +35,11 @@ bin/ps2ps2
bin/pv.sh
bin/unix-lpr.sh
bin/wftopfa
-%%SHLIB%%include/ghostscript/iapi.h
-%%SHLIB%%include/ghostscript/ierrors.h
-%%SHLIB%%lib/libgs.so
-%%SHLIB%%lib/libgs.so.%%SHLIB_VER%%
-%%SHLIB%%lib/libgs.so.%%GS_VERSION%%
+include/ghostscript/iapi.h
+include/ghostscript/ierrors.h
+lib/libgs.so
+lib/libgs.so.%%SHLIB_VER%%
+lib/libgs.so.%%GS_VERSION%%
%%PORTDOCS%%%%DOCSDIR%%/%%GS_VERSION%%/chp2200/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/%%GS_VERSION%%/chp2200/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/%%GS_VERSION%%/epag/ChangeLog
@@ -829,7 +829,7 @@ bin/wftopfa
%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-LetterRotated.ps
@exec ln -s -f %D/share/fonts/CIDFont %%CIDFONTDIR%%/CIDFont
@unexec rm -f %%CIDFONTDIR%%/CIDFont
-%%SHLIB%%@dirrm include/ghostscript
+@dirrm include/ghostscript
@dirrm %%DATADIR%%/%%GS_VERSION%%/pcl3
@dirrm %%DATADIR%%/%%GS_VERSION%%/lib
@dirrm %%DATADIR%%/%%GS_VERSION%%/examples
diff --git a/print/libspectre/Makefile b/print/libspectre/Makefile
new file mode 100644
index 000000000000..088dbfddf853
--- /dev/null
+++ b/print/libspectre/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: libspectre
+# Date created: 2008-03-12
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/print/libspectre/Makefile,v 1.2 2008/03/13 16:30:50 ahze Exp $
+
+PORTNAME= libspectre
+PORTVERSION= 0.2.0
+CATEGORIES= print
+MASTER_SITES= http://libspectre.freedesktop.org/releases/
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A small library for rendering Postscript documents
+
+LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo
+
+USE_AUTOTOOLS= libtool:15
+USE_LDCONFIG= yes
+USE_GNOME= gnomehack gnomeprefix ltverhack
+USE_GHOSTSCRIPT=yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+
+.include <bsd.port.mk>
diff --git a/print/libspectre/distinfo b/print/libspectre/distinfo
new file mode 100644
index 000000000000..e5586f79db68
--- /dev/null
+++ b/print/libspectre/distinfo
@@ -0,0 +1,3 @@
+MD5 (libspectre-0.2.0.tar.gz) = 6dc4382d8c9cd355a76c4516f6e6f6e3
+SHA256 (libspectre-0.2.0.tar.gz) = 200285d12e4139cb263cb13b3a9240daf6ac2b89b9f9081734d955fc0862e548
+SIZE (libspectre-0.2.0.tar.gz) = 383362
diff --git a/print/libspectre/pkg-descr b/print/libspectre/pkg-descr
new file mode 100644
index 000000000000..63383bb8bafb
--- /dev/null
+++ b/print/libspectre/pkg-descr
@@ -0,0 +1,3 @@
+A small library for rendering Postscript documents
+
+WWW: http://libspectre.freedesktop.org/wiki/
diff --git a/print/libspectre/pkg-plist b/print/libspectre/pkg-plist
new file mode 100644
index 000000000000..ad5024a0b24f
--- /dev/null
+++ b/print/libspectre/pkg-plist
@@ -0,0 +1,14 @@
+include/libspectre/spectre-document.h
+include/libspectre/spectre-exporter.h
+include/libspectre/spectre-macros.h
+include/libspectre/spectre-page.h
+include/libspectre/spectre-render-context.h
+include/libspectre/spectre-status.h
+include/libspectre/spectre-version.h
+include/libspectre/spectre.h
+lib/libspectre.a
+lib/libspectre.la
+lib/libspectre.so
+lib/libspectre.so.1
+libdata/pkgconfig/libspectre.pc
+@dirrm include/libspectre