# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 name xpdf-tools ## keep version in sync w/ xpdf version 3.02 revision 0 categories graphics print maintainers nomaintainer platforms any homepage http://www.foolabs.com/xpdf/ ## conflicts with poppler until poppler renames its CLI tools ## (then conflicts w/ poppler-tools if it gets created) conflicts poppler supported_archs noarch description Wrapper port for xpdf CLI tools long_description {*}${description} distfiles depends_lib port:xpdf use_configure no build {} ## ## Note: the destroot section below currently uses lists of files ## to know what files to link. In the future we can use ## something like: ## set contents_list [registry_port_registered $portname]) ## to get the lists of binaries and man pages installed by ## the xpdf port. ## destroot { foreach binFile { pdffonts pdfimages pdfinfo pdftoppm pdftops pdftotext } { ln -s xpdf-${binFile} ${destroot}${prefix}/bin/${binFile} ln -s xpdf-${binFile}.1 ${destroot}${prefix}/share/man/man1/${binFile}.1 } } livecheck.type none