Remove xpdf-utils (replaced by poppler-utils). Only keep pdfdetach(1) which

is not in poppler.

input from and ok kili@
This commit is contained in:
ajacoutot 2012-06-06 18:28:22 +00:00
parent 72ba0866cb
commit 35882a6904
7 changed files with 29 additions and 47 deletions

View File

@ -1,11 +1,9 @@
# $OpenBSD: Makefile,v 1.81 2011/10/01 19:46:35 kili Exp $
# $OpenBSD: Makefile,v 1.82 2012/06/06 18:28:22 ajacoutot Exp $
COMMENT-main= PDF viewer for X11
COMMENT-utils= PDF conversion tools
COMMENT= PDF viewer for X11
DISTNAME= xpdf-3.03
PKGNAME-main= xpdf-3.03
PKGNAME-utils= xpdf-utils-3.03
REVISION= 0
CATEGORIES= textproc x11
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \
@ -14,8 +12,6 @@ MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \
HOMEPAGE= http://www.foolabs.com/xpdf/
MULTI_PACKAGES= -main -utils
# GPLv2 only or GPLv3 only or both (at our choice)
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
@ -25,22 +21,18 @@ PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS+= x11/openmotif
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+= --enable-multithreaded \
--without-Sgm-library \
--without-libpaper-library
CONFIGURE_ARGS= --enable-multithreaded \
--without-Sgm-library \
--without-libpaper-library
CONFIGURE_ENV= CPPFLAGS='-I${X11BASE}/include/freetype2 -I${X11BASE}/include -I${LOCALBASE}/include -DLOCALBASE="\"${LOCALBASE}\""' \
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib -lm -lz"
MAKE_ENV+=MOTIFLIB='-L${LOCALBASE}/lib -lXm'
LIB_DEPENDS-utils=
RUN_DEPENDS-utils= print/ghostscript/gnu-fonts
RUN_DEPENDS-main= ${RUN_DEPENDS-utils} \
${FULLPKGNAME-utils}:textproc/xpdf,-utils
RUN_DEPENDS= print/ghostscript/gnu-fonts
WANTLIB-utils= c m pthread stdc++ z
WANTLIB-main= ${WANTLIB} ${WANTLIB-utils} ICE SM X11 Xext Xpm Xt \
freetype Xm
WANTLIB= ICE SM X11 Xext Xpm Xt freetype Xm \
c m pthread stdc++ z
NO_REGRESS= Yes
@ -48,5 +40,10 @@ post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xpdf
${INSTALL_DATA} ${WRKSRC}/doc/sample-xpdfrc \
${PREFIX}/share/examples/xpdf/xpdfrc
# already in poppler-utils
.for i in pdffonts pdfimages pdfinfo pdftoppm pdftops pdftotext
rm ${PREFIX}/man/man1/$i.1
rm ${PREFIX}/bin/$i
.endfor
.include <bsd.port.mk>

3
textproc/xpdf/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
Xpdf is an open source viewer for Portable Document Format (PDF) files.
This package also provides pdfdetach(1), a PDF document embedded file
extractor.

View File

@ -1,3 +0,0 @@
Xpdf is an open source viewer for Portable Document Format (PDF) files.
This package also provides a PDF to PostScript converter and an
advanced PDF to PNM converter.

View File

@ -1,3 +0,0 @@
These are various command line tools distributed by the Xpdf project,
including a PDF text extractor, a PDF to JPEG/PNM/PBM converter, and
other utilities such as pdffonts and pdfinfo.

12
textproc/xpdf/pkg/PLIST Normal file
View File

@ -0,0 +1,12 @@
@comment $OpenBSD: PLIST,v 1.12 2012/06/06 18:28:22 ajacoutot Exp $
@pkgpath textproc/xpdf,-main
@pkgpath textproc/xpdf,-utils
@conflict xpdf-utils-*
@bin bin/pdfdetach
@bin bin/xpdf
@man man/man1/pdfdetach.1
@man man/man1/xpdf.1
@man man/man5/xpdfrc.5
share/examples/xpdf/
share/examples/xpdf/xpdfrc
@sample ${SYSCONFDIR}/xpdfrc

View File

@ -1,8 +0,0 @@
@comment $OpenBSD: PLIST-main,v 1.2 2009/04/17 20:55:46 kili Exp $
@pkgpath textproc/xpdf
@bin bin/pdftoppm
@bin bin/pdftops
@bin bin/xpdf
@man man/man1/pdftoppm.1
@man man/man1/pdftops.1
@man man/man1/xpdf.1

View File

@ -1,16 +0,0 @@
@comment $OpenBSD: PLIST-utils,v 1.3 2011/10/01 19:46:35 kili Exp $
@conflict xpdf-<=3.02pl2p0
@bin bin/pdfdetach
@bin bin/pdffonts
@bin bin/pdfimages
@bin bin/pdfinfo
@bin bin/pdftotext
@man man/man1/pdfdetach.1
@man man/man1/pdffonts.1
@man man/man1/pdfimages.1
@man man/man1/pdfinfo.1
@man man/man1/pdftotext.1
@man man/man5/xpdfrc.5
share/examples/xpdf/
share/examples/xpdf/xpdfrc
@sample ${SYSCONFDIR}/xpdfrc