diff --git a/print/R-cran-knitr/Makefile b/print/R-cran-knitr/Makefile index a49565acb0ff..088e3b35205e 100644 --- a/print/R-cran-knitr/Makefile +++ b/print/R-cran-knitr/Makefile @@ -1,23 +1,21 @@ -# Created by: TAKATSU Tomonari - PORTNAME= knitr PORTVERSION= 1.39 CATEGORIES= print DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= tota@FreeBSD.org COMMENT= General-Purpose Package for Dynamic Report Generation in R LICENSE= GPLv2+ CRAN_DEPENDS= R-cran-evaluate>=0.15:devel/R-cran-evaluate \ R-cran-highr>0:textproc/R-cran-highr \ R-cran-stringr>=0.6:textproc/R-cran-stringr \ R-cran-yaml>=2.1.19:textproc/R-cran-yaml \ R-cran-xfun>=0.29:misc/R-cran-xfun BUILD_DEPENDS= ${CRAN_DEPENDS} RUN_DEPENDS= ${CRAN_DEPENDS} USES= cran:auto-plist .include diff --git a/print/a2pdf/Makefile b/print/a2pdf/Makefile index 50bad0a73209..ff2bbdaafc16 100644 --- a/print/a2pdf/Makefile +++ b/print/a2pdf/Makefile @@ -1,27 +1,25 @@ -# Created by: Andrew Pantyukhin - PORTNAME= a2pdf PORTVERSION= 1.13 PORTREVISION= 2 CATEGORIES= print perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:JONALLEN MAINTAINER= portmaster@BSDforge.com COMMENT= Text to PDF converter LICENSE= ART20 BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-File-Type>=0:devel/p5-File-Type \ p5-Image-Size>=0:graphics/p5-Image-Size \ p5-PDF-API2>=0:textproc/p5-PDF-API2 \ p5-Switch>=0:lang/p5-Switch \ perltidy:devel/p5-Perl-Tidy USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/print/a2ps/Makefile b/print/a2ps/Makefile index e11279b47ce5..a9ced2d028f8 100644 --- a/print/a2ps/Makefile +++ b/print/a2ps/Makefile @@ -1,92 +1,90 @@ -# Created by: Chuck Robey - PORTNAME= a2ps PORTVERSION= 4.13b PORTREVISION= 16 CATEGORIES= print MASTER_SITES= GNU LOCAL/hrs/a2ps/:i18n MAINTAINER= dinoex@FreeBSD.org COMMENT= Formats an ASCII file for printing on a postscript printer LICENSE= GPLv2 LIB_DEPENDS= libpaper.so:print/libpaper PORTSCOUT= skipv:4.14 USES= perl5 cpe USE_CSTD= gnu89 GNU_CONFIGURE= yes USE_LDCONFIG= yes INFO= a2ps ogonkify regex WRKSRC= ${WRKDIR}/${PORTNAME}-4.13 I18N_PACKAGE= i18n-fonts-0.1 CPE_VENDOR= gnu # CVE-2015-8107 fixed in files/patch-output.c # CVE-2014-0466 fixed in files/patch-fixps.in # CVE-2004-1377 fixed in files/patch-fixps.in files/patch-contrib-tmpdircreation # CVE-2004-1170 fixed in files/patch-select.c # CVE-2001-1593 fixed in files/patch-routines.[hc] CONFIGURE_ARGS= --with-medium=libpaper --sharedstatedir=${PREFIX}/share \ --sysconfdir=${PREFIX}/etc --datadir=${PREFIX}/share \ --localstatedir=${PREFIX}/share LIBS+= -L${LOCALBASE}/lib PAPERSIZE?= .if ${PAPERSIZE:tl} == a4 RUN_DEPENDS+= ${LOCALBASE}/etc/papersize:print/papersize-default-a4 .endif OPTIONS_DEFINE=NLS I18N EMACS NO_OPTIONS_SORT=yes OPTIONS_SUB= yes EMACS_DESC=Enable Emacs support I18N_DESC=Enable I18N support NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls EMACS_USES= emacs:build EMACS_CONFIGURE_ON= --with-lispdir=${LOCALBASE}/${EMACS_SITE_LISPDIR} .include .if ! ${PORT_OPTIONS:MEMACS} CONFIGURE_ENV+= EMACS=no .endif .if ${OPSYS} == FreeBSD && ${OSVERSION} > 1300512 CFLAGS+= -DHAVE_MEMPCPY .endif post-patch: ${REINPLACE_CMD} -e 's|^DESTDIR|#DESTDIR|' \ `${FIND} ${WRKSRC} -name "Makefile.in"` .if ${PORT_OPTIONS:MI18N} #DISTFILES+= ${I18N_PACKAGE}${EXTRACT_SUFX}:i18n DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${I18N_PACKAGE}${EXTRACT_SUFX}:i18n pre-configure: cd ${WRKDIR}/${I18N_PACKAGE}/afm && \ ${ECHO_CMD} *.afm > afms.lst && \ ${MV} *.afm ${WRKSRC}/afm cd ${WRKDIR}/${I18N_PACKAGE}/fonts && \ ${MV} *.pfb ${WRKSRC}/fonts post-configure: @cd ${WRKSRC}/fonts && { ${ECHO_CMD} ''; \ ${ECHO_CMD} "pfb_fonts =" *.pfb; } >> Makefile && \ ${REINPLACE_CMD} 's,^\(fonts_DATA = .*\),\1 $$(pfb_fonts),' Makefile @cd ${WRKSRC}/afm && { ${ECHO_CMD} ''; \ ${ECHO_CMD} "i18n_afms =" `cat ${WRKDIR}/${I18N_PACKAGE}/afm/afms.lst`; } >> Makefile && \ ${REINPLACE_CMD} 's,^\(all_afms = .*\),\1 $$(i18n_afms),' Makefile .endif post-install: cd ${WRKSRC}/doc && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${.MAKEFLAGS} ${MAKE_ARGS} ${INSTALL_TARGET} ${RM} ${STAGEDIR}${PREFIX}/lib/liba2ps.la .include diff --git a/print/abcm2ps/Makefile b/print/abcm2ps/Makefile index ca21575249c4..708ad7152763 100644 --- a/print/abcm2ps/Makefile +++ b/print/abcm2ps/Makefile @@ -1,43 +1,41 @@ -# Created by: arved - PORTNAME= abcm2ps PORTVERSION= 8.13.23 DISTVERSIONPREFIX= v CATEGORIES= print audio MAINTAINER= ports@FreeBSD.org COMMENT= Converts ABC to music sheet in PostScript format LICENSE= GPLv2 USES= cpe gettext-runtime gnome MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" CPE_VENDOR= moinejf GNU_CONFIGURE= yes USE_GNOME= pango cairo glib20 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 ALL_TARGET= ${PORTNAME} USE_GITHUB= yes GH_ACCOUNT= leesavide PORTDOCS= deco.abc newfeatures.abc sample.abc sample2.abc\ sample3.abc sample4.abc voices.abc sample3.eps \ options.txt PLIST_FILES= bin/abcm2ps \ %%DATADIR%%/flute.fmt %%DATADIR%%/landscape.fmt \ %%DATADIR%%/musicfont.fmt OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/abcm2ps ${STAGEDIR}${PREFIX}/bin/ @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/*.fmt ${STAGEDIR}${DATADIR}/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ .include diff --git a/print/adobe-cmaps/Makefile b/print/adobe-cmaps/Makefile index 6c6a4327c2b1..f5726dc91c51 100644 --- a/print/adobe-cmaps/Makefile +++ b/print/adobe-cmaps/Makefile @@ -1,32 +1,30 @@ -# Created by: KATO Tsuguru - PORTNAME= adobe-cmaps PORTVERSION= 20051217 PORTREVISION= 4 CATEGORIES= print MASTER_SITES= LOCAL/hrs/adobe DISTFILES= ac15.tar.gz ag15.tar.gz \ ai0.tar.gz aj16.tar.gz \ aj20.tar.gz ak12.tar.gz rksj-cmaps.tar.gz DIST_SUBDIR= adobe MAINTAINER= hrs@FreeBSD.org COMMENT= Adobe CMap collection USES= fonts NO_WRKSUBDIR= yes NO_ARCH= yes NO_BUILD= yes INSTDIRS= ac15 ag15 ai0 aj16 aj20 ak12 rksj-cmaps FONTSDIR= ${PREFIX}/share/fonts/${PORTNAME} post-extract: ${RM} ${WRKSRC}/ag15/.nfsFA55 do-install: ${MKDIR} ${STAGEDIR}${FONTSDIR} cd ${WRKSRC} && \ ${TAR} cf - ${INSTDIRS} | \ (cd ${STAGEDIR}${FONTSDIR} && ${TAR} xf - ) .include diff --git a/print/afm/Makefile b/print/afm/Makefile index eaf0bfe45448..cb37b78b09c1 100644 --- a/print/afm/Makefile +++ b/print/afm/Makefile @@ -1,18 +1,16 @@ -# Created by: ljo - PORTNAME= afm PORTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ftp://ftp.sgi.com/sgi/fax/source/ DISTNAME= afm EXTRACT_SUFX= -tar.Z MAINTAINER= ports@FreeBSD.org COMMENT= Adobe Font Metrics NO_BUILD= yes pre-patch: @${RM} -r ${WRKSRC}/RCS .include diff --git a/print/alignmargins/Makefile b/print/alignmargins/Makefile index 22bf9a00f6aa..21f3882a65ff 100644 --- a/print/alignmargins/Makefile +++ b/print/alignmargins/Makefile @@ -1,33 +1,31 @@ -# Created by: Michael Nottebrock - PORTNAME= alignmargins PORTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= LOCAL/lofi \ http://www.linuxprinting.org/download/printing/ DISTFILES= alignmargins align.ps MAINTAINER= ports@FreeBSD.org COMMENT= Utility script to generate custom margins in PPDs for CUPS NO_BUILD= yes USES= perl5 do-extract: @${MKDIR} ${WRKSRC} .for f in ${DISTFILES} @${CP} ${DISTDIR}/${DIST_SUBDIR}/${f} ${WRKSRC} .endfor post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ -e 's|%%DATADIR%%|${DATADIR}|g' \ ${WRKSRC}/alignmargins do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/align.ps ${STAGEDIR}${DATADIR} .include diff --git a/print/ansiprint/Makefile b/print/ansiprint/Makefile index 90177441f38c..d1bd3565cdf3 100644 --- a/print/ansiprint/Makefile +++ b/print/ansiprint/Makefile @@ -1,25 +1,23 @@ -# Created by: Stephen Fisher - PORTNAME= ansiprint PORTVERSION= 1.0 CATEGORIES= print MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Prints through a terminal with ANSI escape sequences USES= tar:tgz PLIST_FILES= bin/${PORTNAME} CXXFLAGS+= -Wno-deprecated post-extract: @${RM} ${WRKSRC}/Makefile do-build: cd ${WRKSRC} && ${CXX} ${CXXFLAGS} -o ${PORTNAME} ansiprint.cc do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/print/asprint/Makefile b/print/asprint/Makefile index 23dc3f1fb1c3..4c51b8a3aaee 100644 --- a/print/asprint/Makefile +++ b/print/asprint/Makefile @@ -1,22 +1,20 @@ -# Created by: brett@peloton.physics.montana.edu - PORTNAME= asprint PORTVERSION= 1.0 PORTREVISION= 3 CATEGORIES= print MASTER_SITES= AFTERSTEP/apps/asprint DISTNAME= asprint MAINTAINER= ports@FreeBSD.org COMMENT= Simple browser to allow a user to print PLIST_FILES= bin/asprint USES= xorg USE_XORG= xmu xpm xt xaw x11 ALL_TARGET= asprint MAKEFILE= makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/asprint ${STAGEDIR}${PREFIX}/bin .include diff --git a/print/auctex/Makefile b/print/auctex/Makefile index 562a219c71ce..990dc9424775 100644 --- a/print/auctex/Makefile +++ b/print/auctex/Makefile @@ -1,35 +1,33 @@ -# Created by: Martin Kammerhofer - PORTNAME= auctex PORTVERSION= 13.1 CATEGORIES= print elisp MASTER_SITES= GNU PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} MAINTAINER= hrs@FreeBSD.org COMMENT= Integrated environment for writing LaTeX using GNU Emacs LICENSE= GPLv3 .if ${FLAVOR:U} == devel_full || ${FLAVOR:U} == devel_nox BROKEN= tex.el:0:0: error: wrong-type-argument: (stringp nil) .endif USES= emacs ghostscript gmake USE_TEX= latex texhash TEXHASHDIRS= ${TEXMFDIR} GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} \ --with-auto-dir=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/auctex/auto \ --with-texmf-dir=${PREFIX}/${TEXMFDIR} PORTDOCS= tex-ref.pdf INFO= auctex preview-latex PLIST_SUB= TEXMFDIR=${TEXMFDIR} SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS DOCS_CONFIGURE_ON= --docdir=${DOCSDIR} DOCS_CONFIGURE_OFF= WITHOUT_AUCTEX_DOCSDIR=yes .include diff --git a/print/bibcursed/Makefile b/print/bibcursed/Makefile index bfe0b763dbfb..a001eb1c0ca0 100644 --- a/print/bibcursed/Makefile +++ b/print/bibcursed/Makefile @@ -1,25 +1,23 @@ -# Created by: ijliao - PORTNAME= bibcursed PORTVERSION= 2.0.1 CATEGORIES= print MASTER_SITES= SF DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Simple curses-based editor for BibTeX bibliography files USES= ncurses tar:tgz WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/bibcursed man/man1/bibcursed.1.gz do-build: (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${CC} ${CFLAGS} \ ${PORTNAME}.c -o ${PORTNAME} ${LDFLAGS} -lncurses) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/print/bibview/Makefile b/print/bibview/Makefile index 7d409202a255..cc82697b7c5c 100644 --- a/print/bibview/Makefile +++ b/print/bibview/Makefile @@ -1,16 +1,14 @@ -# Created by: dbader@eece.unm.edu - PORTNAME= bibview PORTVERSION= 2.2 PORTREVISION= 2 CATEGORIES= print databases MASTER_SITES= TEX_CTAN/biblio/bibtex/utils/bibview-2.0 MAINTAINER= ports@FreeBSD.org COMMENT= Graphical interface for manipulating BibTeX bibliography databases USES= imake xorg USE_XORG= ice sm x11 xaw xext xmu xt WRKSRC= ${WRKDIR}/bibview-${PORTVERSION} .include diff --git a/print/c2ps/Makefile b/print/c2ps/Makefile index 3db447c7c5ff..a32f97804c8c 100644 --- a/print/c2ps/Makefile +++ b/print/c2ps/Makefile @@ -1,22 +1,20 @@ -# Created by: Matthew Hunt - PORTNAME= c2ps PORTVERSION= 4.0 PORTREVISION= 4 CATEGORIES= print MASTER_SITES= http://www.cs.technion.ac.il/users/c2ps/ MAINTAINER= hrs@FreeBSD.org COMMENT= PostScript pretty-printer for C source LIB_DEPENDS= libpaper.so:print/libpaper CPPFLAGS+= -I${LOCALBASE}/include PLIST_FILES= bin/c2ps man/man1/c2ps.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/c2ps ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/c2ps.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/print/catdvi/Makefile b/print/catdvi/Makefile index d79b877cfe0d..8ed9c8c2cb3f 100644 --- a/print/catdvi/Makefile +++ b/print/catdvi/Makefile @@ -1,30 +1,28 @@ -# Created by: ijliao - PORTNAME= catdvi PORTVERSION= 0.14 PORTREVISION= 7 CATEGORIES= print MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= DVI to text/plain translator LICENSE= GPLv2 USE_TEX= latex USES= gmake GNU_CONFIGURE= yes MAKEFILE= GNUmakefile ALL_TARGET= # empty MAKE_JOBS_UNSAFE= yes PLIST_FILES= bin/catdvi man/man1/catdvi.1.gz CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib do-install: ${INSTALL_PROGRAM} ${WRKSRC}/catdvi ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/catdvi.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/print/cdlabelgen/Makefile b/print/cdlabelgen/Makefile index e367e9da3f76..8500ce8b3394 100644 --- a/print/cdlabelgen/Makefile +++ b/print/cdlabelgen/Makefile @@ -1,29 +1,27 @@ -# Created by: Juergen Lock - PORTNAME= cdlabelgen PORTVERSION= 4.3.0 CATEGORIES= print perl5 MASTER_SITES= http://www.aczoom.com/pub/tools/ MAINTAINER= ports@FreeBSD.org COMMENT= Generate postscript for frontcards and traycards for CDs LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING USES= perl5 tar:tgz shebangfix SHEBANG_FILES= cdlabelgen NO_ARCH= yes NO_BUILD= yes MAKE_ARGS= BASE_DIR="${STAGEDIR}${PREFIX}" \ LIB_DIR="${STAGEDIR}${DATADIR}" \ INSTALL="${INSTALL_SCRIPT}" \ INSTALL_DIR="${MKDIR}" \ INSTALL_FILE="${INSTALL_DATA}" \ INSTALL_MAN="${INSTALL_MAN}" \ MAN_DIR="${STAGEDIR}${PREFIX}/man" post-extract: @${SED} -ne '5,35 {s|# *||;p;}' ${WRKSRC}/${PORTNAME} > ${WRKSRC}/COPYING .include diff --git a/print/cups-pdf/Makefile b/print/cups-pdf/Makefile index 5c98a2713d92..c7c92cad88c1 100644 --- a/print/cups-pdf/Makefile +++ b/print/cups-pdf/Makefile @@ -1,104 +1,102 @@ -# Created by: Mark Reidel - PORTNAME= cups-pdf DISTVERSION= 3.0.1 PORTREVISION= 2 CATEGORIES= print MASTER_SITES= http://www.cups-pdf.de/src/ \ http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/src/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Virtual printer for CUPS to produce PDF files LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcups.so:print/cups RUN_DEPENDS= ${LOCALBASE}/sbin/cupsd:print/cups USES= ghostscript:run localbase LIBS+= -lcups ETCDIR= ${PREFIX}/etc/cups WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= DOCS _SUBST_CMD= -e "s,\#GhostScript /usr/bin/gs,GhostScript ${LOCALBASE}/bin/gs," \ -e 's,\#GSTmp /var/tmp,GSTmp /tmp,' \ -e 's,\#Grp lp,Grp daemon,' \ -e 's,\#Spool /var/spool/cups-pdf/SPOOL,Spool /var/spool/cups-pdf,' _PDF_VERSIONS= 1.2 1.3 1.4 1.5 .include .ifdef(PDF_VERSION) .if "${_PDF_VERSIONS:M${PDF_VERSION}}" == "" BROKEN= Unsupported PDF-Version selected: ${PDF_VERSION} .endif _SUBST_CMD+= -e "s,\#PDFVer 1.4,PDFVer ${PDF_VERSION}," .endif .ifdef(HOME_SUBDIR) _SUBST_CMD+= -e 's,\#Out /var/spool/cups-pdf/$${USER},Out $${HOME}/${HOME_SUBDIR},' .elifdef(OUTPUT_DIRECTORY) _SUBST_CMD+= -e 's,\#Out /var/spool/cups-pdf/$${USER},Out ${OUTPUT_DIRECTORY},' .endif .ifdef(LOG_DIRECTORY) _SUBST_CMD+= -e "s,\#Log /var/log/cups,Log ${LOG_DIRECTORY}," .endif pre-everything:: .if !defined(PDF_VERSION) || !defined(HOME_SUBDIR) || \ !defined(OUTPUT_DIRECTORY) || !defined(LOG_DIRECTORY) @${ECHO_MSG} "" @${ECHO_MSG} "You may use the following build options:" @${ECHO_MSG} "" .endif .if !defined(PDF_VERSION) @${ECHO_MSG} "PDF_VERSION=${_PDF_VERSIONS:S/ /|/Wg} PDF-version of PDF-files produced" .endif .if !defined(HOME_SUBDIR) @${ECHO_MSG} "HOME_SUBDIR= Place produced PDF-files in the" @${ECHO_MSG} " directory ~//" .endif .if !defined(OUTPUT_DIRECTORY) @${ECHO_MSG} "OUTPUT_DIRECTORY= Place produced PDF-files in the" @${ECHO_MSG} " directory /" .endif .if !defined(LOG_DIRECTORY) @${ECHO_MSG} "LOG_DIRECTORY= Place logfile into /cups-pdf_log" .endif post-patch: @${REINPLACE_CMD} ${_SUBST_CMD} ${WRKSRC}/extra/cups-pdf.conf @${REINPLACE_CMD} -e \ 's,CP_CONFIG_PATH "/etc/cups",CP_CONFIG_PATH "${ETCDIR}",' \ ${WRKSRC}/src/cups-pdf.h do-build: (cd ${WRKSRC}/src && \ ${CC} ${CFLAGS} ${LDFLAGS} ${LIBS} -o cups-pdf cups-pdf.c) do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/cups/backend ${INSTALL_PROGRAM} ${WRKSRC}/src/cups-pdf \ ${STAGEDIR}${PREFIX}/libexec/cups/backend/ @${MKDIR} ${STAGEDIR}${PREFIX}/share/cups/model ${INSTALL_DATA} ${WRKSRC}/extra/CUPS-PDF_opt.ppd \ ${WRKSRC}/extra/CUPS-PDF_noopt.ppd \ ${STAGEDIR}${PREFIX}/share/cups/model/ @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/extra/cups-pdf.conf \ ${STAGEDIR}${ETCDIR}/cups-pdf.conf.sample post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .include diff --git a/print/cups-pk-helper/Makefile b/print/cups-pk-helper/Makefile index b8ccea80c3bd..5d3f8e43620e 100644 --- a/print/cups-pk-helper/Makefile +++ b/print/cups-pk-helper/Makefile @@ -1,23 +1,22 @@ -# Created by: Michael Johnson # $MCom: ports/print/cups-pk-helper/Makefile,v 1.1 2009/12/29 16:01:07 ahze Exp $ PORTNAME= cups-pk-helper PORTVERSION= 0.2.6 CATEGORIES= print MASTER_SITES= http://www.freedesktop.org/software/${PORTNAME}/releases/ MAINTAINER= gnome@FreeBSD.org COMMENT= Helper that makes system-config-printer use PolicyKit LICENSE= GPLv2 LIB_DEPENDS= libcups.so:print/cups \ libpolkit-gobject-1.so:sysutils/polkit USE_GNOME= glib20 intltool USES= cpe gettext gmake gnome localbase pkgconfig tar:xz CPE_VENDOR= cups-pk-helper_project GNU_CONFIGURE= yes INSTALL_TARGET= install-strip .include diff --git a/print/cups-smb-backend/Makefile b/print/cups-smb-backend/Makefile index 4e32e6810f29..a66a14081ae2 100644 --- a/print/cups-smb-backend/Makefile +++ b/print/cups-smb-backend/Makefile @@ -1,24 +1,22 @@ -# Created by: Andrew Pantyukhin - PORTNAME= cups-smb-backend PORTVERSION= 1.0 PORTREVISION= 12 CATEGORIES= print MASTER_SITES= # empty DISTFILES= # empty MAINTAINER= ports@FreeBSD.org COMMENT= CUPS backend for printing to Windows servers RUN_DEPENDS= ${LOCALBASE}/sbin/cupsd:print/cups USES= samba:run # smbspool NO_BUILD= yes PLIST_FILES= libexec/cups/backend/smb SUB_FILES= pkg-message do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/cups/backend ${LN} -fs ${PREFIX}/bin/smbspool ${STAGEDIR}${PREFIX}/libexec/cups/backend/smb .include diff --git a/print/cups/Makefile b/print/cups/Makefile index 35baae2e6d1c..92fb0823641d 100644 --- a/print/cups/Makefile +++ b/print/cups/Makefile @@ -1,114 +1,112 @@ -# Created by: Alan Eldridge - PORTNAME= cups PORTVERSION= 2.4.2 DISTVERSIONPREFIX=v CATEGORIES= print MAINTAINER= tijl@FreeBSD.org COMMENT= Common UNIX Printing System LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++11-lang cpe gmake iconv localbase pkgconfig CPE_VENDOR= linuxfoundation USE_GITHUB= yes GH_ACCOUNT= OpenPrinting CONFLICTS= LPRng GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-relro \ --with-cups-user=${USERS} \ --with-cups-group=${GROUPS} \ --with-system-groups=wheel \ --with-dbusdir="${PREFIX}/etc/dbus-1" \ --with-icondir="${PREFIX}/share/icons" \ --with-menudir="${DESKTOPDIR}" \ --with-printcap="${PREFIX}/etc/printcap" \ --with-rcdir=no \ --with-optim=" " \ --with-pam-module="unix" \ --without-ondemand USE_LDCONFIG= yes USE_RC_SUBR= cupsd GROUPS= cups USERS= cups OPTIONS_DEFINE= AVAHI DBUS DOCS GNUTLS IPPTOOL LIBPAPER NLS X11 OPTIONS_DEFAULT= AVAHI DBUS GNUTLS LIBPAPER OPTIONS_SUB= yes AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_CONFIGURE_WITH= dnssd=avahi AVAHI_SUB_LIST= AVAHI_DAEMON=avahi_daemon AVAHI_SUB_LIST_OFF= AVAHI_DAEMON= DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CONFIGURE_ENABLE= dbus DBUS_SUB_LIST= DBUS_DAEMON=dbus DBUS_SUB_LIST_OFF= DBUS_DAEMON= GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_WITH= tls=gnutls IPPTOOL_DESC= Internet Printing Protocol testing tool LIBPAPER_LIB_DEPENDS= libpaper.so:print/libpaper LIBPAPER_CONFIGURE_ENABLE=libpaper X11_DESC= Install desktop menu item X11_BUILD_DEPENDS= xdg-open:devel/xdg-utils X11_RUN_DEPENDS= xdg-open:devel/xdg-utils .if defined(CUPS_OVERWRITE_BASE) PLIST_SUB+= OVERWRITE="" .else PLIST_SUB+= OVERWRITE="@comment " .endif .if exists(/usr/lib/libusb.so) PLIST_SUB+= USB="" .else PLIST_SUB+= USB="@comment " .endif .if defined(WITH_DEBUG) CONFIGURE_ARGS+=--enable-debug --enable-debug-printfs .endif .include .if empty(ICONV_LIB) CONFIGURE_ARGS+=ac_cv_search_libiconv_open=no .endif post-patch: @${REINPLACE_CMD} -e '/SILENT/d' ${WRKSRC}/Makedefs.in @${REINPLACE_CMD} 's/usblp/ulpt/g' ${WRKSRC}/backend/usb-libusb.c @${REINPLACE_CMD} -e 's|/usr/local/etc/pam.d|${LOCALBASE}/etc/pam.d|' \ ${WRKSRC}/configure @${REINPLACE_CMD} 's|/etc/cups|${LOCALBASE}/etc/cups|g' \ ${WRKSRC}/man/*.[1-9] @${REINPLACE_CMD} -e 's|\.default|.sample|'\ ${WRKSRC}/cgi-bin/admin.c\ ${WRKSRC}/conf/Makefile post-patch-DOCS-off: # Link to online documentation. @${FIND} ${WRKSRC}/doc ${WRKSRC}/templates -type f -exec ${SED} -i '' \ -e 's|[Hh][Rr][Ee][Ff]="/*help/{[^"]*"|href="https://openprinting.github.io/cups/#DOCUMENTATION|g' \ -e 's|[Hh][Rr][Ee][Ff]="/*help/"|href="https://openprinting.github.io/cups/#DOCUMENTATION|g' \ -e '/have_gssapi/s|[Hh][Rr][Ee][Ff]="/*help/|href="https\\://openprinting.github.io/cups/doc/|g' \ -e 's|[Hh][Rr][Ee][Ff]="/*help/|href="https://openprinting.github.io/cups/doc/|g' {} + post-install: ${LN} -sf lpr ${STAGEDIR}${PREFIX}/bin/lpr-cups ${INSTALL_DATA} ${FILESDIR}/cups.conf.sample \ ${STAGEDIR}${PREFIX}/etc/devd ${INSTALL_DATA} ${FILESDIR}/cups ${STAGEDIR}${PREFIX}/etc/pam.d .include diff --git a/print/deforaos-pdfviewer/Makefile b/print/deforaos-pdfviewer/Makefile index 0ccc08860c05..a48058e0f152 100644 --- a/print/deforaos-pdfviewer/Makefile +++ b/print/deforaos-pdfviewer/Makefile @@ -1,49 +1,47 @@ -# Created by: Olivier Cochard-Labbe - PORTNAME= pdfviewer PORTVERSION= 0.0.2 PORTREVISION= 37 CATEGORIES= print MASTER_SITES= http://www.defora.org/os/download/download/4431/ PKGNAMEPREFIX= deforaos- DISTNAME= PDFViewer-${PORTVERSION} MAINTAINER= olivier@FreeBSD.org COMMENT= DeforaOS desktop PDF viewer LICENSE= GPLv3 LIB_DEPENDS= libSystem.so:devel/deforaos-libsystem \ libDesktop.so:x11/deforaos-libdesktop \ libpoppler-glib.so:graphics/poppler-glib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 MAKE_ARGS+= PREFIX=${PREFIX} USES= desktop-file-utils gnome pkgconfig USE_GNOME= gtk20 gdkpixbuf2 cairo MAKE_ENV+= MANDIR=${STAGEDIR}${MANPREFIX}/man OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl post-patch-DOCS-off: ${REINPLACE_CMD} 's|data doc po|data po|' \ ${WRKSRC}/Makefile post-patch-NLS-off: ${REINPLACE_CMD} 's|po src tools|src tools|' \ ${WRKSRC}/Makefile post-patch: @${REINPLACE_CMD} 's|-Wl,-pie||g' \ ${WRKSRC}/tools/Makefile \ ${WRKSRC}/src/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pdfviewer .include diff --git a/print/derelict-ft/Makefile b/print/derelict-ft/Makefile index 7ae278219400..ac1e76fe95f3 100644 --- a/print/derelict-ft/Makefile +++ b/print/derelict-ft/Makefile @@ -1,38 +1,36 @@ -# Created by: Alonso Cardenas Marquez - PORTNAME= derelict-ft PORTVERSION= 1.1.3 PORTREVISION= 4 DISTVERSIONPREFIX= v CATEGORIES= print MAINTAINER= acm@FreeBSD.org COMMENT= Dynamic binding to the FreeType library for the D lang LICENSE= BSL BUILD_DEPENDS= ldmd2:lang/ldc \ dub:devel/dub \ ${LOCALBASE}/lib/d/libDerelictUtil.a:devel/derelict-util USE_GITHUB= yes GH_ACCOUNT= DerelictOrg GH_PROJECT= DerelictFT DUB_CMD= ${LOCALBASE}/bin/dub build --build=release D_INCLUDE_DIR= ${PREFIX}/include/d D_LIB_DIR= ${PREFIX}/lib/d post-patch: @${REINPLACE_CMD} -e '13,15d' ${WRKSRC}/dub.json do-build: @cd ${WRKSRC} && ${DUB_CMD} do-install: @${MKDIR} ${STAGEDIR}${D_INCLUDE_DIR} @${MKDIR} ${STAGEDIR}${D_LIB_DIR} ${INSTALL_DATA} ${WRKSRC}/lib/libDerelictFT.a ${STAGEDIR}${D_LIB_DIR} cd ${WRKSRC}/source && ${COPYTREE_SHARE} . ${STAGEDIR}${D_INCLUDE_DIR} "-name *\.d" .include diff --git a/print/detex/Makefile b/print/detex/Makefile index 5c9a6d662398..d73f5bb31764 100644 --- a/print/detex/Makefile +++ b/print/detex/Makefile @@ -1,37 +1,35 @@ -# Created by: David O'Brien (obrien@NUXI.com) - PORTNAME= detex PORTVERSION= 2.8 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://www.cs.purdue.edu/homes/trinkle/detex/ MAINTAINER= ports@FreeBSD.org COMMENT= Strips TeX/LaTeX codes from a file LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYRIGHT USES= tar MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DNO_MALLOC_DECL -DHAVE_STRING_H" CONFLICTS_INSTALL= texlive-base # bin/detex PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz PORTDOCS= README OPTIONS_DEFINE= DOCS post-extract: @(cd ${WRKSRC} && ${MV} ${PORTNAME}.1l ${PORTNAME}.1) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1/ do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/print/dot2tex/Makefile b/print/dot2tex/Makefile index 0de70a300bf8..3a0350249ef2 100644 --- a/print/dot2tex/Makefile +++ b/print/dot2tex/Makefile @@ -1,33 +1,31 @@ -# Created by: Romain Tartiere - PORTNAME= dot2tex PORTVERSION= 2.11.3 CATEGORIES= print python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tota@FreeBSD.org COMMENT= Graphviz to LaTeX converter LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyparsing>=1.4.8:devel/py-pyparsing@${PY_FLAVOR} \ dot:graphics/graphviz TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} USES= python:3.6+ USE_GITHUB= yes USE_PYTHON= distutils autoplist concurrent # Enable this before running test target # bsd.tex.mk doesnt support :test (only) depends #USE_TEX= latex GH_ACCOUNT= kjellmf NO_ARCH= yes do-test: @cd ${WRKSRC} && ${PYTHON_CMD} -m nose .include diff --git a/print/dvi2tty/Makefile b/print/dvi2tty/Makefile index e1e5f4f32d4d..2b10130922cb 100644 --- a/print/dvi2tty/Makefile +++ b/print/dvi2tty/Makefile @@ -1,26 +1,24 @@ -# Created by: Joel Sutton - PORTNAME= dvi2tty PORTVERSION= 5.3.4 CATEGORIES= print MASTER_SITES= http://www.mesa.nl/pub/dvi2tty/ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= DVI file previewer for text only devices CONFLICTS= texlive-base # bin/disdvi bin/dvi2tty MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${STRIP}" PLIST_FILES= bin/disdvi bin/dvi2tty \ man/man1/disdvi.1.gz \ man/man1/dvi2tty.1.gz do-install: .for name in disdvi dvi2tty ${INSTALL_PROGRAM} ${WRKSRC}/${name} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${name}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .endfor .include diff --git a/print/dvips2ascii/Makefile b/print/dvips2ascii/Makefile index 3eb6f64d0450..180750191829 100644 --- a/print/dvips2ascii/Makefile +++ b/print/dvips2ascii/Makefile @@ -1,20 +1,18 @@ -# Created by: eserte@cs.tu-berlin.de - PORTNAME= dvips2ascii PORTVERSION= 1.3 CATEGORIES= print MASTER_SITES= SF/srezic/${PORTNAME}/${PORTVERSION} MAINTAINER= slaven@rezic.de COMMENT= PostScript (created by dvips) to ASCII converter USES= shebangfix NO_BUILD= yes PLIST_FILES= bin/dvips2ascii SHEBANG_FILES= dvips2ascii do-install: ${INSTALL_SCRIPT} ${WRKSRC}/dvips2ascii ${STAGEDIR}${PREFIX}/bin .include diff --git a/print/dvisvg/Makefile b/print/dvisvg/Makefile index 62b3bc489d6c..6ecd858898c3 100644 --- a/print/dvisvg/Makefile +++ b/print/dvisvg/Makefile @@ -1,40 +1,38 @@ -# Created by: ijliao - PORTNAME= dvisvg DISTVERSION= 0.7.1d PORTREVISION= 8 CATEGORIES= print MASTER_SITES= http://dvisvg.sourceforge.net/files/ MAINTAINER= hrs@FreeBSD.org COMMENT= Converter from DVI to SVG LICENSE= GPLv2 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} USES= ghostscript:run USE_TEX= base texmf texhash ALL_TARGET= # empty # workaround for svgfonts.c not including kpathsea/c-auto.h CFLAGS+= -DHAVE_PROTOTYPES MAKE_ARGS= CC="${CC} ${CFLAGS}" TARGETDIR=${PREFIX} \ LINC=${LOCALBASE}/include \ LLIB=${LOCALBASE}/lib \ BINDIR=${PREFIX}/bin \ CNFDIR=${PREFIX}/${TEXMFDIR}/dvisvg \ post-patch: @${REINPLACE_CMD} -e "s,/usr/share/texmf,${LOCALBASE}/${TEXMFDIR}," \ ${WRKSRC}/version.h do-install: ${INSTALL_SCRIPT} ${WRKSRC}/dvisvg ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/dvisvg.man \ ${STAGEDIR}${MAN1PREFIX}/man/man1/dvisvg.1 @${MKDIR} ${STAGEDIR}${PREFIX}/${TEXMFDIR}/${PORTNAME} .for file in dvisvg.map font2svg.enc font2svg.ps ${INSTALL_DATA} ${WRKSRC}/${file} \ ${STAGEDIR}${PREFIX}/${TEXMFDIR}/${PORTNAME} .endfor .include diff --git a/print/easylatex/Makefile b/print/easylatex/Makefile index e43acdd095f7..72799abd245b 100644 --- a/print/easylatex/Makefile +++ b/print/easylatex/Makefile @@ -1,36 +1,34 @@ -# Created by: Nicola Vitale - PORTNAME= easylatex PORTVERSION= 0.080 CATEGORIES= print textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTNAME} DISTNAME= ${PORTNAME}-${PORTVERSION:C/0$//} MAINTAINER= nivit@FreeBSD.org COMMENT= Perl script which transforms "pseudo-LaTeX" into proper LaTeX RUN_DEPENDS= p5-Getopt-Declare>=0:devel/p5-Getopt-Declare NO_BUILD= yes USES= perl5 shebangfix SHEBANG_FILES= ${PORTNAME}.pl OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} -e 's,/usr/lib/easylatex,${DATADIR},' \ ${WRKSRC}/${PORTNAME}.pl do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC}/${PORTNAME} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/TUTORIAL ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/demo.txt ${WRKSRC}/demo-no-graph.txt \ ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/print/enscript-a4/Makefile b/print/enscript-a4/Makefile index 05d103a6b54e..ce7d51dd9f65 100644 --- a/print/enscript-a4/Makefile +++ b/print/enscript-a4/Makefile @@ -1,9 +1,7 @@ -# Created by: kline - CONFLICTS= enscript-letter enscript-letterdj zh-enscript-a4 PS= A4 MASTERDIR= ${.CURDIR}/../enscript-letter .include "${MASTERDIR}/Makefile" diff --git a/print/enscript-letter/Makefile b/print/enscript-letter/Makefile index 1707cde23654..77d49ba4b65c 100644 --- a/print/enscript-letter/Makefile +++ b/print/enscript-letter/Makefile @@ -1,43 +1,41 @@ -# Created by: kline - PORTNAME= enscript PORTVERSION= 1.6.6 PORTREVISION?= 3 # ?= for chinese/enscript CATEGORIES+= print MASTER_SITES= GNU PKGNAMESUFFIX= -${PAPERSIZE} DISTNAME= enscript-${PORTVERSION} MAINTAINER?= mbeis@xs4all.nl COMMENT= ASCII to PostScript filter USES= cpe shebangfix perl5 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-media=${PS} SHEBANG_FILES= scripts/diffpp.in scripts/sliceprint.in perl_OLD_CMD= @PERLPROG@ OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls CONFLICTS?= enscript-a4 enscript-letterdj zh-enscript-a4 INFO= enscript CPE_VENDOR= gnu PS?= Letter PAPERSIZE?= ${PS:tl} .if (${PAPERSIZE} != a4 && ${PAPERSIZE} != letter && ${PAPERSIZE} != letterdj) .BEGIN: @${ECHO} "Error: invalid value for PAPERSIZE: \"${PAPERSIZE}\"" @${ECHO} "Possible values are: a4, letter, or letterdj" @${FALSE} .endif post-configure: ${REINPLACE_CMD} -e 's|/usr/bin/perl|$${prefix}/bin/perl|g' ${WRKSRC}/scripts/Makefile .include diff --git a/print/enscript-letterdj/Makefile b/print/enscript-letterdj/Makefile index ed100dad012b..4494d42350d4 100644 --- a/print/enscript-letterdj/Makefile +++ b/print/enscript-letterdj/Makefile @@ -1,9 +1,7 @@ -# Created by: kline - CONFLICTS= enscript-a4 enscript-letter zh-enscript-a4 PS= Letterdj MASTERDIR= ${.CURDIR}/../enscript-letter .include "${MASTERDIR}/Makefile" diff --git a/print/epsonepl/Makefile b/print/epsonepl/Makefile index 0f1f38129e28..59eb1e4c7340 100644 --- a/print/epsonepl/Makefile +++ b/print/epsonepl/Makefile @@ -1,29 +1,27 @@ -# Created by: Simon 'corecode' Schubert - PORTNAME= epsonepl PORTVERSION= 0.2.2 PORTREVISION= 6 CATEGORIES= print MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/GS-IJS%20Plugin%20v${PORTVERSION} DISTNAME= ${PORTNAME}ijs-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Printer filter for EPSON EPL-5700L etc LIB_DEPENDS= libijs.so:print/libijs USES= ghostscript:run uidfix tar:tgz MAKEFILE= ${FILESDIR}/Makefile SUB_FILES= pkg-message post-extract: @cd ${WRKSRC} && ${LS} ijs* | ${GREP} -v ${PORTNAME} | ${XARGS} ${RM} post-install: ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.conf.sample \ ${STAGEDIR}${PREFIX}/etc @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.apsfilter ${STAGEDIR}${DATADIR} .include diff --git a/print/flpsed/Makefile b/print/flpsed/Makefile index 744d32518a3e..3d2a54cdde1d 100644 --- a/print/flpsed/Makefile +++ b/print/flpsed/Makefile @@ -1,52 +1,50 @@ -# Created by: Fernan Aguero - PORTNAME= flpsed DISTVERSION= 0.7.3 CATEGORIES= print MASTER_SITES= http://flpsed.org/ MAINTAINER= ports@FreeBSD.org COMMENT= WYSIWYG Postscript annotator LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS+= libfltk.so:x11-toolkits/fltk \ libfontconfig.so:x11-fonts/fontconfig USES= desktop-file-utils ghostscript:x11 gmake xorg GNU_CONFIGURE= yes USE_XORG= x11 xcursor xext xfixes xft xinerama xrender PLIST_FILES= bin/flpsed \ man/man1/flpsed.1.gz \ share/applications/flpsed.desktop \ share/icons/flpsed.png \ share/icons/flpsed.svg PORTDOCS= README OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/flpsed ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/flpsed.1 ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/flpsed.desktop ${STAGEDIR}${PREFIX}/share/applications ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons ${INSTALL_DATA} ${WRKSRC}/flpsed.png ${WRKSRC}/flpsed.svg ${STAGEDIR}${PREFIX}/share/icons do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} post-install: .if !exists(${LOCALBASE}/bin/pdftops) @${ECHO_CMD} "" @${ECHO_CMD} " Consider installing graphics/xpdf, to take full advantage of " @${ECHO_CMD} " flpsed's ability to edit PDF files by first converting them " @${ECHO_CMD} " to PostScript via xpdf's pdftops(1) before editing, and then " @${ECHO_CMD} " transforming the edited Postscript files back to PDF via " @${ECHO_CMD} " Ghostscript's ps2pdf(1). " @${ECHO_CMD} "" .endif .include diff --git a/print/font-amsfonts/Makefile b/print/font-amsfonts/Makefile index 1336a4b3d755..cf0bbbcbe4e2 100644 --- a/print/font-amsfonts/Makefile +++ b/print/font-amsfonts/Makefile @@ -1,23 +1,21 @@ -# Created by: hrs - PORTNAME= amsfonts PORTVERSION= 3.02 PORTREVISION= 4 CATEGORIES= print MASTER_SITES= LOCAL/hrs PKGNAMEPREFIX= font- DIST_SUBDIR= teTeX MAINTAINER= hrs@FreeBSD.org COMMENT= Computer Modern and standard fonts for TeX USES= fonts NO_BUILD= yes FONTSDIR= ${PREFIX}/share/fonts/${PORTNAME} do-install: ${MKDIR} ${STAGEDIR}${FONTSDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FONTSDIR} .include diff --git a/print/font2svg/Makefile b/print/font2svg/Makefile index a64b3e226d78..6f61c3ef270c 100644 --- a/print/font2svg/Makefile +++ b/print/font2svg/Makefile @@ -1,32 +1,30 @@ -# Created by: ijliao - PORTNAME= font2svg PORTVERSION= 1.0 PORTREVISION= 6 CATEGORIES= print MASTER_SITES= https://BSDforge.com/projects/source/print/font2svg/ MAINTAINER= portmaster@BSDforge.com COMMENT= All fonts to svg-font converter LICENSE= GPLv2 RUN_DEPENDS= bash:shells/bash USES= ghostscript:run NO_BUILD= yes PLIST_FILES= bin/font2svg %%DATADIR%%/encodings %%DATADIR%%/font2svg.ps post-patch: @${REINPLACE_CMD} -e "s|^#!/bin/bash|#!/usr/bin/env bash| ; \ s|^font2svg_home=.*$$|font2svg_home=${DATADIR}|" \ ${WRKSRC}/font2svg.sh do-install: ${INSTALL_SCRIPT} ${WRKSRC}/font2svg.sh ${STAGEDIR}${PREFIX}/bin/font2svg @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/encodings ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/font2svg.ps ${STAGEDIR}${DATADIR} .include diff --git a/print/fontforge/Makefile b/print/fontforge/Makefile index d9f7b1689567..cdaf00e9e6a2 100644 --- a/print/fontforge/Makefile +++ b/print/fontforge/Makefile @@ -1,115 +1,113 @@ -# Created by: KANOU Hiroki - PORTNAME= fontforge DISTVERSION= 20201107 PORTREVISION= 3 CATEGORIES= print MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Type 1/TrueType/OpenType/bitmap font editor LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfreetype.so:print/freetype2 USES= compiler:c++11-lang cmake cpe desktop-file-utils gettext gnome \ iconv:wchar_t pkgconfig shared-mime-info tar:xz USE_GNOME= cairo glib20 libxml2 USE_LDCONFIG= yes PORTDOCS= * CMAKE_ARGS= -DIconv_INCLUDE_DIR=${ICONV_INCLUDE_PATH} \ -DIconv_LIBRARY=${ICONV_LIB_PATH} OPTIONS_DEFINE= DOCS FREETYPE GIF JPEG PNG PYTHON READLINE SPIRO TIFF \ TILEPATH UNINAMESLIST WOFF2 WRITEPFM OPTIONS_RADIO= GUI OPTIONS_RADIO_GUI= GTK3 X11 OPTIONS_SINGLE= THEME OPTIONS_SINGLE_THEME= TANGO 2012 OPTIONS_DEFAULT=GIF GTK3 JPEG PNG PYTHON READLINE SPIRO TANGO TIFF \ TILEPATH UNINAMESLIST WOFF2 OPTIONS_SUB= yes 2012_DESC= Old theme that was used until 2012 2012_CMAKE_ON= -DTHEME:ENUM=2012 DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} DOCS_CMAKE_BOOL=ENABLE_DOCS FREETYPE_DESC= Include freetype's internal debugger FREETYPE_PATCH_DEPENDS= ${NONEXISTENT}:print/freetype2:extract FREETYPE_CMAKE_ON= -DENABLE_FREETYPE_DEBUGGER:PATH=${WRKSRC}/freetype GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CMAKE_BOOL= ENABLE_LIBGIF GTK3_USE= gnome=gdkpixbuf2,gtk30 JPEG_USES= jpeg JPEG_CMAKE_BOOL=ENABLE_LIBJPEG PNG_LIB_DEPENDS=libpng.so:graphics/png PNG_CMAKE_BOOL= ENABLE_LIBPNG PYTHON_USES= python:3.5+ PYTHON_USES_OFF=python:3.5+,build PYTHON_CMAKE_BOOL= ENABLE_PYTHON_SCRIPTING ENABLE_PYTHON_EXTENSION READLINE_USES= readline READLINE_CMAKE_BOOL= ENABLE_LIBREADLINE SPIRO_DESC= Use libspiro to edit with clothoid splines SPIRO_LIB_DEPENDS= libspiro.so:graphics/libspiro SPIRO_CMAKE_BOOL= ENABLE_LIBSPIRO TANGO_DESC= Default theme based on the Tango Desktop Project TANGO_CMAKE_ON= -DTHEME:ENUM=tango TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CMAKE_BOOL=ENABLE_LIBTIFF # This is disabled by default in fontforge's CMakeLists.txt, but it was # previously enabled in this port when it was using GNU configure, so I've # defaulted it to enabled TILEPATH_DESC= Enable a 'tile path' command (a variant of 'expand stroke') TILEPATH_CMAKE_BOOL= ENABLE_TILE_PATH UNINAMESLIST_DESC= Use libuninameslist for Unicode attribute data UNINAMESLIST_LIB_DEPENDS= libuninameslist.so:textproc/libuninameslist UNINAMESLIST_CMAKE_BOOL= ENABLE_LIBUNINAMESLIST WOFF2_DESC= WOFF2 web font support WOFF2_LIB_DEPENDS= libbrotlidec.so:archivers/brotli \ libwoff2dec.so:devel/woff2 WOFF2_CMAKE_BOOL= ENABLE_WOFF2 WRITEPFM_DESC= Add ability to save PFM file w/o creating associated font file WRITEPFM_CMAKE_BOOL= ENABLE_WRITE_PFM X11_USES= xorg X11_USE= gnome=pango xorg=ice,sm,x11,xext,xft,xi X11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig X11_RUN_DEPENDS= ${LOCALBASE}/share/fonts/gnu-unifont/unifont.pcf.gz:x11-fonts/gnu-unifont X11_CMAKE_BOOL= ENABLE_X11 post-patch-FREETYPE-on: @${LN} -s $$(${MAKE} -C ${PORTSDIR}/print/freetype2 -V WRKSRC) \ ${WRKSRC}/freetype post-stage-DOCS-on: @${RM} ${STAGEDIR}${DOCSDIR}/.buildinfo \ ${STAGEDIR}${DOCSDIR}/.nojekyll .include .if ${PORT_OPTIONS:MGTK3} || ${PORT_OPTIONS:MX11} CMAKE_ARGS+= -DENABLE_GUI:BOOL=true .else CMAKE_ARGS+= -DENABLE_GUI:BOOL=false .endif .include diff --git a/print/foo2zjs/Makefile b/print/foo2zjs/Makefile index 9903458a1146..eb622b303fa9 100644 --- a/print/foo2zjs/Makefile +++ b/print/foo2zjs/Makefile @@ -1,55 +1,53 @@ -# Created by: Jose Alonso Cardenas Marquez - PORTNAME= foo2zjs PORTVERSION= 20161203 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= LOCAL/bsam/${PORTNAME} \ ftp://ftp.wart.ru/pub/FreeBSD/ports/distfiles/ # Obtained from https://www.cybercom.net/~dcoffin/hbpl/ PATCH_SITES= LOCAL/tijl PATCHFILES= hbpl1-20160830.patch.xz:-p1 MAINTAINER= ports@FreeBSD.org COMMENT= Driver for printers that use the ZjStream wire protocol LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcups.so:print/cups RUN_DEPENDS= ${LOCALBASE}/share/foomatic/db/oldprinterids:print/foomatic-db \ foomatic-rip:print/cups-filters \ gsed:textproc/gsed USES= cpe ghostscript gmake shebangfix CPE_VENDOR= rkkda SHEBANG_FILES= msexpand printer-profile.sh MAKE_JOBS_UNSAFE= yes SUB_FILES= ${_DEVDCONF_FILE} pkg-message OPTIONS_DEFINE= DOCS _DEVDCONF_FILE= ${PORTNAME}.conf _EXTRAFILES= msexpand getweb post-patch: @${REINPLACE_CMD} -e 's|^CFLAGS|CFLAGS?|g' -e 's|^PREFIX|PREFIX?|g' ${WRKSRC}/icc2ps/Makefile post-install: cd ${WRKSRC} && \ ${INSTALL_SCRIPT} ${_EXTRAFILES} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}/etc/devd cd ${WRKDIR} && \ ${INSTALL_SCRIPT} ${_DEVDCONF_FILE} ${STAGEDIR}${PREFIX}/etc/devd @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/foo2zjs-icc2ps post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for FILE in ChangeLog INSTALL README manual.pdf ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/print/foomatic-db-engine/Makefile b/print/foomatic-db-engine/Makefile index cb29283a3981..f604ff557ec4 100644 --- a/print/foomatic-db-engine/Makefile +++ b/print/foomatic-db-engine/Makefile @@ -1,41 +1,39 @@ -# Created by: Martin Ranne - PORTNAME= foomatic-db-engine PORTVERSION= 4.0.13 PORTREVISION= 2 PORTEPOCH= 2 CATEGORIES= print MASTER_SITES= http://www.openprinting.org/download/foomatic/ MAINTAINER= bofh@FreeBSD.org COMMENT= Foomatic database engine LICENSE= GPLv2 LIB_DEPENDS= libcurl.so:ftp/curl USES= gmake gnome perl5 USE_GNOME= libxml2 GNU_CONFIGURE= yes CONFIGURE_ENV= PERL=${PERL} LIBDIR=${PREFIX}/share/foomatic/ \ LIB_CUPS=${LOCALBASE}/libexec/cups \ CUPS_FILTERS=${LOCALBASE}/libexec/cups/filters \ CUPS_BACKENDS=${LOCALBASE}/libexec/cups/backends MAKE_JOBS_UNSAFE= yes post-patch: @${REINPLACE_CMD} -e \ "s,sysconfdir=/etc,sysconfdir=\'${PREFIX}/etc\',g ; \ s,/usr/local/etc:,${PREFIX}/etc:,g" ${WRKSRC}/configure @${REINPLACE_CMD} -e \ "s,/usr/local/bin:,${PREFIX}/bin:,g" ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e \ "/if \[ -d/ s,LIB_CUPS,PREFIX," ${WRKSRC}/Makefile.in post-install: .for file in foomatic-combo-xml foomatic-perl-data ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file} .endfor .include diff --git a/print/foomatic-db-hpijs/Makefile b/print/foomatic-db-hpijs/Makefile index ceb872869c70..db0027270862 100644 --- a/print/foomatic-db-hpijs/Makefile +++ b/print/foomatic-db-hpijs/Makefile @@ -1,26 +1,24 @@ -# Created by: Michael Nottebrock - PORTNAME= foomatic-db-hpijs PORTVERSION= 1.4 DISTVERSIONSUFFIX= -1 CATEGORIES= print MASTER_SITES= LOCAL/lofi MAINTAINER= ports@FreeBSD.org COMMENT= Foomatic data for the HPIJS printer drivers LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/share/foomatic/db/oldprinterids:print/foomatic-db RUN_DEPENDS= ${LOCALBASE}/share/foomatic/db/oldprinterids:print/foomatic-db GNU_CONFIGURE= yes USES= gmake perl5 USE_PERL5= build post-patch: ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/configure .include diff --git a/print/foomatic-db/Makefile b/print/foomatic-db/Makefile index c516cf1b5917..6d438ab1f0e6 100644 --- a/print/foomatic-db/Makefile +++ b/print/foomatic-db/Makefile @@ -1,23 +1,21 @@ -# Created by: Dima Dorfman - PORTNAME= foomatic-db PORTVERSION= 20220113 CATEGORIES= print MAINTAINER= danilo@FreeBSD.org COMMENT= Database for integrating printer drivers with common spoolers LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake tar:xz autoreconf USE_GITHUB= yes GH_ACCOUNT= OpenPrinting GH_TAGNAME= adb5812707743c4645efbacfb8cf682bd1d7ce3d GNU_CONFIGURE= yes NO_ARCH= yes .include diff --git a/print/foomatic-filters/Makefile b/print/foomatic-filters/Makefile index c15e4e937e87..c29856c35bd7 100644 --- a/print/foomatic-filters/Makefile +++ b/print/foomatic-filters/Makefile @@ -1,64 +1,62 @@ -# Created by: Michael Nottebrock - PORTNAME= foomatic-filters PORTVERSION= 4.0.17 PORTREVISION= 9 CATEGORIES= print MASTER_SITES= http://www.openprinting.org/download/foomatic/ MAINTAINER= jrm@FreeBSD.org COMMENT= Foomatic wrapper scripts LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf cpe ghostscript perl5 pkgconfig CPE_VENDOR= linuxfoundation GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_path_A2PS=${LOCALBASE}/bin/a2ps \ ac_cv_path_CUPS=${LOCALBASE}/libexec/cups \ ac_cv_path_CUPS_BACKENDS=${LOCALBASE}/libexec/cups/backend \ ac_cv_path_CUPS_FILTERS=${LOCALBASE}/libexec/cups/filter \ ac_cv_path_ENSCRIPT=${LOCALBASE}/bin/enscript \ ac_cv_path_MPAGE=${LOCALBASE}/bin/mpage \ ac_cv_path_PERL=${LOCALBASE}/bin/perl \ ac_cv_path_PPR=${LOCALBASE}/lib/ppr \ ac_cv_path_PPR_INTERFACES=${LOCALBASE}/lib/ppr/interfaces \ ac_cv_path_PPR_LIB=${LOCALBASE}/lib/ppr/lib \ ac_cv_path_TEXTTOPS=${LOCALBASE}/libexec/cups/filter/texttops CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFLICTS= cups-filters OPTIONS_DEFINE= A2PS CUPS_IMAGE DBUS MPAGE OPTIONS_DEFAULT= A2PS CUPS_IMAGE DBUS ENSCRIPT_A4 MPAGE OPTIONS_RADIO= ENSCRIPT OPTIONS_RADIO_ENSCRIPT= ENSCRIPT_A4 ENSCRIPT_LETTER ENSCRIPT_LETTERDJ A2PS_DESC= Install a2ps convertor CUPS_IMAGE_DESC= Install cups image utilities ENSCRIPT_A4_DESC= Install enscript convertor (A4) ENSCRIPT_LETTERDJ_DESC= Install enscript convertor (letterdj) ENSCRIPT_LETTER_DESC= Install enscript convertor (letter) MPAGE_DESC= Print multiple pages per sheet of paper A2PS_RUN_DEPENDS= a2ps:print/a2ps CUPS_IMAGE_LIB_DEPENDS= libcupsimage.so:print/cups DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CONFIGURE_ENABLE= dbus ENSCRIPT_A4_RUN_DEPENDS= enscript:print/enscript-a4 ENSCRIPT_LETTERDJ_RUN_DEPENDS= enscript:print/enscript-letterdj ENSCRIPT_LETTER_RUN_DEPENDS= enscript:print/enscript-letter MPAGE_RUN_DEPENDS= mpage:print/mpage post-patch: @${REINPLACE_CMD} -e 's|ln -sf $$(BINDIR)|ln -sf ../../../bin|g' \ -e '/filter.conf/ s|if.*||' \ ${WRKSRC}/Makefile.am post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/foomatic-rip .include diff --git a/print/fpdf/Makefile b/print/fpdf/Makefile index 2db3b45c8612..0208a1ad9cad 100644 --- a/print/fpdf/Makefile +++ b/print/fpdf/Makefile @@ -1,48 +1,46 @@ -# Created by: Thierry Thomas - PORTNAME= fpdf PORTVERSION= 1.81 PORTEPOCH= 1 CATEGORIES= print www MASTER_SITES= http://www.fpdf.org/en/ DISTNAME= ${PORTNAME}${PORTVERSION:S|.||} MAINTAINER= ports@FreeBSD.org COMMENT= Free PHP class to generate PDF files with pure PHP LICENSE= As_Is LICENSE_NAME= As_Is LICENSE_FILE= ${WRKSRC}/license.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept FETCH_CMD= ${FETCH_BINARY} -ARr -o ${DISTDIR}/${DISTFILES} USES= dos2unix php tar:tgz USE_PHP= zlib NO_BUILD= yes NO_ARCH= yes FPDF_DIR?= share/fpdf SUB_FILES= pkg-message SUB_LIST= FPDF_DIR=${FPDF_DIR} PLIST_SUB= FPDF_DIR=${FPDF_DIR} EXT2CNV= afm css htm php txt DOCS= FAQ.htm changelog.htm doc fpdf.css install.txt tutorial OPTIONS_DEFINE= DOCS do-fetch: @if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} \ '${MASTER_SITES}dl.php?v=${PORTVERSION:S|.||}&f=${EXTRACT_SUFX:S|.||}'; \ fi do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${FPDF_DIR} ${INSTALL_DATA} ${WRKSRC}/fpdf.php ${STAGEDIR}${PREFIX}/${FPDF_DIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} "font makefont" ${STAGEDIR}${PREFIX}/${FPDF_DIR}/) ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} "${DOCS}" ${STAGEDIR}${DOCSDIR}/) .include diff --git a/print/freetype2/Makefile b/print/freetype2/Makefile index d758808ef48b..be0002a73eee 100644 --- a/print/freetype2/Makefile +++ b/print/freetype2/Makefile @@ -1,121 +1,119 @@ -# Created by: jseger@FreeBSD.org - PORTNAME= freetype2 DISTVERSION= 2.12.1 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= SAVANNAH/${PORTNAME:S/2//} \ SF/freetype/${PORTNAME}/${DISTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/}/ DISTNAME= ${PORTNAME:S/2//}-${DISTVERSION} MAINTAINER= desktop@FreeBSD.org COMMENT= Free and portable TrueType font rendering engine LICENSE= FTL GPLv2+ LICENSE_COMB= dual LICENSE_NAME_FTL= The FreeType Project license LICENSE_FILE_FTL= ${WRKSRC}/docs/FTL.TXT LICENSE_FILE_GPLv2+ = ${WRKSRC}/docs/GPLv2.TXT LICENSE_PERMS_FTL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= cmake cpe localbase pathfix pkgconfig tar:xz CPE_PRODUCT= freetype CPE_VENDOR= freetype USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS \ DISABLE_FORCE_DEBUG_POSTFIX \ FT_REQUIRE_BZIP2 \ FT_REQUIRE_ZLIB \ FT_DISABLE_HARFBUZZ SUB_FILES= pkg-message PORTDOCS= CHANGES FTL.TXT formats.txt raster.txt reference OPTIONS_DEFINE= BROTLI DEBUG DOCS LONG_PCF_NAMES PNG TABLE_VALIDATION OPTIONS_DEFAULT= LCD_RENDERING LONG_PCF_NAMES PNG V40 OPTIONS_SUB= yes OPTIONS_SINGLE= RENDERING OPTIONS_SINGLE_RENDERING= LCD_FILTERING LCD_RENDERING OPTIONS_GROUP= SUBPIXEL_HINTING OPTIONS_GROUP_SUBPIXEL_HINTING= V38 V40 OPTIONS_RADIO= SIZE_METRICS_CHOICE OPTIONS_RADIO_SIZE_METRICS_CHOICE= FIX_SIZE_METRICS TT_SIZE_METRICS LONG_PCF_NAMES_DESC= Enable long PCF family names TABLE_VALIDATION_DESC= TrueType GX/AAT and OpenType table validation RENDERING_DESC= Rendering technology LCD_FILTERING_DESC= Subpixel rendering (patented) LCD_RENDERING_DESC= Harmony LCD rendering SUBPIXEL_HINTING_DESC= Subpixel hinting support V38_DESC= v38 mode (Infinality code) V40_DESC= v40 mode (minimal code, a.k.a. ClearType hinting, faster) SIZE_METRICS_CHOICE_DESC= Size metrics for TrueType fonts FIX_SIZE_METRICS_DESC= Fix metrics on size request for scalable fonts (alternative method) TT_SIZE_METRICS_DESC= TrueType-like size metrics for 'light' auto-hinting BROTLI_LIB_DEPENDS= libbrotlidec.so:archivers/brotli BROTLI_CMAKE_BOOL= FT_REQUIRE_BROTLI BROTLI_CMAKE_BOOL_OFF= FT_DISABLE_BROTLI PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CMAKE_BOOL= FT_REQUIRE_PNG PNG_CMAKE_BOOL_OFF= FT_DISABLE_PNG LCD_FILTERING_CFLAGS= -DFT_CONFIG_OPTION_SUBPIXEL_RENDERING V38_VARS= SUBPIXEL_HINTING_MODE+=1 V40_VARS= SUBPIXEL_HINTING_MODE+=2 FIX_SIZE_METRICS_EXTRA_PATCHES= ${FILESDIR}/extra-patch-fix_size_metrics.diff .include SELECTED_MODE= \ r=0; \ for m in ${SUBPIXEL_HINTING_MODE}; \ do r=$$(($$r | $$m)); \ done; \ ${ECHO_CMD} $$r post-patch: .if defined(SUBPIXEL_HINTING_MODE) @${REINPLACE_CMD} -i '.hinting.bak' \ -e 's|^\(#define TT_CONFIG_OPTION_SUBPIXEL_HINTING\).*|\1 \ ${SELECTED_MODE:sh}|' \ ${WRKSRC}/include/freetype/config/ftoption.h .else @${REINPLACE_CMD} -i '.hinting.bak' \ -e 's|^\(#define TT_CONFIG_OPTION_SUBPIXEL_HINTING.*\)|/* \1 */|' \ ${WRKSRC}/include/freetype/config/ftoption.h .endif post-patch-DEBUG-on: @${REINPLACE_CMD} -i '.debug.bak' \ -e 's|.*\(#define FT_DEBUG_LEVEL_TRACE\).*|\1|' \ -e 's|.*\(#define FT_DEBUG_MEMORY\).*|\1|' \ ${WRKSRC}/include/freetype/config/ftoption.h post-patch-LONG_PCF_NAMES-on: @${REINPLACE_CMD} -i '.names.bak' \ -e 's|.*\(#define PCF_CONFIG_OPTION_LONG_FAMILY_NAMES\).*|\1|' \ ${WRKSRC}/include/freetype/config/ftoption.h post-patch-TABLE_VALIDATION-on: @${REINPLACE_CMD} -e '/valid$$/s|#.*\(AUX_MODULES\)|\1|' \ ${WRKSRC}/modules.cfg post-patch-TT_SIZE_METRICS-on: @${REINPLACE_CMD} -i '.metrics.bak' \ -e 's|.*\(#define AF_CONFIG_OPTION_TT_SIZE_METRICS\).*|\1|' \ ${WRKSRC}/include/freetype/config/ftoption.h post-install-DOCS-on: (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) .include diff --git a/print/ft2demos/Makefile b/print/ft2demos/Makefile index d663dbf7d995..4ab865261a43 100644 --- a/print/ft2demos/Makefile +++ b/print/ft2demos/Makefile @@ -1,40 +1,38 @@ -# Created by: KANOU Hiroki - PORTNAME= ft2demos PORTVERSION= 2.11.1 CATEGORIES= print MASTER_SITES= https://gitlab.freedesktop.org MAINTAINER= ports@FreeBSD.org COMMENT= Demo programs for FreeType2 LICENSE= BSD3CLAUSE GPLv2 LICENSE_COMB= dual BUILD_DEPENDS= ${NONEXISTENT}:print/freetype2:build LIB_DEPENDS= libfreetype.so:print/freetype2 \ libpng.so:graphics/png USES= meson tar:xz xorg USE_XORG= x11 USE_GITLAB= yes GL_PROJECT= freetype-demos GL_ACCOUNT= freetype GL_COMMIT= 07027905d9a47664251b3ee362c5cfad1cddf86f PLIST_FILES= ${FT_PROGRAMS:S,^,bin/,} FT_PROGRAMS= ftbench ftchkwd ftdiff ftdump ftgamma ftgrid ftlint ftmemchk \ ftmulti ftpatchk ftstring fttimer ftvalid ftview post-extract: ${LN} -sf `${MAKE} -C ${.CURDIR}/../../print/freetype2 -V WRKSRC` \ ${WRKDIR}/${GL_PROJECT}-${GL_COMMIT}/subprojects/freetype2 do-install: @(cd ${WRKSRC}/_build && \ ${INSTALL_PROGRAM} ${FT_PROGRAMS} ${STAGEDIR}${PREFIX}/bin) .include diff --git a/print/ghostscript7-base/Makefile b/print/ghostscript7-base/Makefile index 609349fb533b..07aa37c0bcc0 100644 --- a/print/ghostscript7-base/Makefile +++ b/print/ghostscript7-base/Makefile @@ -1,123 +1,121 @@ -# Created by: Andreas Klemm - PORTNAME= ghostscript PORTVERSION= 7.07 PORTREVISION= 32 CATEGORIES= print MASTER_SITES= SF/ghostscript/gnu-gs/${PORTVERSION}:gs_srcs \ PORTS_JP:ports_jp,ports_jp_gs PKGNAMESUFFIX= 7-base DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= hrs@FreeBSD.org COMMENT= Ghostscript 7.x PostScript interpreter LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/a010013l.pfb:print/gsfonts CONFLICTS_INSTALL= ghostscript*-base # CHECK USES= autoreconf cpe gmake jpeg shebangfix tar:bzip2 USE_LDCONFIG= yes CPE_VENDOR= artifex SHEBANG_FILES= lib/fixmswrd.pl # normazile WRKSRC so things like cups-pstoraster may work WRKSRC= ${WRKDIR}/${PORTNAME} MAKE_JOBS_UNSAFE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= ${MAKE_ENV} CONFIGURE_ARGS= --disable-compile-inits \ --enable-dynamic \ --with-ijs \ --without-x MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \ XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \ EXTRALIBS="${EXTRALIBS}" CPPFLAGS+= -fPIC -DUPD_SIGNAL=0 -I. \ -I${WRKSRC}/gimp-print \ -I${LOCALBASE}/include XCFLAGS+= -DA4 LDFLAGS+= ${XLDFLAGS} XLDFLAGS= -lpthread \ -L${LOCALBASE}/lib \ -L${WRKSRC}/gimp-print ALL_TARGET= so INSTALL_TARGET= soinstall PLIST_SUB= SHLIB_VER="${PORTVERSION:R}" \ GS_VERSION="${PORTVERSION}" OPTIONS_DEFINE= DOCS NO_OPTIONS_SORT=yes post-extract-all: ${LN} -sf ${WRKDIR}/${DISTNAME} ${WRKDIR}/${PORTNAME} post-extract: post-extract-all .include "Makefile.drivers" .include .include "files/Makefile.drivers_post" .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ ${OPTIONS_GROUP_SVGALIB:MGS_*:S/^GS_//} .if ${PORT_OPTIONS:MGS_${D}} PLIST_SUB+= GS_${D}="" .else PLIST_SUB+= GS_${D}="@comment " .endif .endfor .if ${PORT_OPTIONS:MGS_pcl3} ALL_TARGET+= pcl3opts .endif # contributed uniprint profiles CONTRIB_UPP= lqx70ch.upp lqx70cl.upp lqx70cm.upp \ stc740ih.upp stc740p.upp stc740pl.upp post-patch: ${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \ ${WRKSRC}/lib/gs_res.ps pre-build-drivers.mak: @${ECHO_CMD} '# automatically generated' > ${WRKSRC}/src/drivers.mak .for N in ${DEVS_LIST} @${ECHO_CMD} 'DEVICE_${N}=' >> ${WRKSRC}/src/drivers.mak .endfor .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ ${OPTIONS_MULTI_X11:MGS_*:S/^GS_//} \ ${OPTIONS_GROUP_SVGALIB:MGS_*:S/^GS_//} .for N in ${DEVS_LIST} .if ${PORT_OPTIONS:MGS_${D}} .if !defined(OPTIONS_UNSET) || !${OPTIONS_UNSET:MGS_${D}} .for X in ${DEVICE_${N}:M${D}.dev} @${ECHO_CMD} 'DEVICE_${N}+= $$(DD)${D}.dev' >> ${WRKSRC}/src/drivers.mak .endfor .endif .endif .endfor .endfor pre-build-contrib_extra.mak: ${CAT} /dev/null ${EXTRADEVMKFILE} > ${WRKSRC}/src/contrib_extra.mak pre-build-all: ${MKDIR} ${WRKSRC}/obj ${WRKSRC}/bin pre-build: pre-build-all pre-build-drivers.mak pre-build-contrib_extra.mak pre-install: ${MKDIR} ${STAGEDIR}${DATADIR} post-install: ${LN} -sf gsc ${STAGEDIR}${PREFIX}/bin/gs cd ${FILESDIR} && ${INSTALL_DATA} ${CONTRIB_UPP} \ ${STAGEDIR}${DATADIR}/${PORTVERSION}/lib post-install-DOCS-on: post-install-docs .include diff --git a/print/ghostscript7-commfont/Makefile b/print/ghostscript7-commfont/Makefile index af2083bba1b7..0af1df542c1f 100644 --- a/print/ghostscript7-commfont/Makefile +++ b/print/ghostscript7-commfont/Makefile @@ -1,37 +1,35 @@ -# Created by: Tomokatsu SAITO - PORTNAME= ghostscript PORTVERSION= 7.07 PORTREVISION= 15 CATEGORIES= print MASTER_SITES= # empty PKGNAMESUFFIX= 7-commfont DISTFILES= # empty MAINTAINER= hrs@FreeBSD.org COMMENT= Common files for Ghostscript 7.x CJK font support BUILD_DEPENDS= ${CMAPDIR}/ac15/cid2code.txt:print/adobe-cmaps RUN_DEPENDS= ${CMAPDIR}/ac15/cid2code.txt:print/adobe-cmaps NO_WRKSUBDIR= yes SUB_FILES= pkg-message \ Makefile template.cidfont template.ttcidfont template.font SUB_LIST= PORTVERSION="${PORTVERSION}" GS_RESDIR="${GS_RESDIR}" PLIST_SUB= GS_RESDIR="${GS_RESDIR}" USES= ghostscript:7,run NO_ARCH= yes CONFLICTS_INSTALL= \ ghostscript[789] \ ghostscript[789]-nox11 \ ghostscript9-agpl \ ghostscript9-agpl-nox11 CMAPDIR?= ${LOCALBASE}/share/fonts/adobe-cmaps GS_RESDIR?= share/ghostscript/Resource pre-build: @cd ${WRKDIR} && ${MV} Makefile template.* ${WRKSRC} .include diff --git a/print/ghostscript7-jpnfont/Makefile b/print/ghostscript7-jpnfont/Makefile index 15b6e3334626..f55b61a9ff9e 100644 --- a/print/ghostscript7-jpnfont/Makefile +++ b/print/ghostscript7-jpnfont/Makefile @@ -1,17 +1,15 @@ -# Created by: Mita Yoshio - PORTNAME= ghostscript PORTVERSION= 7.07 PORTREVISION= 13 CATEGORIES= print japanese PKGNAMESUFFIX= 7-jpnfont MAINTAINER= hrs@FreeBSD.org COMMENT= Japanese font support for Ghostscript 7.x RUN_DEPENDS= ${LOCALBASE}/share/fonts/std.ja_JP/Ryumin-Light.gs7:japanese/font-std \ ${LOCALBASE}/share/ghostscript/Resource/CIDFont/Ryumin-Light:print/ghostscript7-commfont USES= metaport ghostscript:7,run .include diff --git a/print/ghostscript7-korfont/Makefile b/print/ghostscript7-korfont/Makefile index 0d767dc967ed..7a094ccfea22 100644 --- a/print/ghostscript7-korfont/Makefile +++ b/print/ghostscript7-korfont/Makefile @@ -1,17 +1,15 @@ -# Created by: Mita Yoshio - PORTNAME= ghostscript PORTVERSION= 7.07 PORTREVISION= 9 CATEGORIES= print korean PKGNAMESUFFIX= 7-korfont MAINTAINER= hrs@FreeBSD.org COMMENT= Korean font support for Ghostscript 7.x RUN_DEPENDS= ${LOCALBASE}/share/fonts/CIDFont/Munhwa-Regular:korean/munhwafonts-cid \ ${LOCALBASE}/share/ghostscript/Resource/CIDFont/HYSMyeongJo-Medium:print/ghostscript7-commfont USES= ghostscript:7,run metaport .include diff --git a/print/ghostscript7-x11/Makefile b/print/ghostscript7-x11/Makefile index 8b0e59fe1688..de7a88cb592d 100644 --- a/print/ghostscript7-x11/Makefile +++ b/print/ghostscript7-x11/Makefile @@ -1,50 +1,48 @@ -# Created by: Andreas Klemm - PORTNAME= ghostscript PORTVERSION= 7.07 PORTREVISION= 32 CATEGORIES= print MASTER_SITES= SF/ghostscript/gnu-gs/${PORTVERSION}/ PKGNAMESUFFIX= 7-x11 DIST_SUBDIR= ${PORTNAME} MAINTAINER= hrs@FreeBSD.org COMMENT= Ghostscript 7.x PostScript interpreter, X11 support LICENSE= GPLv2 CONFLICTS_INSTALL= \ gambc \ ghostscript[789] \ ghostscript[789]-nox11 \ ghostscript9-agpl \ ghostscript9-agpl-nox11 USES= autoreconf cpe ghostscript:7 gmake tar:bzip2 xorg USE_LDCONFIG= yes USE_XORG= ice sm x11 xext xt CPE_VENDOR= artifex GNU_CONFIGURE= yes CONFIGURE_ENV= ${MAKE_ENV} CONFIGURE_ARGS= --disable-compile-inits \ --enable-dynamic \ --without-ijs \ --with-x \ --x-includes=${LOCALBASE}/include \ --x-libraries=${LOCALBASE}/lib MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \ XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \ EXTRALIBS="${EXTRALIBS}" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib XLDFLAGS= -lpthread ALL_TARGET= ./obj/X11.so INSTALL_TARGET= install-shared PLIST_FILES= ${GS_LIBDIR}/X11.so GS_LIBDIR= lib/${PORTNAME}/${PORTVERSION} pre-build: ${MKDIR} ${WRKSRC}/obj .include diff --git a/print/ghostscript8-base/Makefile b/print/ghostscript8-base/Makefile index 41e596233501..484214207f43 100644 --- a/print/ghostscript8-base/Makefile +++ b/print/ghostscript8-base/Makefile @@ -1,152 +1,150 @@ -# Created by: Andreas Klemm - PORTNAME= ghostscript PORTVERSION= 8.71 PORTREVISION= 23 CATEGORIES= print MASTER_SITES= http://downloads.ghostscript.com/public/:gs_srcs \ SF/ghostscript/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \ http://www.humblesoft.com/pub/:epag PKGNAMESUFFIX= 8-base DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs ${EPAG_SRCS}:epag DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Ghostscript 8.x PostScript interpreter, base part LICENSE= GPLv3 LIB_DEPENDS= libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libjasper.so:graphics/jasper \ libjbig2dec.so:graphics/jbig2dec \ libpaper.so:print/libpaper \ libpng.so:graphics/png \ libtiff.so:graphics/tiff RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/fonts/a010013l.pfb:print/gsfonts CONFLICTS_INSTALL= ghostscript*-base # CHECK USES= autoreconf cpe gmake pkgconfig shebangfix tar:xz USE_LDCONFIG= yes CPE_VENDOR= artifex SHEBANG_FILES= ${WRKSRC}/lib/fixmswrd.pl EXTRACT_AFTER_ARGS= ${EXCLUDE_DIRS:S/^/--exclude /} GNU_CONFIGURE= yes DATADIR= ${PREFIX}/share/${PORTNAME}/${PORTVERSION} MAKE_JOBS_UNSAFE= yes MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \ XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \ FT_BRIDGE=1 FT_ROOT="${WRKSRC}/freetype" FT_LIB_EXT=".so" \ SOC_LOADER="dxmainc.c" CONFIGURE_ENV= ${MAKE_ENV} CONFIGURE_ARGS= --disable-compile-inits \ --enable-contrib \ --enable-dynamic \ --with-ijs \ --with-jasper \ --with-libpaper \ --without-x \ --disable-gtk \ --with-drivers="" CPPFLAGS+= -DUPD_SIGNAL=0 \ -DJBIG_NO_MEMENTO \ -I. \ -I${WRKSRC}/jasper/src/libjasper/include \ -I${LOCALBASE}/include/freetype2 \ -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib XCFLAGS= -DA4 XLDFLAGS= -lpthread ALL_TARGET= so INSTALL_TARGET= soinstall PLIST_SUB= SHLIB_VER="${PORTVERSION:R}" \ GS_VERSION="${PORTVERSION}" SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS CAIRO CUPS FONTCONFIG ICONV OPTIONS_DEFAULT=CAIRO CUPS FONTCONFIG ICONV OPTIONS_SUB= yes FONTCONFIG_DESC=Enable fontconfig support FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FONTCONFIG_CONFIGURE_ENABLE= fontconfig NO_OPTIONS_SORT=yes EXCLUDE_DIRS= jbig2dec jpeg expat jasper libpng tiff zlib .include "Makefile.drivers" .include .include "files/Makefile.drivers_post" PORTDOCS= japanese chp2200 epson740 lxm3200-tweaked md2k_md5k PORTDOC_FILES= japanese/Gdevlips.htm japanese/README.gs550j \ japanese/cdj880.txt japanese/dj505j.txt japanese/djgpp.txt \ japanese/gdev10v.txt japanese/gdevalps.txt \ japanese/gdevcd8.txt japanese/gdevdmpr.txt \ japanese/gdevfmlbp.txt japanese/gdevj100.txt \ japanese/gdevlbp3.txt japanese/gdevmag.txt \ japanese/gdevmd2k.txt japanese/gdevmjc.txt \ japanese/gdevml6.txt japanese/gdevp201.txt japanese/gs261j.euc \ japanese/gs261j.txt chp2200/AUTHORS chp2200/INSTALL \ epson740/README epson740/upp-HowTo-to-be \ lxm3200-tweaked/LICENSE lxm3200-tweaked/README \ lxm3200-tweaked/RELEASE_NOTES \ lxm3200-tweaked/Z12-Z31-QuickSetup md2k_md5k/README.jis post-patch: ${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \ ${WRKSRC}/contrib/japanese/dmp_site.ps pre-build-drivers.mak: @${ECHO_CMD} '# automatically generated' > ${WRKSRC}/base/drivers.mak .for N in ${DEVS_LIST} @${ECHO_CMD} 'DEVICE_${N}=' >> ${WRKSRC}/base/drivers.mak .endfor .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ ${OPTIONS_GROUP_ICONV:MGS_*:S/^GS_//} \ ${OPTIONS_GROUP_SVGALIB:MGS_*:S/^GS_//} .for N in ${DEVS_LIST} .if ${PORT_OPTIONS:MGS_${D}} .if !defined(OPTIONS_UNSET) || !${OPTIONS_UNSET:MGS_${D}} .for X in ${DEVICE_${N}:M${D}.dev} @${ECHO_CMD} 'DEVICE_${N}+= $$(DD)${D}.dev' >> ${WRKSRC}/base/drivers.mak .endfor .endif .endif .endfor .endfor pre-build: pre-build-drivers.mak ${MKDIR} ${WRKSRC}/obj ${WRKSRC}/bin ${WRKSRC}/freetype/include ${LN} -s -f ${LOCALBASE}/include/ft2build.h \ ${WRKSRC}/freetype/include/ft2build.h ${LN} -s -f ${LOCALBASE}/include/freetype2/freetype \ ${WRKSRC}/freetype/include/freetype ${MKDIR} ${WRKSRC}/freetype/objs ${LN} -s -f ${LOCALBASE}/lib/libfreetype.so \ ${WRKSRC}/freetype/objs/freetype214MT_D.so pre-install: cd ${WRKSRC}/Resource/Init && ${RM} \ gs_statd.ps.orig gs_ttf.ps.orig pdf_font.ps.orig ${MKDIR} ${STAGEDIR}${DATADIR} post-install-DOCS-on: post-install-docs ${MKDIR} ${WRKSRC}/contrib/japanese ${INSTALL_DATA} ${WRKSRC}/contrib/japanese/doc/* \ ${WRKSRC}/contrib/japanese ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/contrib && \ ${TAR} -cf - ${PORTDOC_FILES} | \ (cd ${STAGEDIR}${DOCSDIR} && ${TAR} -xof -) post-install: ${INSTALL_DATA} ${WRKSRC}/lib/FAPIcidfmap \ ${WRKSRC}/lib/FAPIconfig ${WRKSRC}/lib/FAPIfontmap \ ${STAGEDIR}${DATADIR}/Resource/Init ${LN} -sf gsc ${STAGEDIR}${PREFIX}/bin/gs ${LN} -s -f ${LOCALBASE}/share/fonts/CIDFont \ ${STAGEDIR}${DATADIR}/Resource/CIDFont .include diff --git a/print/ghostscript8-x11/Makefile b/print/ghostscript8-x11/Makefile index c4198cc1436b..a21af5f1dd17 100644 --- a/print/ghostscript8-x11/Makefile +++ b/print/ghostscript8-x11/Makefile @@ -1,57 +1,55 @@ -# Created by: Andreas Klemm - PORTNAME= ghostscript PORTVERSION= 8.71 PORTREVISION= 19 CATEGORIES= print MASTER_SITES= http://downloads.ghostscript.com/public/ \ SF/ghostscript/GPL%20Ghostscript/${PORTVERSION}/ \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs${PORTVERSION:S/.//}/ PKGNAMESUFFIX= 8-x11 DIST_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Ghostscript 8.x PostScript interpreter, X11 support LICENSE= GPLv3 CONFLICTS_INSTALL= \ gambc \ ghostscript[789] \ ghostscript[789]-nox11 \ ghostscript9-agpl \ ghostscript9-agpl-nox11 USES= autoreconf cpe ghostscript:8 gmake tar:xz xorg USE_LDCONFIG= yes USE_XORG= ice sm x11 xext xt CPE_VENDOR= artifex GNU_CONFIGURE= yes EXTRACT_AFTER_ARGS= ${EXCLUDE_DIRS:S/^/--exclude /} MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \ XLDFLAGS="${XLDFLAGS}" CONFIGURE_ENV= ${MAKE_ENV} CONFIGURE_ARGS= --disable-compile-inits \ --disable-contrib \ --enable-dynamic \ --without-ijs \ --without-jasper \ --without-libpaper \ --with-x \ --x-includes=${LOCALBASE}/include \ --x-libraries=${LOCALBASE}/lib \ --with-drivers="" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib XLDFLAGS= -lpthread ALL_TARGET= ./obj/X11.so INSTALL_TARGET= install-shared PLIST_FILES= ${GS_LIBDIR}/X11.so GS_LIBDIR= lib/${PORTNAME}/${PORTVERSION} EXCLUDE_DIRS= jbig2dec jpeg expat jasper libpng tiff zlib pre-build: ${MKDIR} ${WRKSRC}/obj .include diff --git a/print/gimp-gutenprint/Makefile b/print/gimp-gutenprint/Makefile index 9e6d8567f1f1..e2830344da6f 100644 --- a/print/gimp-gutenprint/Makefile +++ b/print/gimp-gutenprint/Makefile @@ -1,13 +1,11 @@ -# Created by: Michael Johnson - PORTREVISION= 1 PKGNAMEPREFIX= gimp- COMMENT= Gimp print plug-in MASTERDIR= ${.CURDIR}/../../print/gutenprint GUT_SLAVE= gimp PLIST= ${.CURDIR}/pkg-plist .include "${MASTERDIR}/Makefile" diff --git a/print/gl2ps/Makefile b/print/gl2ps/Makefile index 578580b1630c..780ced64caf7 100644 --- a/print/gl2ps/Makefile +++ b/print/gl2ps/Makefile @@ -1,24 +1,22 @@ -# Created by: Igor Pokrovsky - PORTNAME= gl2ps PORTVERSION= 1.4.2 PORTREVISION= 1 CATEGORIES= print graphics MASTER_SITES= http://www.geuz.org/gl2ps/src/ MAINTAINER= makc@FreeBSD.org COMMENT= C library providing vector output for OpenGL applications LICENSE= LGPL20+ LICENSE_FILE= ${WRKSRC}/COPYING.LGPL LIB_DEPENDS= libpng.so:graphics/png USES= cmake gl tar:tgz USE_GL= gl USE_LDCONFIG= yes PLIST_SUB= SHLIB_VER=${PORTVERSION} OPTIONS_DEFINE= DOCS .include diff --git a/print/gsfonts/Makefile b/print/gsfonts/Makefile index b7e79d8ca4ae..d9dbd0bb7511 100644 --- a/print/gsfonts/Makefile +++ b/print/gsfonts/Makefile @@ -1,52 +1,50 @@ -# Created by: giffunip - PORTNAME= gsfonts PORTVERSION= 8.11 PORTREVISION= 8 CATEGORIES= print x11-fonts MASTER_SITES= SF/gs-fonts/gs-fonts/${PORTVERSION}%20%28base%2035%2C%20GPL%29/:std \ SF/gs-fonts/gs-fonts/6.0%20%28misc%2C%20GPL%29/:other DISTFILES= ghostscript-fonts-std-${PORTVERSION}${EXTRACT_SUFX}:std \ gnu-gs-fonts-other-6.0${EXTRACT_SUFX}:other DIST_SUBDIR= ghostscript MAINTAINER= ports@FreeBSD.org COMMENT= Standard Fonts for Ghostscript LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/fonts/COPYING NO_WRKSUBDIR= yes NO_BUILD= yes NO_ARCH= yes PLIST_SUB= FONTSDIR="${FONTSDIR:S|${STAGEDIR}${PREFIX}/||}" OPTIONS_DEFINE= DOCS FONTSDIR= ${STAGEDIR}${PREFIX}/share/ghostscript/fonts CJKFONTS?= std.ja_JP/Ryumin-Light \ std.ja_JP/GothicBBB-Medium \ std.ja_JP/Ryumin-Light.gs7 \ std.ja_JP/GothicBBB-Medium.gs7 \ std.zh_CN/STHeiti-Regular \ std.zh_CN/STSong-Light \ std.zh_CN/MSung-Light PORTDOCS= ChangeLog README README.tweaks TODO do-install: ${MKDIR} ${FONTSDIR} cd ${WRKSRC}/fonts && \ ${INSTALL_DATA} fonts.dir \ *.afm *.gsf *.pfa *.pfb *.pfm ${FONTSDIR}/ \ && ${INSTALL_DATA} fonts.scale ${FONTSDIR}/fonts.scale.urw cd ${FILESDIR} && \ ${INSTALL_DATA} fonts.scale Fontmap ${FONTSDIR}/ for F in ${CJKFONTS}; do \ ${LN} -s -f ${PREFIX}/share/fonts/$${F} ${FONTSDIR}/; \ done post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/fonts && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/print/gtklp/Makefile b/print/gtklp/Makefile index ac12ce8d000f..b85d8bfd13cb 100644 --- a/print/gtklp/Makefile +++ b/print/gtklp/Makefile @@ -1,36 +1,34 @@ -# Created by: Martin Klaffenboeck - PORTNAME= gtklp DISTVERSION= 1.3.4 DISTVERSIONSUFFIX= .src CATEGORIES= print MASTER_SITES= SF MAINTAINER= m.ne@gmx.net COMMENT= GTK interface to cups LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcups.so:print/cups \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= autoreconf gettext gnome libtool pkgconfig xorg USE_GNOME= cairo gtk20 USE_XORG= x11 GNU_CONFIGURE= yes DESKTOP_ENTRIES="GtkLP" "" "${PORTNAME}" "${PORTNAME}" "System;GTK;" "" WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} post-install: .for i in 16 24 32 48 64 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps (cd ${WRKSRC}/libgtklp/icons && ${INSTALL_DATA} ${i}x${i}.xpm \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/gtklp.xpm) .endfor .include diff --git a/print/gutenprint/Makefile b/print/gutenprint/Makefile index d865c3ff6755..48234acf5c8e 100644 --- a/print/gutenprint/Makefile +++ b/print/gutenprint/Makefile @@ -1,73 +1,71 @@ -# Created by: dgilbert@velocet.ca - PORTNAME= gutenprint PORTVERSION= 5.3.3 PORTREVISION?= 0 CATEGORIES= print MASTER_SITES= SF/gimp-print/gutenprint-5.3/${PORTVERSION} MAINTAINER= cmt@FreeBSD.org COMMENT?= Gutenprint Printer Drivers LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static --enable-cups-ppds \ --enable-cups-1_2-enhancements \ --enable-simplified-cups-ppds \ --disable-globalized-cups-ppds \ --enable-cups-level3-ppds \ --disable-translated-cups-ppds INSTALL_TARGET= install-strip USES= compiler:c11 cpe gettext gmake libtool pathfix perl5 pkgconfig \ tar:xz CPE_VENDOR= ${PORTNAME}_project OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes DOCS_CONFIGURE_WITH= doc NLS_CONFIGURE_ENABLE= nls .if !defined(GUT_SLAVE) LIB_DEPENDS+= libcupsimage.so:print/cups RUN_DEPENDS+= ${LOCALBASE}/libexec/cups/filter/gstoraster:print/cups-filters CONFIGURE_ARGS+=--disable-libgutenprintui2 --without-gimp2 \ --with-cups=${PREFIX} \ --with-cups-config=${PREFIX}/bin/cups-config USES+= iconv USE_LDCONFIG= yes .else LIB_DEPENDS+= libgutenprint.so:print/gutenprint MAKE_ARGS+= GUTENPRINT_LIBS='`$$(PKG_CONFIG) --libs gutenprint`' .if ${GUT_SLAVE} == "gimp" USES+= gnome USE_GNOME+= cairo gdkpixbuf2 LIB_DEPENDS+= libbabl-0.1.so:x11/babl \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgegl-0.4.so:graphics/gegl \ libgimp-2.0.so:graphics/gimp-app \ libjson-glib-1.0.so:devel/json-glib CONFIGURE_ARGS+=--enable-libgutenprintui2 --with-gimp2 BUILD_WRKSRC= ${WRKSRC}/src/gimp2 INSTALL_WRKSRC= ${WRKSRC}/src/gimp2 USE_GNOME+= gtk20 .endif .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/lpstat|${LOCALBASE}/bin/lpstat|' \ ${WRKSRC}/src/gutenprintui2/plist.c @${REINPLACE_CMD} -e '/DEPENDENCIES/s/$$(GUTENPRINT_LIBS)//' \ ${WRKSRC}/src/gimp2/Makefile.in post-install: .if defined(GUT_SLAVE) && ${GUT_SLAVE} == "gimp" @(cd ${WRKSRC}/src/gutenprintui2 && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .else @(test -d ${STAGEDIR}/${DATADIR}/doc/reference-html && ${RMDIR} ${STAGEDIR}/${DATADIR}/doc/reference-html || :) .endif .include diff --git a/print/gv/Makefile b/print/gv/Makefile index 84809e31d294..fa2341d38837 100644 --- a/print/gv/Makefile +++ b/print/gv/Makefile @@ -1,41 +1,39 @@ -# Created by: tg@FreeBSD.org - PORTNAME= gv PORTVERSION= 3.7.4 PORTREVISION= 5 CATEGORIES= print MASTER_SITES= GNU MAINTAINER= mbeis@xs4all.nl COMMENT= PostScript and PDF previewer LIB_DEPENDS= libXaw3d.so:x11-toolkits/Xaw3d USES= cpe ghostscript:x11 iconv gmake perl5 shebangfix xorg USE_PERL5= build USE_XORG= xpm ice sm xext xmu x11 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/X11 \ --enable-setenv-code \ --enable-SIGCHLD-fallback SHEBANG_FILES= ${WRKSRC}/src/gv-update-userconfig.in INFO= gv CPE_VENDOR= gnu PLIST_FILES= bin/gv \ bin/gv-update-userconfig \ %%DATADIR%%/gv_system.ad \ lib/X11/app-defaults/GV \ man/man1/gv.1.gz \ man/man1/gv-update-userconfig.1.gz PLIST_DIRS= %%DATADIR%%/safe-gs-workdir .include .if empty(ICONV_LIB) CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv_open=no .endif .include diff --git a/print/harfbuzz/Makefile b/print/harfbuzz/Makefile index 870c4f0eba3b..f66ad1252b84 100644 --- a/print/harfbuzz/Makefile +++ b/print/harfbuzz/Makefile @@ -1,56 +1,54 @@ -# Created by: Koop Mast - PORTNAME= harfbuzz DISTVERSION= 4.4.1 PORTREVISION?= 0 CATEGORIES= print MASTER_SITES= https://github.com/harfbuzz/harfbuzz/releases/download/${DISTVERSION}/ MAINTAINER= desktop@FreeBSD.org COMMENT?= OpenType text shaping engine LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfreetype.so:print/freetype2 \ libgraphite2.so:graphics/graphite2 USES= compiler:c++11-lib cpe gnome meson \ pkgconfig python:build shebangfix tar:xz USE_GNOME= glib20 introspection:build USE_LDCONFIG= yes SHEBANG_GLOB= *.py CPE_VENDOR= harfbuzz_project MESON_ARGS= -Dglib=enabled -Dgobject=enabled -Dgraphite=enabled \ -Dfreetype=enabled -Dbenchmark=disabled PLIST_SUB+= LIBVER=0.40401.0 HARFBUZZ_SLAVE?= no .if ${HARFBUZZ_SLAVE} == no OPTIONS_DEFINE= DOCS TEST OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= gtkdoc-scan:textproc/gtk-doc DOCS_MESON_ENABLED= docs TEST_MESON_ENABLED= tests .endif .if ${HARFBUZZ_SLAVE} == no MESON_ARGS+= -Dicu=disabled -Dcairo=disabled .elif ${HARFBUZZ_SLAVE} == icu MESON_ARGS+= -Dicu=enabled -Dcairo=disabled -Ddocs=disabled \ -Dtests=disabled LIB_DEPENDS+= libharfbuzz.so:print/harfbuzz \ libicudata.so:devel/icu .elif ${HARFBUZZ_SLAVE} == hb-view MESON_ARGS+= -Dcairo=enabled -Dicu=disabled -Ddocs=disabled \ -Dtests=disabled LIB_DEPENDS+= libharfbuzz.so:print/harfbuzz USE_GNOME+= cairo .endif .include diff --git a/print/hp2xx/Makefile b/print/hp2xx/Makefile index f2ff6a0bb0ca..c5c8c402eb0b 100644 --- a/print/hp2xx/Makefile +++ b/print/hp2xx/Makefile @@ -1,39 +1,37 @@ -# Created by: Lars Koeller - PORTNAME= hp2xx PORTVERSION= 3.4.4 PORTREVISION= 8 CATEGORIES= print x11 MASTER_SITES= GNU MAINTAINER= ports@FreeBSD.org COMMENT= HPGL to vector and raster formats converter and previewer for X11 LICENSE= GPLv2+ LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff WRKSRC_SUBDIR= sources USES= makeinfo MAKE_ARGS= infodir=${PREFIX}/${INFO_PATH} MAKE_ENV= DEFINES="${CPPFLAGS}" ALL_LIBS="${LDFLAGS}" CPPFLAGS+= -DUNIX -I${LOCALBASE}/include LDFLAGS+= -lm -L${LOCALBASE}/lib -ltiff -lpng -lz INFO= hp2xx PLIST_FILES= bin/hp2xx man/man1/hp2xx.1.gz OPTIONS_DEFINE= X11 OPTIONS_DEFAULT= X11 X11_USES= xorg X11_USE= XORG=x11 X11_MAKE_ENV= PREVIEWER=to_x11 X11_MAKE_ENV_OFF= PREVIEWER=no_prev X11_CPPFLAGS= -DHAS_UNIX_X11 -I${LOCALBASE}/include X11_LDFLAGS= -L${LOCALBASE}/lib -lX11 .include diff --git a/print/hplip-plugin/Makefile b/print/hplip-plugin/Makefile index 637e70284485..c30f69d4bf35 100644 --- a/print/hplip-plugin/Makefile +++ b/print/hplip-plugin/Makefile @@ -1,78 +1,76 @@ -# Created by: amistry@am-productions.biz - PORTNAME= hplip-plugin PORTVERSION= 3.22.4 CATEGORIES= print MASTER_SITES= https://developers.hp.com/sites/default/files/ DISTNAME= hplip-${DISTVERSION}-plugin EXTRACT_SUFX= .run MAINTAINER= tijl@FreeBSD.org COMMENT= Binary plugin for some HP Printers and All-in-One devices # License agreement is required LICENSE= HPLIP_PLUGIN LICENSE_NAME= HPLIP Driver Plug-in License LICENSE_FILE= ${WRKSRC}/license.txt LICENSE_PERMS= none ONLY_FOR_ARCHS= amd64 i386 # arm RUN_DEPENDS= hp-plugin:print/hplip PORTSCOUT= ignore:1 PLUGINS= fax/plugins/fax_marvell \ prnt/plugins/hbpl1 \ prnt/plugins/lj \ scan/plugins/bb_escl \ scan/plugins/bb_marvell \ scan/plugins/bb_soap \ scan/plugins/bb_soapht PLIST_SUB+= LINARCH="${LINARCH}" .include .if ${ARCH} == "i386" LINARCH= x86_32 .elif ${ARCH} == "amd64" LINARCH= x86_64 .endif do-extract: @${SH} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \ --keep --noexec --nox11 --target ${WRKSRC} do-build: ${MKDIR} ${WRKSRC}/build ${CC} ${CFLAGS} -Wall -fPIC -c ${FILESDIR}/wrap.c \ -o ${WRKSRC}/build/wrap.o .for p in ${PLUGINS} ${BRANDELF} -t FreeBSD ${WRKSRC}/${p:T}-${LINARCH}.so (cd ${WRKSRC}/build \ && ${CC} -shared -fPIC -o ${p:T}-${LINARCH}.so wrap.o \ && ${CC} ${CFLAGS} ${LDFLAGS} -shared -fPIC -o ${p:T}.so wrap.o \ ${p:T}-${LINARCH}.so -Wl,-rpath,${PREFIX}/share/hplip/${p:H}) .endfor do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/hplip/data/firmware ${INSTALL_DATA} ${WRKSRC}/*.fw.gz \ ${STAGEDIR}${PREFIX}/share/hplip/data/firmware ${MKDIR} ${PLUGINS:H:S,^,${STAGEDIR}${PREFIX}/share/hplip/,} .for p in ${PLUGINS} # -m 555 because HPLIP checks that the plugins are +x. ${INSTALL_LIB} -m 555 ${WRKSRC}/${p:T}-${LINARCH}.so \ ${STAGEDIR}${PREFIX}/share/hplip/${p}-${LINARCH}.so ${INSTALL_LIB} -m 555 ${WRKSRC}/build/${p:T}.so \ ${STAGEDIR}${PREFIX}/share/hplip/${p}.so .endfor ${INSTALL_DATA} ${WRKSRC}/plugin.spec ${STAGEDIR}${PREFIX}/share/hplip ${MKDIR} ${STAGEDIR}/var/lib/hp ${ECHO_CMD} '[plugin]' > ${STAGEDIR}/var/lib/hp/hplip.state ${ECHO_CMD} 'installed = 1' >> ${STAGEDIR}/var/lib/hp/hplip.state ${ECHO_CMD} 'eula = 1' >> ${STAGEDIR}/var/lib/hp/hplip.state ${ECHO_CMD} 'version = ${PORTVERSION}' >> ${STAGEDIR}/var/lib/hp/hplip.state .include diff --git a/print/hplip/Makefile b/print/hplip/Makefile index 718d8f1d367d..a0f74c843c1c 100644 --- a/print/hplip/Makefile +++ b/print/hplip/Makefile @@ -1,128 +1,126 @@ -# Created by: amistry@am-productions.biz - PORTNAME= hplip PORTVERSION= 3.22.4 CATEGORIES= print MASTER_SITES= SF MAINTAINER= tijl@FreeBSD.org COMMENT= Drivers and utilities for HP printers and All-in-One devices LICENSE= GPLv2+ MIT BSD3CLAUSE LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcupsimage.so:print/cups \ libdbus-1.so:devel/dbus RUN_DEPENDS= cups-filters>=0:print/cups-filters \ ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}distro>=1.0.1:sysutils/py-distro@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR} USES= dos2unix jpeg libtool localbase pkgconfig python:3.6+ \ shebangfix USE_LDCONFIG= yes DOS2UNIX_FILES= scan/sane/OrbliteScan/LinuxCommon.h scan/sane/orblite.c SHEBANG_GLOB= *.py hpps pstotiff GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-cupsbackenddir=${PREFIX}/libexec/cups/backend \ --with-cupsfilterdir=${PREFIX}/libexec/cups/filter \ --with-icondir=${DESKTOPDIR} \ --with-systraydir=${PREFIX}/etc/xdg/autostart \ --with-mimedir=${PREFIX}/share/cups/mime \ --with-docdir=${DOCSDIR} \ --with-htmldir=${DOCSDIR} \ --with-drvdir=${PREFIX}/share/cups/drv \ --disable-imageProcessor-build \ --disable-qt4 CONFIGURE_ENV+= PYTHONINCLUDEDIR=${PYTHON_INCLUDEDIR} CPPFLAGS+= -I${PYTHON_INCLUDEDIR} INSTALL_TARGET= install-strip DEBUG_FLAGS+= -UNDEBUG -DHP_DEBUG -DHPIP_DEBUG -DHPMUD_DEBUG -DHTTP_DEBUG \ -DAVAHI_DEBUG -DBB_LEDM_DEBUG -DESCL_DEBUG -DHPAIO_DEBUG \ -DSCLPML_DEBUG OPTIONS_DEFINE= DOCS FAX NETWORK SCAN X11 XSANE OPTIONS_DEFAULT= NETWORK SCAN X11 OPTIONS_SUB= yes DOCS_CONFIGURE_ENABLE= doc-build FAX_DESC= PC Send Fax support FAX_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}reportlab>=0:print/py-reportlab@${PY_FLAVOR} FAX_CONFIGURE_ENABLE= fax-build SCAN_DESC= Scanning support SCAN_RUN_DEPENDS= ${PY_PILLOW} SCAN_LIB_DEPENDS= libsane.so:graphics/sane-backends SCAN_CONFIGURE_ENABLE= scan-build NETWORK_DESC= Network/JetDirect support NETWORK_USES= ssl NETWORK_LIB_DEPENDS= libavahi-client.so:net/avahi-app \ libnetsnmp.so:net-mgmt/net-snmp NETWORK_CONFIGURE_ENABLE= network-build X11_DESC= Graphical User Interface (Qt) X11_CONFIGURE_ENABLE= gui-build qt5 X11_USES= pyqt:5 X11_USE= PYQT=pyqt5_run XSANE_DESC= Install XSane for scanning (implies SCAN) XSANE_IMPLIES= SCAN XSANE_RUN_DEPENDS= xsane:graphics/xsane post-patch: @${REINPLACE_CMD} \ -e 's,/usr/local,${PREFIX},g' \ ${WRKSRC}/base/g.py \ ${WRKSRC}/base/utils.py \ ${WRKSRC}/base/queues.py \ ${WRKSRC}/check.py \ ${WRKSRC}/common/utils.c \ ${WRKSRC}/doc/troubleshooting.html \ ${WRKSRC}/fax/backend/hpfax.py \ ${WRKSRC}/fax/filters/pstotiff \ ${WRKSRC}/FindPPD.cpp \ ${WRKSRC}/installer/core_install.py \ ${WRKSRC}/installer/pluginhandler.py \ ${WRKSRC}/logcapture.py \ ${WRKSRC}/prnt/hpps/hppsfilter.c \ ${WRKSRC}/prnt/cups.py \ ${WRKSRC}/prnt/hpijs/hpcupsfax.cpp \ ${WRKSRC}/prnt/hpijs/globals.cpp \ ${WRKSRC}/prnt/hpijs/foomatic-rip-hplip \ ${WRKSRC}/prnt/filters/hpps \ ${WRKSRC}/ui5/scandialog.py \ ${WRKSRC}/ui5/devmgr5.py \ post-install: ${RM} ${STAGEDIR}${PREFIX}/bin/hp-pkservice \ ${STAGEDIR}${PREFIX}/bin/hp-uninstall \ ${STAGEDIR}${PREFIX}/bin/hp-upgrade \ ${STAGEDIR}${DOCSDIR}/uninstalling.html \ ${STAGEDIR}${DOCSDIR}/upgrading.html \ ${STAGEDIR}${DATADIR}/dat2drv \ ${STAGEDIR}${DATADIR}/locatedriver \ ${STAGEDIR}${DATADIR}/pkservice.py \ ${STAGEDIR}${DATADIR}/uninstall.py \ ${STAGEDIR}${DATADIR}/upgrade.py ${MV} ${STAGEDIR}${PREFIX}/etc/hp/hplip.conf \ ${STAGEDIR}${PREFIX}/etc/hp/hplip.conf.sample ${MKDIR} ${STAGEDIR}/var/lib/hp post-install-X11-on: .for s in 16 32 64 128 256 ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps ${LN} ${STAGEDIR}${DATADIR}/data/images/${s}x${s}/hp_logo.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps .endfor post-install-X11-off: ${RMDIR} ${STAGEDIR}${DATADIR}/data/images/* \ ${STAGEDIR}${DATADIR}/data/images .include diff --git a/print/hs-hscolour/Makefile b/print/hs-hscolour/Makefile index 43ce3c3f5b7b..320b69a5f714 100644 --- a/print/hs-hscolour/Makefile +++ b/print/hs-hscolour/Makefile @@ -1,18 +1,16 @@ -# Created by: Giuseppe Pilichi aka Jacula Modyun - PORTNAME= hscolour PORTVERSION= 1.24.4 PORTREVISION= 9 PORTEPOCH= 1 CATEGORIES= print haskell MAINTAINER= haskell@FreeBSD.org COMMENT= Colourise Haskell code LICENSE= GPLv2 USES= cabal EXECUTABLES= HsColour .include diff --git a/print/html2latex/Makefile b/print/html2latex/Makefile index 3bfb2634c262..e895ff8d94ea 100644 --- a/print/html2latex/Makefile +++ b/print/html2latex/Makefile @@ -1,14 +1,12 @@ -# Created by: joerg - PORTNAME= html2latex PORTVERSION= 0.9c CATEGORIES= print MASTER_SITES= LOCAL/joerg MAINTAINER= joerg@FreeBSD.org COMMENT= Convert HTML document into LaTeX USES= tar:Z PLIST_FILES= bin/html2latex man/man1/html2latex.1.gz .include diff --git a/print/html2ps/Makefile b/print/html2ps/Makefile index 0820f5941b1e..ca64b97ef1af 100644 --- a/print/html2ps/Makefile +++ b/print/html2ps/Makefile @@ -1,51 +1,49 @@ -# Created by: Andreas Klemm - PORTNAME= html2ps DISTVERSION= 1.0b7 PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= print www perl5 MASTER_SITES= LOCAL/hrs MAINTAINER= hrs@FreeBSD.org COMMENT= HTML to PostScript converter LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= p5-libwww>=0:www/p5-libwww \ weblint++:www/weblint++ \ paperconf:print/libpaper NO_BUILD= yes USES= ghostscript:run magick:6,run perl5 CONFLICTS_INSTALL= p5-DocSet # bin/html2ps SUB_FILES= html2psrc PLIST_FILES= bin/html2ps \ etc/html2psrc \ man/man1/html2ps.1.gz \ man/man5/html2psrc.5.gz \ ${DATADIR_REL}/html2ps.html \ ${DATADIR_REL}/hyphen.tex post-patch: @${REINPLACE_CMD} -e \ 's|exec perl|exec ${PERL}| ; \ s|%%LOCALBASE%%|${LOCALBASE}| ; \ s|%%PREFIX%%|${PREFIX}| ; \ s|%%DATADIR%%|${DATADIR}|' \ ${WRKSRC}/html2ps do-install: ${INSTALL_SCRIPT} ${WRKSRC}/html2ps ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKDIR}/html2psrc ${STAGEDIR}${PREFIX}/etc ${INSTALL_MAN} ${WRKSRC}/html2ps.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/html2psrc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5 @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/html2ps.html ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/hyphen.tex ${STAGEDIR}${DATADIR} .include diff --git a/print/hyperlatex/Makefile b/print/hyperlatex/Makefile index 7d21f73cd82d..5cafd75d5c54 100644 --- a/print/hyperlatex/Makefile +++ b/print/hyperlatex/Makefile @@ -1,44 +1,42 @@ -# Created by: Robert Withrow - PORTNAME= Hyperlatex DISTVERSION= 2.9a PORTREVISION= 15 CATEGORIES= print MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}/2.9a PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Produce HTML and printed documents from LaTeX source RUN_DEPENDS= ppmtogif:graphics/netpbm USES= emacs USE_TEX= latex CONFLICTS_INSTALL= Hyperlatex Hyperlatex-emacs_* LATEX_DIR= ${PREFIX}/share/texmf/tex/latex/hyperlatex HYPERLATEX_DIR= ${PREFIX}/share/hyperlatex do-configure: @(cd ${WRKSRC} && \ ${REINPLACE_CMD} -e 's|http://www.cs.uu.nl/\\~{}otfried/img/||' hlx/siteinit.hlx && \ ${REINPLACE_CMD} -e 's|$$HOME/Hyperlatex/Hlx|${HYPERLATEX_DIR}|' bin/hyperlatex && \ ${REINPLACE_CMD} -e '1s|^#$$|#\!/usr/bin/awk|' bin/normalize-eps.awk) do-build: cd ${WRKSRC}/hlx; emacs -batch -q -no-site-file -l hyperlatex.el -f hyperlatex-compile do-install: @${MKDIR} ${STAGEDIR}${HYPERLATEX_DIR} @${MKDIR} ${STAGEDIR}${LATEX_DIR} ${INSTALL_SCRIPT} ${WRKSRC}/bin/hyperlatex ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/ps2image ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/normalize-eps.awk \ ${STAGEDIR}${PREFIX}/bin/normalize-eps ${INSTALL_DATA} ${WRKSRC}/etc/hyperlatex.sty ${STAGEDIR}${LATEX_DIR} cd ${WRKSRC}/hlx; for f in *.el *.elc *.hlx *.xbm *.awk ; do \ if [ -f $$f ]; then ${INSTALL_DATA} $$f \ ${STAGEDIR}${HYPERLATEX_DIR}; fi; done .include diff --git a/print/kde_poster/Makefile b/print/kde_poster/Makefile index 634daadaa390..6dc68dafa4ac 100644 --- a/print/kde_poster/Makefile +++ b/print/kde_poster/Makefile @@ -1,27 +1,25 @@ -# Created by: Bruce M. Simpson - PORTNAME= kde_poster PORTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= print kde MASTER_SITES= KDE/printing DISTNAME= poster MAINTAINER= ports@FreeBSD.org COMMENT= KDE version of the poster utility LICENSE= GPLv2 USES= tar:bzip2 ALL_TARGET= poster WRKSRC= ${WRKDIR}/${DISTNAME}-20060221 CONFLICTS?= poster PLIST_FILES= bin/poster man/man1/poster.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1 .include diff --git a/print/latex-resume/Makefile b/print/latex-resume/Makefile index 7bb11dd76ef9..3ebc38607a2f 100644 --- a/print/latex-resume/Makefile +++ b/print/latex-resume/Makefile @@ -1,36 +1,34 @@ -# Created by: ijliao - PORTNAME= resume PORTVERSION= 20010823 PORTREVISION= 3 CATEGORIES= print MASTER_SITES= TEX_CTAN/macros/latex/contrib/${PORTNAME} PKGNAMEPREFIX= latex- DISTNAME= res EXTRACT_SUFX= .cls DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Resume class for LaTeX USE_TEX= latex NO_BUILD= yes NO_WRKSUBDIR= yes EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= # empty EXTRACT_AFTER_ARGS= . TEXMFDIR= share/texmf MKTEXLSR= ${LOCALBASE}/bin/mktexlsr CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME} CLASS_FILES= ${DISTFILES} PLIST_SUB= MKTEXLSR=${MKTEXLSR} \ CLASSDIR=${CLASSDIR} do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} \ ${STAGEDIR}${PREFIX}/${CLASSDIR} .include diff --git a/print/latex2rtf/Makefile b/print/latex2rtf/Makefile index d1a151303efe..fb3a1f8fec78 100644 --- a/print/latex2rtf/Makefile +++ b/print/latex2rtf/Makefile @@ -1,27 +1,25 @@ -# Created by: Joerg Wunsch - PORTNAME= latex2rtf DISTVERSION= 2.3.17 CATEGORIES= print MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-unix/${PORTVERSION} \ TEX_CTAN MAINTAINER= ports@FreeBSD.org COMMENT= Translator from LaTeX to RTF USES= cpe shebangfix makeinfo SHEBANG_FILES= ${WRKSRC}/scripts/latex2png CPE_VENDOR= latex2rtf_project OPTIONS_DEFINE= LATEX2PNG LATEX2PNG_DESC= Install latex2png utility OPTIONS_SUB= yes LATEX2PNG_USES= magick:6,run LATEX2PNG_USE= TEX=dvipsk,latex,xetex MAKE_ARGS+= MANDIR=${PREFIX}/man/man1 CFGDIR=${DATADIR}/cfg \ BINDIR=${PREFIX}/bin .include diff --git a/print/latexdiff/Makefile b/print/latexdiff/Makefile index 31eab9349bda..159881f62635 100644 --- a/print/latexdiff/Makefile +++ b/print/latexdiff/Makefile @@ -1,28 +1,26 @@ -# Created by: Maxim Loginov - PORTNAME= latexdiff PORTVERSION= 1.3.2 CATEGORIES= print perl5 MASTER_SITES= https://github.com/ftilmann/${PORTNAME}/releases/download/${PORTVERSION}/ MAINTAINER= jhale@FreeBSD.org COMMENT= Determine and mark up significant differences between latex files LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= perl5 USE_PERL5= run NO_ARCH= yes NO_BUILD= yes do-install: .for i in latexdiff-fast latexdiff-so latexdiff-vc latexrevise ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin .endfor .for m in latexdiff.1 latexdiff-vc.1 latexrevise.1 ${INSTALL_MAN} ${WRKSRC}/${m} ${STAGEDIR}${MAN1PREFIX}/man/man1 .endfor ${LN} -s latexdiff-so ${STAGEDIR}${PREFIX}/bin/latexdiff .include diff --git a/print/libharu/Makefile b/print/libharu/Makefile index 28ce1068ead3..6ddd706cfe55 100644 --- a/print/libharu/Makefile +++ b/print/libharu/Makefile @@ -1,41 +1,39 @@ -# Created by: ijliao - PORTNAME= libharu DISTVERSIONPREFIX= RELEASE_ DISTVERSION= 2_3_0 PORTREVISION= 2 CATEGORIES= print DIST_SUBDIR= ${PORTNAME} # Kitware (vtk) calls this version 2.4.0 with the addition of PATCHFILES= 157.diff:-p1 187.diff:-p1 PATCH_SITES= https://github.com/libharu/libharu/pull/ MAINTAINER= ports@FreeBSD.org COMMENT= Haru Free PDF Library LICENSE= ZLIB LIB_DEPENDS= libpng.so:graphics/png OPTIONS_DEFINE= EXAMPLES USES= cmake USE_LDCONFIG= yes USE_GITHUB= yes SOVERSION= 2 PLIST_SUB+= SOVERSION=${SOVERSION} PORTEXAMPLES= * EXAMPLES_CMAKE_ON= -DLIBHPDF_EXAMPLES:BOOL=ON \ -DEXAMPLESDIR:STRING=share/examples/${PORTNAME} pre-configure: ${REINPLACE_CMD} -e 's|RC2|dev|;s|3|4|' ${WRKSRC}/include/hpdf_version.h post-install: ${LN} -s libhpdf.so ${STAGEDIR}${PREFIX}/lib/libhpdf.so.${SOVERSION} .include diff --git a/print/libotf/Makefile b/print/libotf/Makefile index 9e913d48892d..984ffa345c3a 100644 --- a/print/libotf/Makefile +++ b/print/libotf/Makefile @@ -1,30 +1,28 @@ -# Created by: Kimura Fuyuki - PORTNAME= libotf DISTVERSION= 0.9.16 PORTREVISION= 1 CATEGORIES= print devel textproc MASTER_SITES= SAVANNAH/m17n MAINTAINER= nikola.lecic@anthesphoria.net COMMENT= Library for handling OpenType fonts LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfreetype.so:print/freetype2 USES= autoreconf pathfix pkgconfig libtool:keepla GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes OPTIONS_DEFINE= X11 OPTIONS_DEFAULT=X11 OPTIONS_SUB= yes X11_USES= localbase xorg X11_USE= XORG=ice,sm,x11,xaw,xt,xmu X11_CONFIGURE_WITH= x .include diff --git a/print/libpaper/Makefile b/print/libpaper/Makefile index a66e67be78ec..deaafd264e89 100644 --- a/print/libpaper/Makefile +++ b/print/libpaper/Makefile @@ -1,35 +1,33 @@ -# Created by: lofi@FreeBSD.org - PORTNAME= libpaper DISTVERSION= 1.1.28 CATEGORIES= print MASTER_SITES= DEBIAN DISTNAME= ${PORTNAME}_${DISTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= Library providing routines for paper size management LICENSE= GPLv2 USES= autoreconf libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} INSTALL_TARGET= install-strip post-extract: ${ECHO_CMD} a4 > ${WRKDIR}/papersize.a4 ${ECHO_CMD} letter > ${WRKDIR}/papersize.letter post-configure: @${REINPLACE_CMD} -e 's|$${prefix}|${PREFIX}|g' \ ${WRKSRC}/config.h ${WRKSRC}/src/paperconfig post-install: cd ${WRKDIR} && \ ${INSTALL_DATA} papersize.a4 papersize.letter \ ${STAGEDIR}${PREFIX}/etc .include diff --git a/print/libspectre/Makefile b/print/libspectre/Makefile index 3d1148873342..e3de4d29ede7 100644 --- a/print/libspectre/Makefile +++ b/print/libspectre/Makefile @@ -1,20 +1,19 @@ -# Created by: Michael Johnson # $MCom: ports/print/libspectre/Makefile,v 1.7 2010/04/19 15:38:43 kwm Exp $ PORTNAME= libspectre PORTVERSION= 0.2.10 CATEGORIES= print MASTER_SITES= http://libspectre.freedesktop.org/releases/ MAINTAINER= desktop@FreeBSD.org COMMENT= Small library for rendering Postscript documents LICENSE= GPLv2 USES= ghostscript gmake gnome libtool localbase pathfix pkgconfig USE_LDCONFIG= yes USE_GNOME= cairo GNU_CONFIGURE= yes INSTALL_TARGET= install-strip .include diff --git a/print/lilypond-devel/Makefile b/print/lilypond-devel/Makefile index ca62bd3be9d5..63c3e301bbd7 100644 --- a/print/lilypond-devel/Makefile +++ b/print/lilypond-devel/Makefile @@ -1,92 +1,90 @@ -# Created by: patrick, trevor - PORTNAME= lilypond DISTVERSION= 2.23.10 CATEGORIES= print audio MASTER_SITES= http://lilypond.org/download/source/v${DISTVERSION:R}/ PKGNAMESUFFIX= -devel MAINTAINER= m.ne@gmx.net COMMENT= GNU music typesetter LICENSE= GPLv3 BUILD_DEPENDS= bash:shells/bash \ dblatex:textproc/dblatex \ fontforge:print/fontforge \ help2man:misc/help2man \ pdftexi2dvi:print/texinfo \ pngtopnm:graphics/netpbm \ rsync:net/rsync \ t1ascii:print/t1utils \ texi2html:textproc/texi2html \ zip:archivers/zip LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgc-threaded.so:devel/boehm-gc-threaded \ libgmp.so:math/gmp \ libguile-2.2.so:lang/guile2 \ libharfbuzz.so:print/harfbuzz \ libltdl.so:devel/libltdl RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans-Bold.ttf:x11-fonts/dejavu \ mftrace:print/mftrace USES= bison:build compiler:c++11-lib cpe ghostscript gmake gnome \ magick:7,build perl5 pkgconfig python:3.5+ USE_CXXSTD= c++11 USE_GNOME= pango USE_PERL5= build USE_TEX= latex texmf GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-texgyre-dir=${LOCALBASE}/${TEXMFDISTDIR}/fonts/opentype/public/tex-gyre CONFIGURE_ENV+= ac_cv_prog_MAKEINFO="${LOCALBASE}/bin/makeinfo" \ FLEX=${FLEX} \ GUILE_FLAVOR=guile-2.2 \ HOME=${WRKDIR} \ YACC=${YACC} MAKEFILE= GNUmakefile ALL_TARGET= all CONFLICTS_INSTALL= lilypond BINARY_ALIAS= python=${PYTHON_VERSION} INFO= lilypond-changes \ lilypond-contributor \ lilypond-essay \ lilypond-extending \ lilypond-internals \ lilypond-learning \ lilypond-notation \ lilypond-snippets \ lilypond-usage \ music-glossary PLIST_SUB= DISTVERSION=${DISTVERSION} OPTIONS_DEFINE= NLS URW OPTIONS_SUB= yes URW_DESC= Use bundled URW fonts NLS_USES= gettext URW_BUILD_DEPENDS= urw-base35-fonts>0:x11-fonts/urw-base35-fonts URW_RUN_DEPENDS_OFF= urw-base35-fonts>0:x11-fonts/urw-base35-fonts URW_CONFIGURE_WITH= urwotf-dir=${LOCALBASE}/share/fonts/urw-base35-fonts post-patch: @${REINPLACE_CMD} -e 's||"/usr/include/FlexLexer.h"|' \ ${WRKSRC}/lily/include/includable-lexer.hh @${SED} -e 's|%%FONTDIR%%|${WRKDIR}/fontconfig/cache/|' \ ${FILESDIR}/fonts.conf > ${WRKDIR}/.fonts.conf post-patch-NLS-off: @${REINPLACE_CMD} -e '/po \\$$/d' ${WRKSRC}/${MAKEFILE}.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lilypond (cd ${STAGEDIR}/${DATADIR} && ${LN} -fs ${DISTVERSION} current) .include diff --git a/print/lilypond/Makefile b/print/lilypond/Makefile index f1dc793a6cb4..5563c9344294 100644 --- a/print/lilypond/Makefile +++ b/print/lilypond/Makefile @@ -1,91 +1,89 @@ -# Created by: patrick, trevor - PORTNAME= lilypond DISTVERSION= 2.22.2 CATEGORIES= print audio MASTER_SITES= http://lilypond.org/download/source/v${DISTVERSION:R}/ MAINTAINER= m.ne@gmx.net COMMENT= GNU music typesetter LICENSE= GPLv3 BUILD_DEPENDS= bash:shells/bash \ dblatex:textproc/dblatex \ fontforge:print/fontforge \ help2man:misc/help2man \ pdftexi2dvi:print/texinfo \ pngtopnm:graphics/netpbm \ rsync:net/rsync \ t1ascii:print/t1utils \ texi2html:textproc/texi2html \ zip:archivers/zip LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgmp.so:math/gmp \ libharfbuzz.so:print/harfbuzz \ libltdl.so:devel/libltdl RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans-Bold.ttf:x11-fonts/dejavu \ mftrace:print/mftrace USES= bison:build compiler:c++11-lib cpe ghostscript gmake gnome \ magick:7,build perl5 pkgconfig python:3.5+ USE_CXXSTD= c++11 USE_GNOME= pango USE_PERL5= build USE_TEX= latex texmf GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-texgyre-dir=${LOCALBASE}/${TEXMFDISTDIR}/fonts/opentype/public/tex-gyre CONFIGURE_ENV+= ac_cv_prog_MAKEINFO="${LOCALBASE}/bin/makeinfo" \ FLEX=${FLEX} \ HOME=${WRKDIR} \ YACC=${YACC} MAKEFILE= GNUmakefile ALL_TARGET= all CONFLICTS_INSTALL= lilypond-devel BINARY_ALIAS= python=${PYTHON_VERSION} INFO= lilypond-changes lilypond-contributor lilypond-essay \ lilypond-extending lilypond-internals lilypond-learning \ lilypond-notation lilypond-snippets lilypond-usage \ music-glossary PLIST_SUB= DISTVERSION=${DISTVERSION} OPTIONS_DEFINE= GUILE2 NLS URW OPTIONS_SUB= yes GUILE2_DESC= guile2 instead guile (incurs performance penalty) URW_DESC= Use bundled URW fonts GUILE2_LIB_DEPENDS= libgc-threaded.so:devel/boehm-gc-threaded \ libguile-2.2.so:lang/guile2 GUILE2_LIB_DEPENDS_OFF= libguile.so:lang/guile1 GUILE2_CONFIGURE_ENV= GUILE_FLAVOR=guile-2.2 NLS_USES= gettext NLS_USES_OFF= gettext-tools URW_BUILD_DEPENDS= urw-base35-fonts>0:x11-fonts/urw-base35-fonts URW_RUN_DEPENDS_OFF= urw-base35-fonts>0:x11-fonts/urw-base35-fonts URW_CONFIGURE_WITH= urwotf-dir=${LOCALBASE}/share/fonts/urw-base35-fonts post-patch: @${REINPLACE_CMD} -e 's||"/usr/include/FlexLexer.h"|' \ ${WRKSRC}/lily/include/includable-lexer.hh @${REINPLACE_CMD} -e 's|$save_CXXFLAGS -Werror=suggest-override|$save_CXXFLAGS|' \ ${WRKSRC}/configure @${SED} -e 's|%%FONTDIR%%|${WRKDIR}/fontconfig/cache/|' \ ${FILESDIR}/fonts.conf > ${WRKDIR}/.fonts.conf post-patch-NLS-off: @${REINPLACE_CMD} -e '/po \\$$/d' ${WRKSRC}/${MAKEFILE}.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lilypond (cd ${STAGEDIR}/${DATADIR} && ${LN} -fs ${DISTVERSION} current) .include diff --git a/print/limereport/Makefile b/print/limereport/Makefile index 82a94944d45c..d18c513fe8a3 100644 --- a/print/limereport/Makefile +++ b/print/limereport/Makefile @@ -1,43 +1,41 @@ -# Created by: Golyashov Sergey - PORTNAME= limereport PORTVERSION= 1.5.35 PORTREVISION= 1 CATEGORIES= print MAINTAINER= svvord@soft-wizard.ru COMMENT= Multi-platform C++ report generator library written using Qt framework LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake compiler:c++11-lang dos2unix gl qt:5 USE_QT+= buildtools_build core gui script sql xml svg quickcontrols2 \ printsupport uitools network widgets declarative qmake_build USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= fralx GH_PROJECT= LimeReport USE_LDCONFIG= yes LIB_DEPENDS+= libpng.so:graphics/png OPTIONS_DEFINE= DEBUG DOCS ZINT OPTIONS_DEFAULT= ZINT DOCS_CMAKE_BOOL= DOCS_INSTALL ZINT_DESC= Build with graphics/zint instead of bundled one ZINT_CMAKE_ON= SYSTEM_ZINT ZINT_LIB_DEPENDS= libQZint.so:graphics/zint ZINT_EXTRA_PATCHES= ${FILESDIR}/extrapatch-barcode .include .if ${PORT_OPTIONS:MDEBUG} CMAKE_BUILD_TYPE= Debug .endif .include diff --git a/print/linux-c7-cups-libs/Makefile b/print/linux-c7-cups-libs/Makefile index 9d73ba557b92..f1db5d613f67 100644 --- a/print/linux-c7-cups-libs/Makefile +++ b/print/linux-c7-cups-libs/Makefile @@ -1,26 +1,24 @@ -# Created by: Piotr Kubaj - PORTNAME= cups PORTVERSION= 1.6.3 DISTVERSIONSUFFIX= -51.el7 PORTREVISION= 9 CATEGORIES= print linux PKGNAMESUFFIX= -libs MAINTAINER= emulation@FreeBSD.org COMMENT= Common UNIX Printing System libraries USES= cpe linux:c7 USE_LDCONFIG= yes USE_LINUX= avahi-libs USE_LINUX_RPM= yes LIB_DISTNAMES= ${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSIONFULL} CONFLICTS= linux-c6-${PORTNAME}${PKGNAMESUFFIX} DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION} OPTIONS_DEFINE= DOCS .include diff --git a/print/lout/Makefile b/print/lout/Makefile index bcd975293740..2feb5b6c8597 100644 --- a/print/lout/Makefile +++ b/print/lout/Makefile @@ -1,24 +1,22 @@ -# Created by: oly@world.std.com - PORTNAME= lout PORTVERSION= 3.42 CATEGORIES= print MAINTAINER= kbowling@FreeBSD.org COMMENT= LaTeX like document creation system with PostScript/PDF output LICENSE= GPLv3+ USES= cpe gmake CPE_VENDOR= lout_project USE_GITHUB= yes GH_ACCOUNT= william8000 MAKEFILE= makefile ALL_TARGET= lout prg2lout INSTALL_TARGET= install installman installdoc OPTIONS_DEFINE= DOCS .include diff --git a/print/lprps/Makefile b/print/lprps/Makefile index 44b0e31ea4b4..942bc997271c 100644 --- a/print/lprps/Makefile +++ b/print/lprps/Makefile @@ -1,34 +1,32 @@ -# Created by: David O'Brien - PORTNAME= lprps PORTVERSION= 2.5 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ftp://ftp.jclark.com/pub/lprps/ EXTRACT_SUFX= .tar.Z MAINTAINER= hrs@FreeBSD.org COMMENT= PostScript printer filter supporting a bidirectional serial channel LIB_DEPENDS= libpaper.so:print/libpaper PORTDOCS= INSTALL OPTIONS_DEFINE= DOCS do-install: @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC} && \ ${INSTALL_PROGRAM} textps psrev ${STAGEDIR}${PREFIX}/bin && \ ${INSTALL_PROGRAM} psif lprps psof ${STAGEDIR}${PREFIX}/libexec && \ ${INSTALL_SCRIPT} psif-text psif-ps ${STAGEDIR}${PREFIX}/libexec && \ ${INSTALL_DATA} banner.ps ${STAGEDIR}${DATADIR} && \ ${INSTALL_MAN} textps.n ${STAGEDIR}${PREFIX}/man/man1/textps.1 && \ ${INSTALL_MAN} psrev.n ${STAGEDIR}${PREFIX}/man/man1/psrev.1 && \ ${INSTALL_MAN} lprps.n ${STAGEDIR}${PREFIX}/man/man8/lprps.8 && \ ${INSTALL_MAN} psif.n ${STAGEDIR}${PREFIX}/man/man8/psif.8 && \ ${INSTALL_MAN} psof.n ${STAGEDIR}${PREFIX}/man/man8/psof.8 @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/print/lyx/Makefile b/print/lyx/Makefile index 8960dd701539..f3690e28152d 100644 --- a/print/lyx/Makefile +++ b/print/lyx/Makefile @@ -1,66 +1,64 @@ -# Created by: Klemm - PORTNAME= lyx PORTVERSION= ${MAJOR_VERSION}.${MINOR_VERSION} PORTREVISION= 1 CATEGORIES= print editors MASTER_SITES= ftp://ftp.lyx.org/pub/lyx/stable/${MAJOR_VERSION}.x/ \ http://www-ftp.lip6.fr/ftp/pub/lyx/stable/${MAJOR_VERSION}.x/ \ ftp://ftp.ntua.gr/pub/X11/LyX/stable/${MAJOR_VERSION}.x/ \ http://sunsite.icm.edu.pl/pub/unix/editors/lyx/stable/${MAJOR_VERSION}.x/ MAINTAINER= wen@FreeBSD.org COMMENT= Document processor interfaced with LaTeX (nearly WYSIWYG) LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libboost_regex.so:devel/boost-libs \ libmythes-1.2.so:textproc/mythes MAJOR_VERSION= 2.3 MINOR_VERSION= 6.1 USES= autoreconf compiler:c++11-lang desktop-file-utils gmake iconv \ pkgconfig perl5 python qt:5 shebangfix tar:xz xorg USE_QT= core concurrent gui svg widgets x11extras buildtools_build qmake_build USE_XORG= xcb GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-included-boost \ --without-included-mythes \ --enable-qt5 \ --with-qt-dir=${LOCALBASE}/lib/qt5 \ ${ICONV_CONFIGURE_ARG} \ --with-extra-prefix=${LOCALBASE} EXTRACT_AFTER_ARGS= --no-same-owner --no-same-permissions \ --exclude 3rdparty \ --exclude cygwin \ --exclude MacOSX \ --exclude Win32 SHEBANG_FILES= lib/configure.py \ lib/lyx2lyx/lyx2lyx \ lib/scripts/listerrors \ lib/scripts/gnuplot2pdf.py \ lib/scripts/svg2pdftex.py \ lib/scripts/svg2pstex.py LIBS+= -lexecinfo OPTIONS_DEFINE= ASPELL ENCHANT HUNSPELL NLS OPTIONS_DEFAULT= HUNSPELL OPTIONS_SUB= yes ENCHANT_DESC= Spell checking using Enchant ASPELL_CONFIGURE_OFF= --without-aspell ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell ENCHANT_CONFIGURE_OFF= --without-enchant ENCHANT_LIB_DEPENDS= libenchant.so:textproc/enchant HUNSPELL_CONFIGURE_OFF= --without-hunspell HUNSPELL_LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell NLS_CONFIGURE_OFF= --disable-nls NLS_USES= gettext post-patch: @${GREP} -rl "python -tt" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -i '' 's|python -tt|${PYTHON_CMD} -tt|' .include diff --git a/print/magicfilter/Makefile b/print/magicfilter/Makefile index 026e8ea15222..771564b42525 100644 --- a/print/magicfilter/Makefile +++ b/print/magicfilter/Makefile @@ -1,27 +1,25 @@ -# Created by: CHOI Junho - PORTNAME= magicfilter PORTVERSION= 2.3.h PORTREVISION= 9 CATEGORIES= print MASTER_SITES= http://www.pell.portland.or.us/~orc/Code/magicfilter/ MAINTAINER= ports@FreeBSD.org COMMENT= Customizable, extensible automatic printer filter USES= ghostscript HAS_CONFIGURE= yes CONFIGURE_SCRIPT= configure.sh CONFIGURE_ARGS+= --prefix=${PREFIX} \ --confdir=${PREFIX}/etc \ --filterdir=${PREFIX}/libexec/magicfilter \ --use-fifo CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} .if exists(${LOCALBASE}/lib/libmagic.so) BUILD_DEPENDS+= ${LOCALBASE}/lib/libmagic.so:sysutils/file RUN_DEPENDS+= ${LOCALBASE}/lib/libmagic.so:sysutils/file .endif .include diff --git a/print/makeindex/Makefile b/print/makeindex/Makefile index 51812d2da04b..7e3ada4b6a30 100644 --- a/print/makeindex/Makefile +++ b/print/makeindex/Makefile @@ -1,36 +1,34 @@ -# Created by: jmz - PORTNAME= makeindex PORTVERSION= 3.0.8 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://ftp.linux.cz/pub/tex/local/indexing/makeindex3/ \ http://ftp.cstug.cz/pub/tex/local/indexing/makeindex3/ EXTRACT_SUFX= .tar.Z MAINTAINER= ports@FreeBSD.org COMMENT= General purpose, formatter-independent index processor CONFLICTS= teTeX-base WRKSRC= ${WRKDIR}/makeindex post-patch: @(cd ${WRKSRC}/doc; \ ${SED} -e s:/usr/local/lib/tex/macros/:${PREFIX}/share/texmf/makeindx/: \ makeindex.1) @${REINPLACE_CMD} -E '/^CFLAGS/! s,(BIN|STY)DIR),DESTDIR)$$(&,' \ ${WRKSRC}/src-3.0/Makefile.gen do-build: @(cd ${WRKSRC}/src-3.0/regexp; ${MAKE} OPT="${CFLAGS}") @(cd ${WRKSRC}/src-3.0; ${MAKE} OPT="${CFLAGS}") do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/texmf/makeindx @(cd ${WRKSRC}/src-3.0/regexp; ${MAKE}) @(cd ${WRKSRC}/src-3.0; ${MAKE} install ${MAKE_ARGS}) @(cd ${WRKSRC}/doc; \ ${INSTALL_DATA} makeindex.1 ${STAGEDIR}${MANPREFIX}/man/man1) .include diff --git a/print/mftrace/Makefile b/print/mftrace/Makefile index b67648c2ff4e..53ec3f12d1fc 100644 --- a/print/mftrace/Makefile +++ b/print/mftrace/Makefile @@ -1,45 +1,43 @@ -# Created by: ijliao - PORTNAME= mftrace PORTVERSION= 1.2.18 PORTREVISION= 2 CATEGORIES= print MASTER_SITES= http://lilypond.org/download/sources/mftrace/ \ LOCAL/nivit/${PORTNAME}/ MAINTAINER= nivit@FreeBSD.org COMMENT= Scalable PostScript (Type1) Fonts for MetaFont RUN_DEPENDS= t1asm:print/t1utils \ fontforge:print/fontforge .if defined(WITH_AUTOTRACE) BUILD_DEPENDS+= autotrace:graphics/autotrace RUN_DEPENDS+= autotrace:graphics/autotrace .else BUILD_DEPENDS+= potrace:graphics/potrace RUN_DEPENDS+= potrace:graphics/potrace .endif # Python3 ready USE_TEX= base texmf GNU_CONFIGURE= yes USES= gmake python MAKEFILE= GNUmakefile PLIST_FILES= \ bin/gf2pbm \ bin/mftrace \ %%PYTHON_SITELIBDIR%%/afm.py \ %%PYTHON_SITELIBDIR%%/tfm.py \ man/man1/mftrace.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gf2pbm ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/mftrace ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/mftrace.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} ${INSTALL_SCRIPT} ${WRKSRC}/tfm.py ${STAGEDIR}${PYTHON_SITELIBDIR} ${INSTALL_SCRIPT} ${WRKSRC}/afm.py ${STAGEDIR}${PYTHON_SITELIBDIR} .include diff --git a/print/min12xxw/Makefile b/print/min12xxw/Makefile index 658196ad974c..70f5ab2859e3 100644 --- a/print/min12xxw/Makefile +++ b/print/min12xxw/Makefile @@ -1,20 +1,18 @@ -# Created by: Tim McCormick - PORTNAME= min12xxw PORTVERSION= 0.0.9 CATEGORIES= print MASTER_SITES= http://hinterbergen.de/mala/min12xxw/ MAINTAINER= ports@FreeBSD.org COMMENT= Print driver for the Minolta PagePro 1(2/3/4)xxW printers LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes PLIST_FILES= bin/esc-m \ bin/min12xxw \ man/man1/min12xxw.1.gz .include diff --git a/print/mp-a4/Makefile b/print/mp-a4/Makefile index 47b3a528a09e..446573a37124 100644 --- a/print/mp-a4/Makefile +++ b/print/mp-a4/Makefile @@ -1,8 +1,6 @@ -# Created by: David O'Brien - PAPERSIZE= a4 MASTERDIR= ${.CURDIR}/../mp-letter CONFLICTS_INSTALL= mp-a4 .include "${MASTERDIR}/Makefile" diff --git a/print/mp-letter/Makefile b/print/mp-letter/Makefile index 1d41131fdc16..38834aa49123 100644 --- a/print/mp-letter/Makefile +++ b/print/mp-letter/Makefile @@ -1,29 +1,27 @@ -# Created by: David O'Brien - PORTNAME= mp-${PAPERSIZE} PORTVERSION= 3.0.1 CATEGORIES= print MASTER_SITES= LOCAL/obrien DISTNAME= mp-3.0.1 MAINTAINER= ports@FreeBSD.org COMMENT= PostScript printing util for ASCII files CONFLICTS_INSTALL?= mp-a4 WRKSRC= ${WRKDIR}/mp LINKS= digestp filep filofaxp franklinp mailp newsp timemanp timesysp PAPERSIZE?= letter .if ${PAPERSIZE:tl} == a4 INSTALL_TARGET= install-a4 .endif MAKEFILE= Makefile.dist post-install: .for a in ${LINKS} ${LN} -sf mp.1 ${STAGEDIR}${PREFIX}/man/man1/${a}.1 .endfor .include diff --git a/print/mpage/Makefile b/print/mpage/Makefile index 5d29f63442d1..3f6d87de5f1d 100644 --- a/print/mpage/Makefile +++ b/print/mpage/Makefile @@ -1,34 +1,32 @@ -# Created by: Kapil Chowksey - # To override mpage's default paper size of A4, set PAGESIZE to another # page type. Some common values include "Letter" (8.5" x 11") and # "Legal" (8.5" x 14"). PORTNAME= mpage DISTVERSION= 2.5.7 CATEGORIES= print MASTER_SITES= ftp://ftp.mesa.nl/pub/mpage/ MAINTAINER= ports@FreeBSD.org COMMENT= Print multiple pages per sheet of paper LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= tar:tgz ALL_TARGET= default PORTDOCS= CHANGES Characters Copyright Encoding.format FAQ NEWS \ README README.OS2 README.amiga SCOPTIONS TODO PLIST_FILES= bin/mpage ${DATADIR}/CP850.PC ${DATADIR}/ISO+STD+OTH \ ${DATADIR}/ISO-8859.1 ${DATADIR}/ISO-8859.15 \ ${DATADIR}/ISO-Latin.1 ${DATADIR}/ISO-Latin.2 \ man/man1/mpage.1.gz OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/print/muttprint/Makefile b/print/muttprint/Makefile index 6e63e0aca984..02c90fe176f0 100644 --- a/print/muttprint/Makefile +++ b/print/muttprint/Makefile @@ -1,74 +1,72 @@ -# Created by: Oliver Braun - PORTNAME= muttprint PORTVERSION= 0.73 PORTREVISION= 4 CATEGORIES= print mail MASTER_SITES= SF/muttprint/muttprint/muttprint-${PORTVERSION} MAINTAINER= guru@unixarea.de COMMENT= Utility to print mail for most any mail client LICENSE= GPLv2 BUILD_DEPENDS= docbook2pdf:textproc/docbook-utils \ docbook-sgml>0:textproc/docbook-sgml RUN_DEPENDS= psnup:print/psutils \ p5-TimeDate>=0:devel/p5-TimeDate \ p5-Text-Iconv>=0:converters/p5-Text-Iconv GNU_CONFIGURE= yes USES= autoreconf gmake perl5 USE_TEX= latex dvipsk NO_BUILD= yes REINPLACE_ARGS= -i "" OPTIONS_DEFINE= CUPS X11 DOCS XFACE OPTIONS_DEFAULT= X11 X11_DESC= graphics/ImageMagick[-nox11] dependency XFACE_DESC= mail/faces dependency (requires gtk12) CUPS_RUN_DEPENDS= lpr-cups:print/cups XFACE_RUN_DEPENDS= uncompface:mail/faces .if !defined(PAPERSIZE) PAPERSIZE= letter .endif .include .if ${PORT_OPTIONS:MCUPS} PRINT_COMMAND=CUPS .else PRINT_COMMAND=lpr -P$$PRINTER .endif .if ${PORT_OPTIONS:MX11} USES+= magick:6,run .else USES+= magick:6,run,nox11 .endif pre-everything:: @${ECHO} @${ECHO} Set PAPERSIZE=a4 if you need that paper size. @${ECHO} post-patch: @${RM} ${WRKSRC}/pics/*.orig .if ${PAPERSIZE}==a4 @${REINPLACE_CMD} 's|%%PAPERSIZE%%|${PAPERSIZE:tu}|' \ ${WRKSRC}/muttprint .else @${REINPLACE_CMD} 's|%%PAPERSIZE%%|${PAPERSIZE}|' \ ${WRKSRC}/muttprint .endif @${REINPLACE_CMD} 's|%%PRINT_COMMAND%%|${PRINT_COMMAND}| ; \ s|%%PREFIX%%|${PREFIX}|' \ ${WRKSRC}/muttprint .if ${PORT_OPTIONS:MCUPS} @${REINPLACE_CMD} 's|lpr $$CUPS_OPTIONS|${PREFIX}/bin/lpr $$CUPS_OPTIONS|' ${WRKSRC}/muttprint .endif .include diff --git a/print/nenscript/Makefile b/print/nenscript/Makefile index dfbfb1df12f7..a6832d11a2a9 100644 --- a/print/nenscript/Makefile +++ b/print/nenscript/Makefile @@ -1,26 +1,24 @@ -# Created by: cjm2 - PORTNAME= nenscript PORTVERSION= 1.13.3 CATEGORIES= print MASTER_SITES= http://www.ai.mit.edu/projects/im/magnus/nenscript/ MAINTAINER= ports@FreeBSD.org COMMENT= Clone of the proprietary enscript program from Adobe Systems USES= tar:bzip2 MAKEFILE= makefile MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/nenscript ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/nenscript.1 ${STAGEDIR}${MANPREFIX}/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/readme ${STAGEDIR}${DOCSDIR} .include diff --git a/print/openprinting/Makefile b/print/openprinting/Makefile index 8154c411bfc3..018294387bb6 100644 --- a/print/openprinting/Makefile +++ b/print/openprinting/Makefile @@ -1,97 +1,95 @@ -# Created by: Bruce M Simpson - PORTNAME= openprinting PORTVERSION= 1.0 PORTREVISION= 5 CATEGORIES= print net MASTER_SITES= SF/openprinting/papi/1.0%20Beta DISTNAME= papi-${PORTVERSION}_beta DIST_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Sun's implementation of the OpenPrinting API (PAPI) WRKSRC= ${WRKDIR}/papi-${PORTVERSION}_beta USES= gettext gmake iconv libtool tar:bzip2 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip MAKE_JOBS_UNSAFE= yes LLD_UNSAFE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lintl # TODO: Get mod_ipp to actually work; Sun's example seems to be broken # under both Apache 1.3/2.0, this could be a papi issue; does not build # w/Apache 2.2. # TODO: Fix Apache module install target to instead use APXS # from this file; it is intended only as an example. # TODO: CUPS integration is broken in distfiles (missing papi_int.h). #OPTIONS=\ # MOD_IPP "Build example mod_ipp.so for Apache" Off # PSM_CUPS "Build psm_cups.so for printing to CUPS" Off .include # NOTE: This has only been tested with www/apache20, with integrated APR. .if defined(WITH_MOD_IPP) IGNORE= no supported apache versions available .else CONFIGURE_ARGS+=--without-apache .endif .if defined(WITH_PSM_CUPS) LIB_DEPENDS+= libcups.so:print/cups CONFIGURE_ARGS+=--with-cups=${LOCALBASE} .else CONFIGURE_ARGS+=--without-cups .endif PLIST_FILES+=\ include/debug.h \ include/http-private.h \ include/http.h \ include/ipp-listener.h \ include/ipp.h \ include/papi.h \ lib/libipp-core.so \ lib/libipp-core.so.0 \ lib/libipp-core.so.0.0.0 \ lib/libipp-listener.so \ lib/libipp-listener.so.0 \ lib/libipp-listener.so.0.0.0 \ lib/libpapi-common.so \ lib/libpapi-common.so.0 \ lib/libpapi-common.so.0.0.0 \ lib/libpapi.so \ lib/libpapi.so.0 \ lib/libpapi.so.0.0.0 \ libexec/lpd-port \ libexec/psm-ipp.so \ libexec/psm-lpd.so \ man/man5/psm-ipp.5.gz .if defined(WITH_PSM_CUPS) PLIST_FILES+= libexec/psm-cups.so .endif .if defined(WITH_MOD_IPP) PLIST_FILES+= lib/mod_ipp.so .endif post-patch: @${REINPLACE_CMD} '/^LIBS =/s,$$, ../libpapi-common/libpapi-common.la @LIBS@,' \ ${WRKSRC}/source/bsd-sysv-commands/Makefile.in \ ${WRKSRC}/source/examples/Makefile.in @${REINPLACE_CMD} -e 's/-ldl//' -e 's/-lnsl//' \ ${WRKSRC}/source/libpapi-cups/Makefile.in \ ${WRKSRC}/source/libpapi-dynamic/Makefile.in post-install: .for unneeded in bin sbin man/man1 man/mani share @${RM} -r ${STAGEDIR}${PREFIX}/${unneeded} .endfor .include diff --git a/print/p5-Net-CUPS/Makefile b/print/p5-Net-CUPS/Makefile index aa75b0d4f473..dcedb659413d 100644 --- a/print/p5-Net-CUPS/Makefile +++ b/print/p5-Net-CUPS/Makefile @@ -1,24 +1,22 @@ -# Created by: Gvozdikov Veniamin - PORTNAME= Net-CUPS PORTVERSION= 0.64 CATEGORIES= print perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Interface to the CUPS API LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LIB_DEPENDS= libcupsimage.so:print/cups \ libcupsfilters.so:print/cups-filters USES= perl5 USE_PERL5= configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Net/CUPS/CUPS.so .include diff --git a/print/p5-Net-Printer/Makefile b/print/p5-Net-Printer/Makefile index d4f3f933743f..2df0f3f704f7 100644 --- a/print/p5-Net-Printer/Makefile +++ b/print/p5-Net-Printer/Makefile @@ -1,18 +1,16 @@ -# Created by: andrew@scoop.co.nz - PORTNAME= Net-Printer PORTVERSION= 1.12 PORTREVISION= 1 CATEGORIES= print perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= bofh@FreeBSD.org COMMENT= Perl extension for direct-to-lpd printing LICENSE= BSD2CLAUSE USES= perl5 USE_PERL5= configure .include diff --git a/print/p5-PDF-Template/Makefile b/print/p5-PDF-Template/Makefile index 7590f67ce132..991d531ea8e3 100644 --- a/print/p5-PDF-Template/Makefile +++ b/print/p5-PDF-Template/Makefile @@ -1,20 +1,18 @@ -# Created by: Yuichiro AIZAWA - PORTNAME= PDF-Template PORTVERSION= 0.22 PORTREVISION= 1 CATEGORIES= print perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= yaizawa@2004.jukuin.keio.ac.jp COMMENT= PDF layout system that uses the same data structures as HTML::Template BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= pdflib-perl>=0:print/pdflib-perl \ p5-XML-Parser>=0:textproc/p5-XML-Parser USES= perl5 USE_PERL5= configure .include diff --git a/print/p5-PDFLib/Makefile b/print/p5-PDFLib/Makefile index be4d31b0e81f..4f332355733f 100644 --- a/print/p5-PDFLib/Makefile +++ b/print/p5-PDFLib/Makefile @@ -1,20 +1,18 @@ -# Created by: ijliao - PORTNAME= PDFLib PORTVERSION= 0.14 PORTREVISION= 1 CATEGORIES= print perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= More OO interface to pdflib_pl.pm BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= pdflib-perl>=0:print/pdflib-perl USES= perl5 USE_PERL5= configure NO_BUILD= yes .include diff --git a/print/p5-PostScript-PPD/Makefile b/print/p5-PostScript-PPD/Makefile index 9a807f919669..485359a59c10 100644 --- a/print/p5-PostScript-PPD/Makefile +++ b/print/p5-PostScript-PPD/Makefile @@ -1,25 +1,23 @@ -# Created by: Sunpoet Po-Chuan Hsieh - PORTNAME= PostScript-PPD PORTVERSION= 0.0300 CATEGORIES= print perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Read PostScript Printer Definition files LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Data-Dump>=0:devel/p5-Data-Dump TEST_DEPENDS= p5-Test-Pod>=1:devel/p5-Test-Pod \ p5-Test-Pod-Coverage>=1:devel/p5-Test-Pod-Coverage USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/print/p5-PostScript-Simple/Makefile b/print/p5-PostScript-Simple/Makefile index 8a9f9c17f675..0a1e2b6685d5 100644 --- a/print/p5-PostScript-Simple/Makefile +++ b/print/p5-PostScript-Simple/Makefile @@ -1,17 +1,15 @@ -# Created by: tobez - PORTNAME= PostScript-Simple PORTVERSION= 0.09 CATEGORIES= print perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Produce PostScript files from Perl LICENSE= GPLv2 USES= perl5 USE_PERL5= configure .include diff --git a/print/p5-PostScript/Makefile b/print/p5-PostScript/Makefile index de0e6d8b077c..6293632e6f8d 100644 --- a/print/p5-PostScript/Makefile +++ b/print/p5-PostScript/Makefile @@ -1,16 +1,14 @@ -# Created by: Fernan Aguero - PORTNAME= PostScript PORTVERSION= 0.06 PORTREVISION= 2 CATEGORIES= print perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Produce PostScript files from Perl USES= perl5 USE_PERL5= configure .include diff --git a/print/p5-Text-PDF/Makefile b/print/p5-Text-PDF/Makefile index 6bba0bf4fed0..3fc8a587a0ca 100644 --- a/print/p5-Text-PDF/Makefile +++ b/print/p5-Text-PDF/Makefile @@ -1,24 +1,22 @@ -# Created by: Anton Berezin - PORTNAME= Text-PDF PORTVERSION= 0.31 CATEGORIES= print perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= PDF manipulation module LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure NO_ARCH= yes post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Text/PDF/examples ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Text/PDF/examples .include diff --git a/print/p5-XML-ApacheFOP/Makefile b/print/p5-XML-ApacheFOP/Makefile index 9c7b054ab473..935071b8e16b 100644 --- a/print/p5-XML-ApacheFOP/Makefile +++ b/print/p5-XML-ApacheFOP/Makefile @@ -1,20 +1,18 @@ -# Created by: Simun Mikecin - PORTNAME= XML-ApacheFOP PORTVERSION= 0.03 PORTREVISION= 3 CATEGORIES= print perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= numisemis@yahoo.com COMMENT= Access Apache FOP from Perl to create PDF files using XSL-FO BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Java>=0:devel/p5-Java \ ${LOCALBASE}/share/java/fop/build/fop.jar:textproc/fop USES= perl5 USE_PERL5= configure .include diff --git a/print/p5-XML-Handler-AxPoint/Makefile b/print/p5-XML-Handler-AxPoint/Makefile index df5b2aa6120d..88a2f8bec93d 100644 --- a/print/p5-XML-Handler-AxPoint/Makefile +++ b/print/p5-XML-Handler-AxPoint/Makefile @@ -1,29 +1,27 @@ -# Created by: ijliao - PORTNAME= XML-Handler-AxPoint PORTVERSION= 1.5 CATEGORIES= print perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:MSERGEANT PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= XML Based Presentations LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-PDFLib>=0.14:print/p5-PDFLib \ p5-Text-Iconv>=0:converters/p5-Text-Iconv \ p5-XML-Filter-XSLT>=0:textproc/p5-XML-Filter-XSLT \ p5-XML-SAX>=0.09:textproc/p5-XML-SAX \ p5-XML-SAX-Writer>=0.39:textproc/p5-XML-SAX-Writer PORTSCOUT= skipv:1.21,1.30 NO_ARCH= yes USES= perl5 USE_PERL5= configure .include diff --git a/print/panda/Makefile b/print/panda/Makefile index a99d80b9f036..1b9f22cd9ad3 100644 --- a/print/panda/Makefile +++ b/print/panda/Makefile @@ -1,42 +1,40 @@ -# Created by: Akinori MUSHA aka knu - PORTNAME= panda PORTVERSION= 0.5.4 PORTREVISION= 10 CATEGORIES= print MASTER_SITES= SF \ SAVANNAH \ http://www.stillhq.com/panda/source/ MAINTAINER= ports@FreeBSD.org COMMENT= PDF generation library LICENSE= GPLv2 LGPL21 LICENSE_COMB= dual LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-berkeley-db CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include LIBS+= -lz -L${BDB_LIB_DIR} -L${LOCALBASE}/lib INSTALL_TARGET= install-strip USES= autoreconf bdb dos2unix gmake jpeg libtool pathfix pkgconfig tar:bzip2 DOS2UNIX_GLOB= *.c USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS EXAMPLES post-install: ${INSTALL_MAN} ${WRKSRC}/man/panda_*.3 ${STAGEDIR}${MANPREFIX}/man/man3 @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in AUTHORS CONTRIBUTORS ChangeLog DEV-HINTS README TODO UNDERWAY ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in IMAGES examples/*.c examples/c++/*.cpp examples/images/*.* ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${EXAMPLESDIR} .endfor .include diff --git a/print/papersize-default-a4/Makefile b/print/papersize-default-a4/Makefile index 80afca514be6..ff0836d43a28 100644 --- a/print/papersize-default-a4/Makefile +++ b/print/papersize-default-a4/Makefile @@ -1,31 +1,29 @@ -# Created by: hrs - PORTNAME= papersize-default PORTVERSION= 0.0.20120302 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= # none PKGNAMESUFFIX= -${DEFAULTPAPERSIZE:tl} DISTFILES= # none MAINTAINER= hrs@FreeBSD.org COMMENT= Default paper size configuration file for libpaper LIB_DEPENDS= libpaper.so:print/libpaper NO_BUILD= yes DEFAULTPAPERSIZE?= a4 .for P in a4 letter .if ${DEFAULTPAPERSIZE:tl:M${P}} != ${P} CONFLICTS_INSTALL+= papersize-default-${P} .endif .endfor PLIST_FILES= etc/papersize do-install: ${LN} -s -f papersize.${DEFAULTPAPERSIZE:tl} \ ${STAGEDIR}${PREFIX}/etc/papersize .include diff --git a/print/papersize-default-letter/Makefile b/print/papersize-default-letter/Makefile index f076be6d7a4b..aefde0cb738c 100644 --- a/print/papersize-default-letter/Makefile +++ b/print/papersize-default-letter/Makefile @@ -1,6 +1,4 @@ -# Created by: hrs - MASTERDIR= ${.CURDIR}/../../print/papersize-default-a4 DEFAULTPAPERSIZE= letter .include "${MASTERDIR}/Makefile" diff --git a/print/paps/Makefile b/print/paps/Makefile index 3239307758c5..525568a0f197 100644 --- a/print/paps/Makefile +++ b/print/paps/Makefile @@ -1,22 +1,20 @@ -# Created by: johans - PORTNAME= paps PORTVERSION= 0.7.1 DISTVERSIONPREFIX= v CATEGORIES= print MAINTAINER= ports@FreeBSD.org COMMENT= UTF-8 to PostScript converter using Pango LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= autoreconf gettext gnome pkgconfig USE_GITHUB= yes GH_ACCOUNT= dov USE_GNOME= cairo intltool pango GNU_CONFIGURE= yes PLIST_FILES= bin/paps man/man1/paps.1.gz .include diff --git a/print/pcal/Makefile b/print/pcal/Makefile index b671172d1625..0abc7dc0330f 100644 --- a/print/pcal/Makefile +++ b/print/pcal/Makefile @@ -1,50 +1,48 @@ -# Created by: mwest@uct.ac.za - PORTNAME= pcal PORTVERSION= 4.11.0 CATEGORIES= print MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= PostScript calendar program USES= cpe shebangfix gmake tar:tgz MAKE_ENV= HOST_CC="${CC}" ALL_TARGET= PORTDOCS= ReadMe.txt pcal.html pcalw.html SHEBANG_FILES= html/pcal.pl WWWSERVER!= hostname OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} -e \ 's|@@PREFIX@@|${PREFIX}|g' ${WRKSRC}/html/pcal.cgi @${REINPLACE_CMD} -e \ 's|@@PREFIX@@|${PREFIX}|g' ${WRKSRC}/html/pcal.pl @${REINPLACE_CMD} -e \ 's|@@WWWSERVER@@|${WWWSERVER}|g' ${WRKSRC}/html/pcal.html @${REINPLACE_CMD} -e \ 's|@@WWWSERVER@@|${WWWSERVER}|g' ${WRKSRC}/html/pcalw.html do-install: ${INSTALL_PROGRAM} ${WRKSRC}/exec/pcal ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/html/pcal.cgi ${STAGEDIR}${PREFIX}/libexec ${INSTALL_SCRIPT} ${WRKSRC}/html/pcal.pl ${STAGEDIR}${PREFIX}/libexec ${INSTALL_MAN} ${WRKSRC}/doc/pcal.man \ ${STAGEDIR}${MANPREFIX}/man/man1/pcal.1 do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/ReadMe.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/html/pcal.html ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/html/pcalw.html ${STAGEDIR}${DOCSDIR} .include diff --git a/print/pdf-redact-tools/Makefile b/print/pdf-redact-tools/Makefile index 8d1611745205..2e0f2c544d6b 100644 --- a/print/pdf-redact-tools/Makefile +++ b/print/pdf-redact-tools/Makefile @@ -1,26 +1,24 @@ -# Created by: Emanuel Haupt - PORTNAME= pdf-redact-tools PORTVERSION= 0.1.2 DISTVERSIONPREFIX= v PORTREVISION= 2 CATEGORIES= print PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Securely redact and strip metadata from PDF files LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool USES= magick:6,run python:3.6+ USE_GITHUB= yes USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes GH_ACCOUNT= firstlookmedia .include diff --git a/print/pdf-renderer/Makefile b/print/pdf-renderer/Makefile index 7bbf5ed81544..801aa633e7fe 100644 --- a/print/pdf-renderer/Makefile +++ b/print/pdf-renderer/Makefile @@ -1,57 +1,55 @@ -# Created by: Alex Dupre - PORTNAME= pdf-renderer PORTVERSION= 0.9.1 PORTEPOCH= 1 CATEGORIES= print java MASTER_SITES= http://java.net/downloads/${PORTNAME}/ DISTNAME= PDFRenderer-full-${PORTVERSION} MAINTAINER= ale@FreeBSD.org COMMENT= 100% Java PDF renderer and viewer LICENSE= LGPL21 BROKEN_armv6= fails to install: swinglabs-build-impl.xml: Javadoc returned 1 BROKEN_armv7= fails to install: swinglabs-build-impl.xml: Javadoc returned 1 USES= dos2unix zip NO_WRKSUBDIR= yes USE_JAVA= yes USE_ANT= yes ALL_TARGET= jar PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar PORTDOCS= * OPTIONS_DEFINE= DOCS DOS2UNIX_FILES= swinglabs-build-impl.xml .include .if ${PORT_OPTIONS:MDOCS} ALL_TARGET+= javadoc .endif .include .if ${JAVA_PORT_VERSION:M*8*} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-swinglabs-build-impl.xml .endif do-install: @${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}.jar..." @${INSTALL_DATA} ${WRKSRC}/dist/PDFRenderer.jar \ ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar @${ECHO_MSG} " [DONE]" .if ${PORT_OPTIONS:MDOCS} @${ECHO_MSG} -n ">> Installing documentation..." @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC}/dist && ${FIND} javadoc \ | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} > /dev/null 2>&1 @${ECHO_MSG} " [DONE]" .endif .include diff --git a/print/pdf4tcl/Makefile b/print/pdf4tcl/Makefile index 0ad53ada4220..10eb63192a3c 100644 --- a/print/pdf4tcl/Makefile +++ b/print/pdf4tcl/Makefile @@ -1,41 +1,39 @@ -# Created by: gahr - PORTNAME= pdf4tcl PORTVERSION= 0.8 CATEGORIES= print MASTER_SITES= SF/${PORTNAME} DISTNAME= ${PORTNAME}${PORTVERSION:S/.//} MAINTAINER= tcltk@FreeBSD.org COMMENT= Pure Tcl library to generate PDF files OPTIONS_DEFINE= DOCS BUILD_DEPENDS= dtplite:devel/tcllib RUN_DEPENDS= ${LOCALBASE}/lib/tcllib/snit/snit.tcl:devel/tcllib WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//} PORTDOCS= * PLIST_FILES= lib/${PKGNAME}/glyph2uni.tcl \ lib/${PKGNAME}/pkgIndex.tcl \ lib/${PKGNAME}/pdf4tcl.tcl \ lib/${PKGNAME}/stdmetrics.tcl \ man/mann/pdf4tcl.n.gz .include do-build: # Generate manpage cd ${WRKSRC} && ${LOCALBASE}/bin/dtplite -o pdf4tcl.n nroff pdf4tcl.man do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PKGNAME} cd ${WRKSRC} && ${COPYTREE_SHARE} \*.tcl ${STAGEDIR}${PREFIX}/lib/${PKGNAME} ${INSTALL_DATA} ${WRKSRC}/pdf4tcl.n ${STAGEDIR}${PREFIX}/man/mann .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html ${STAGEDIR}${DOCSDIR} .endif .include diff --git a/print/pdfarranger/Makefile b/print/pdfarranger/Makefile index a70cc7170cef..034a039c9681 100644 --- a/print/pdfarranger/Makefile +++ b/print/pdfarranger/Makefile @@ -1,27 +1,25 @@ -# Created by: Alexander Vereeken - PORTNAME= pdfarranger DISTVERSION= 1.8.2 PORTREVISION= 3 CATEGORIES= print MAINTAINER= Alexander88207@protonmail.com COMMENT= Split, Merge, Rotate and Reorder PDF Files LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-distutils-extra>0:devel/py-python-distutils-extra@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pikepdf>0:textproc/py-pikepdf@${PY_FLAVOR} \ poppler-glib>0:graphics/poppler-glib USES= gettext gnome python USE_PYTHON= distutils USE_GNOME= gtk30 intltool:build USE_GITHUB= yes NO_ARCH= yes .include diff --git a/print/pdfbox/Makefile b/print/pdfbox/Makefile index 3e88821f2ac0..1f70e7544378 100644 --- a/print/pdfbox/Makefile +++ b/print/pdfbox/Makefile @@ -1,39 +1,37 @@ -# Created by: Pedro Giffuni - PORTNAME= pdfbox PORTVERSION= 2.0.14 PORTREVISION= 1 CATEGORIES= print textproc java MASTER_SITES= https://archive.apache.org/dist/${PORTNAME}/${PORTVERSION}/ DISTFILES= ${JAR_NAMES:S/$/-${PORTVERSION}.jar/} EXTRACT_ONLY= # none MAINTAINER= ale@FreeBSD.org COMMENT= Java tool for working with PDF documents LICENSE= APACHE20 RUN_DEPENDS= ${JAVALIBDIR}/bcmail.jar:java/bouncycastle15 \ ${JAVALIBDIR}/commons-logging.jar:java/apache-commons-logging \ ${JAVALIBDIR}/commons-io.jar:devel/apache-commons-io JAR_NAMES= pdfbox fontbox preflight xmpbox pdfbox-tools pdfbox-debugger USES= cpe CPE_VENDOR= apache USE_JAVA= yes NO_BUILD= yes NO_ARCH= yes PLIST_FILES= ${JAR_NAMES:S/^/%%JAVAJARDIR%%\//:S/$/.jar/} do-install: @${ECHO_MSG} -n ">> Installing JAR files in ${JAVAJARDIR}..." @${MKDIR} ${STAGEDIR}${JAVAJARDIR} .for f in ${JAR_NAMES} ${INSTALL_DATA} ${DISTDIR}/${f}-${PORTVERSION}.jar \ ${STAGEDIR}${JAVAJARDIR}/${f}.jar .endfor @${ECHO_MSG} " [ DONE ]" .include diff --git a/print/pdflib-perl/Makefile b/print/pdflib-perl/Makefile index 631b0f922cfa..a68720bbb9ee 100644 --- a/print/pdflib-perl/Makefile +++ b/print/pdflib-perl/Makefile @@ -1,9 +1,7 @@ -# Created by: Joe Marcus Clarke - PKGNAMESUFFIX= -perl MASTERDIR= ${.CURDIR}/../pdflib OPTIONS_DEFAULT=PERL .include "${MASTERDIR}/Makefile" diff --git a/print/pdflib/Makefile b/print/pdflib/Makefile index 3831142738d2..0f0bf5b22f6f 100644 --- a/print/pdflib/Makefile +++ b/print/pdflib/Makefile @@ -1,66 +1,64 @@ -# Created by: Alex Dupre - PORTNAME= pdflib PORTVERSION= 7.0.5 PORTREVISION= 6 CATEGORIES= print perl5 java MASTER_SITES= LOCAL/ale:src \ LOCAL/crees:license DISTNAME= PDFlib-Lite-${PORTVERSION}p3 DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src PDFlib-Lite-license.txt.gz:license EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ale@FreeBSD.org COMMENT= C library for dynamically generating PDF LICENSE= PDFlib-Lite LICENSE_NAME= PDFlib-Lite LICENSE_FILE= ${WRKDIR}/LICENSE LICENSE_PERMS= dist-mirror pkg-mirror auto-accept BUILD_DEPENDS= gsed:textproc/gsed USES= cpe gmake libtool USE_LDCONFIG= yes GNU_CONFIGURE= yes BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed CONFIGURE_ARGS= --with-py=no --with-ruby=no --with-tcl=no OPTIONS_DEFINE= PERL JAVA DOCS OPTIONS_SUB= yes PERL_DESC= Build perl bindings JAVA_DESC= Build Java bindings PERL_CONFIGURE_WITH= perl=${PERL} PORTDOCS= * PERL_USES= perl5 .include .if ${PORT_OPTIONS:MJAVA} USE_JAVA= yes JAVA_BUILD= yes JAVA_RUN= yes CONFIGURE_ARGS+=--with-java=${JAVA_HOME} .else CONFIGURE_ARGS+=--with-java=no .endif post-extract: ${GZCAT} ${DISTDIR}/PDFlib-Lite-license.txt.gz > ${WRKDIR}/LICENSE post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pdfimage ${STAGEDIR}${PREFIX}/bin/text2pdf \ ${STAGEDIR}${PREFIX}/lib/libpdf.so.6.0.5 ${MKDIR} ${STAGEDIR}${DATADIR}/fonts ${INSTALL_DATA} ${WRKSRC}/fonts/* ${STAGEDIR}${DATADIR}/fonts post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/pdflib/* ${STAGEDIR}${DOCSDIR} post-install-JAVA-on: ${INSTALL_DATA} ${WRKSRC}/bind/pdflib/java/pdflib.jar ${STAGEDIR}${JAVAJARDIR}/pdflib.jar .include diff --git a/print/pdfstitch/Makefile b/print/pdfstitch/Makefile index 4e05872b05e4..df0d2c5ef503 100644 --- a/print/pdfstitch/Makefile +++ b/print/pdfstitch/Makefile @@ -1,32 +1,30 @@ -# Created by: Stefan Hagen - PORTNAME= pdfstitch DISTVERSIONPREFIX= v DISTVERSION= 0.6 CATEGORIES= print MAINTAINER= ports@FreeBSD.org COMMENT= Crop and stitch pages from PDF to larger, single-page PDF LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= p5-YAML>=1.10:textproc/p5-YAML \ p5-File-LibMagic>=1.10:devel/p5-File-LibMagic \ p5-PDF-API2>=2.030:textproc/p5-PDF-API2 USES= perl5 USE_GITHUB= yes GH_ACCOUNT= sur5r NO_ARCH= yes NO_BUILD= yes OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKSRC}/pdfstitch ${STAGEDIR}${PREFIX}/bin/pdfstitch ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/README .include diff --git a/print/pdftk/Makefile b/print/pdftk/Makefile index d5f47253442f..1a3769efd93b 100644 --- a/print/pdftk/Makefile +++ b/print/pdftk/Makefile @@ -1,51 +1,49 @@ -# Created by: Patrick Dung (patrick_dkt@yahoo.com.hk) - PORTNAME= pdftk DISTVERSIONPREFIX= v DISTVERSION= 3.3.2 PORTREVISION= 1 CATEGORIES= print java MAINTAINER= andreas@bilke.org COMMENT= Simple tool for doing everyday things with PDF documents LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${JAVALIBDIR}/commons-lang3.jar:java/apache-commons-lang3 \ ${JAVALIBDIR}/bcprov.jar:java/bouncycastle15 RUN_DEPENDS= ${JAVALIBDIR}/commons-lang3.jar:java/apache-commons-lang3 \ ${JAVALIBDIR}/bcprov.jar:java/bouncycastle15 USE_ANT= yes USE_GITLAB= yes GL_ACCOUNT= pdftk-java GL_COMMIT= 7d2ac3c1fa858f2c247c809fc6ef43f71f241098 USE_JAVA= yes ALL_TARGET= jar NO_ARCH= yes SUB_FILES= pdftk SUB_LIST= CLASSPATH="${_CLASSPATH:ts:}" \ JAVA="${JAVA}" PLIST_FILES= ${JAVAJARDIR}/pdftk.jar \ bin/pdftk \ share/man/man1/pdftk.1.gz _CLASSPATH= ${JAVAJARDIR}/commons-lang3.jar \ ${JAVAJARDIR}/bcprov.jar \ ${JAVAJARDIR}/pdftk.jar post-extract: @${MKDIR} ${WRKSRC}/lib @${LN} -sf ${JAVAJARDIR}/commons-lang3.jar ${WRKSRC}/lib @${LN} -sf ${JAVAJARDIR}/bcprov.jar ${WRKSRC}/lib do-install: ${INSTALL_SCRIPT} ${WRKDIR}/pdftk \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/build/jar/pdftk.jar \ ${STAGEDIR}${JAVAJARDIR} ${INSTALL_MAN} ${WRKSRC}/pdftk.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/print/pear-File_PDF/Makefile b/print/pear-File_PDF/Makefile index fc0ad089001d..ae9ffd6772d4 100644 --- a/print/pear-File_PDF/Makefile +++ b/print/pear-File_PDF/Makefile @@ -1,12 +1,10 @@ -# Created by: Anish Mistry - PORTNAME= File_PDF PORTVERSION= 0.3.3 CATEGORIES= print pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR class to generate PDFs USES= pear .include diff --git a/print/pecl-pdflib/Makefile b/print/pecl-pdflib/Makefile index 0ad936084fd7..9511d65c476a 100644 --- a/print/pecl-pdflib/Makefile +++ b/print/pecl-pdflib/Makefile @@ -1,29 +1,27 @@ -# Created by: Alex Dupre - PORTNAME= pdflib PORTVERSION= 4.1.4 PORTREVISION= 1 CATEGORIES= print pear MAINTAINER= ale@FreeBSD.org COMMENT= PECL extension to create PDF on the fly LICENSE= PDFlib LICENSE_NAME= PDFlib GmbH General License LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= none DEPRECATED= Requires php 7.4 which is set to expire on 2022-11-29 EXPIRATION_DATE=2022-11-28 LIB_DEPENDS= libpdf.so:print/pdflib USES= php:pecl USE_PHP= gd:build IGNORE_WITH_PHP=80 81 82 PHP_MODNAME= pdf CONFIGURE_ARGS= --with-pdflib=${LOCALBASE} .include diff --git a/print/pfbtopfa/Makefile b/print/pfbtopfa/Makefile index f6957d5d651e..aacbbd0c56ad 100644 --- a/print/pfbtopfa/Makefile +++ b/print/pfbtopfa/Makefile @@ -1,19 +1,17 @@ -# Created by: ijliao - PORTNAME= pfbtopfa PORTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://www.whizkidtech.redprince.net/pfbtopfa/ \ ftp://ftp.whizkidtech.redprince.net/fonts/ MAINTAINER= ports@FreeBSD.org COMMENT= Convert PFB files to the PFA format PLIST_FILES= bin/pfbtopfa man/man1/pfbtopfa.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pfbtopfa ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pfbtopfa.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/print/pic2fig/Makefile b/print/pic2fig/Makefile index 548a0b9a8c1c..e17afbbfc4d3 100644 --- a/print/pic2fig/Makefile +++ b/print/pic2fig/Makefile @@ -1,21 +1,19 @@ -# Created by: Patrick Powell - PORTNAME= pic2fig PORTVERSION= 1.4 PORTREVISION= 2 CATEGORIES= print MASTER_SITES= XCONTRIB/utilities MAINTAINER= ports@FreeBSD.org COMMENT= Pic format to fig format converter USES= tar:Z WRKSRC= ${WRKDIR}/${PORTNAME} CFLAGS+= -Wno-return-type PLIST_FILES= bin/pic2fig man/man1/pic2fig.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pic2fig ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pic2fig.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/print/pkfonts118/Makefile b/print/pkfonts118/Makefile index 794e1e15c572..2ada1eae02b1 100644 --- a/print/pkfonts118/Makefile +++ b/print/pkfonts118/Makefile @@ -1,6 +1,4 @@ -# Created by: Satoshi Asami - RESOLUTION= 118 MASTERDIR= ${.CURDIR}/../pkfonts300 .include "${MASTERDIR}/Makefile" diff --git a/print/pkfonts240/Makefile b/print/pkfonts240/Makefile index d60eb09b2f1c..0d1ce699329b 100644 --- a/print/pkfonts240/Makefile +++ b/print/pkfonts240/Makefile @@ -1,6 +1,4 @@ -# Created by: Satoshi Asami - RESOLUTION= 240 MASTERDIR= ${.CURDIR}/../pkfonts300 .include "${MASTERDIR}/Makefile" diff --git a/print/pkfonts300/Makefile b/print/pkfonts300/Makefile index 96ee74272692..04e52df02e15 100644 --- a/print/pkfonts300/Makefile +++ b/print/pkfonts300/Makefile @@ -1,35 +1,33 @@ -# Created by: Hideaki Ohmon - PORTNAME= pkfonts${RESOLUTION} PORTVERSION= 1.0 CATEGORIES= print MASTER_SITES= PORTS_JP/pkfonts DISTFILES= pk${RESOLUTION}.tar.gz # see below for RESOLUTION definition MAINTAINER= ports@FreeBSD.org COMMENT= English PK fonts, for ghostscripts, xdvi, and so on DIST_SUBDIR= pkfonts EXTRACT_ONLY= # extracted directly in install target NO_BUILD= yes PLIST= ${PKGDIR}/pkg-plist.${RESOLUTION} .if !defined(RESOLUTION) RESOLUTION= 300 .else .if ${RESOLUTION} != 118 && ${RESOLUTION} != 240 && \ ${RESOLUTION} != 300 && ${RESOLUTION} != 360 && \ ${RESOLUTION} != 400 && ${RESOLUTION} != 600 .BEGIN: @${ECHO_MSG} "Error: invalid value for RESOLUTION: \"${RESOLUTION}\"" @${ECHO_MSG} "Possible values are: 118, 240, 300, 360, 400 and 600." @${FALSE} .endif .endif do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/fonts ${TAR} -C ${STAGEDIR}${PREFIX}/lib/fonts -xzf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} .include diff --git a/print/pkfonts360/Makefile b/print/pkfonts360/Makefile index 11ef1ef301f0..1c9b6d1f273c 100644 --- a/print/pkfonts360/Makefile +++ b/print/pkfonts360/Makefile @@ -1,6 +1,4 @@ -# Created by: Satoshi Asami - RESOLUTION= 360 MASTERDIR= ${.CURDIR}/../pkfonts300 .include "${MASTERDIR}/Makefile" diff --git a/print/pkfonts400/Makefile b/print/pkfonts400/Makefile index bfe02c18f4ee..fbdfd1ae0895 100644 --- a/print/pkfonts400/Makefile +++ b/print/pkfonts400/Makefile @@ -1,6 +1,4 @@ -# Created by: Satoshi Asami - RESOLUTION= 400 MASTERDIR= ${.CURDIR}/../pkfonts300 .include "${MASTERDIR}/Makefile" diff --git a/print/pkfonts600/Makefile b/print/pkfonts600/Makefile index b62540bb0050..b4466cf70f95 100644 --- a/print/pkfonts600/Makefile +++ b/print/pkfonts600/Makefile @@ -1,6 +1,4 @@ -# Created by: Satoshi Asami - RESOLUTION= 600 MASTERDIR= ${.CURDIR}/../pkfonts300 .include "${MASTERDIR}/Makefile" diff --git a/print/pnm2ppa/Makefile b/print/pnm2ppa/Makefile index 95867db830f9..e60dafe96607 100644 --- a/print/pnm2ppa/Makefile +++ b/print/pnm2ppa/Makefile @@ -1,51 +1,49 @@ -# Created by: smace@FreeBSD.org - PORTNAME= pnm2ppa PORTVERSION= 1.13 PORTREVISION= 5 CATEGORIES= print MASTER_SITES= SF MAINTAINER= 000.fbsd@quip.cz COMMENT= Convert PNM images to PPA for some HP printers LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/docs/en/LICENSE USES= gmake ghostscript:run GNU_CONFIGURE= yes OPTIONS_DEFINE= A4SIZE A4SIZE_DESC= Set A4 (not Letter) as a default paper size .include .if defined(A4) || !empty(PORT_OPTIONS:MA4SIZE) RUN_DEPENDS+= enscript:print/enscript-a4 .else RUN_DEPENDS+= enscript:print/enscript-letter .endif post-patch: @${REINPLACE_CMD} -e 's|-Wformat-security -g|-Wformat-security| ; \ s|-O2 -DNDEBUG|-DNDEBUG|' ${WRKSRC}/configure @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \ ${WRKSRC}/pnm2ppa.conf > ${WRKSRC}/pnm2ppa.conf.sample @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \ ${WRKSRC}/docs/en/pnm2ppa.1 > ${WRKSRC}/pnm2ppa.1 @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \ -e "s:%%LOCALBASE%%:${LOCALBASE}:g" \ ${FILESDIR}/asciippafilter.SH > ${WRKSRC}/asciippafilter @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \ -e "s:%%LOCALBASE%%:${LOCALBASE}:g" \ ${FILESDIR}/ppafilter.SH > ${WRKSRC}/ppafilter do-install: ${INSTALL_PROGRAM} ${WRKSRC}/calibrate_ppa ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/pnm2ppa ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/asciippafilter ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/ppafilter ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pnm2ppa.1 ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/pnm2ppa.conf.sample ${STAGEDIR}${PREFIX}/etc .include diff --git a/print/posterazor/Makefile b/print/posterazor/Makefile index ade332ceb4dd..b793778650dd 100644 --- a/print/posterazor/Makefile +++ b/print/posterazor/Makefile @@ -1,39 +1,37 @@ -# Created by: Emanuel Haupt - PORTNAME= posterazor PORTVERSION= 1.9.7 DISTVERSIONPREFIX= v PORTREVISION= 1 CATEGORIES= print graphics MAINTAINER= ehaupt@FreeBSD.org COMMENT= Cuts an image into pieces which can be printed out as a poster LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++11-lang dos2unix gl localbase:ldflags qmake qt:5 USE_GITHUB= yes GH_ACCOUNT= ehaupt USE_GL= gl USE_QT= core gui printsupport widgets buildtools_build QMAKE_SOURCE_PATH= ${WRKSRC}/src/posterazor.pro DESKTOP_ENTRIES= "PosteRazor" \ "Make your own poster!" \ "${PREFIX}/share/pixmaps/posterazor.xpm" \ "posterazor" \ "Application;Graphics;" \ "" PLIST_FILES= bin/posterazor \ share/pixmaps/posterazor.xpm do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/PosteRazor \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.xpm \ ${STAGEDIR}${PREFIX}/share/pixmaps/ .include diff --git a/print/ps2eps/Makefile b/print/ps2eps/Makefile index a653cad4f1f3..04bb6539e2fb 100644 --- a/print/ps2eps/Makefile +++ b/print/ps2eps/Makefile @@ -1,42 +1,40 @@ -# Created by: Jui-Nan Lin - PORTNAME= ps2eps PORTVERSION= 1.64 PORTREVISION= 5 CATEGORIES= print MASTER_SITES= http://www.tm.uka.de/~bless/ \ http://www.ipv6.tm.uka.de/~bless/ MAINTAINER= jnlin@freebsd.cs.nctu.edu.tw COMMENT= Generate Encapsulated Postscript file from Postscript document CONFLICTS_INSTALL= texlive-base WRKSRC= ${WRKDIR}/ps2eps USES= ghostscript:run perl5 USE_PERL5= run OPTIONS_DEFINE= DOCS do-build: ${CC} -o ${WRKSRC}/bbox ${WRKSRC}/src/C/bbox.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bbox ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/ps2eps ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/man/man1/bbox.1 ${STAGEDIR}${PREFIX}/man/man1/ ${INSTALL_MAN} ${WRKSRC}/doc/man/man1/ps2eps.1 ${STAGEDIR}${PREFIX}/man/man1/ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}/html @${MKDIR} ${STAGEDIR}${DOCSDIR}/pdf ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Changes.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/html/bbox.html ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/doc/html/ps2eps.html ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/doc/pdf/bbox.pdf ${STAGEDIR}${DOCSDIR}/pdf ${INSTALL_DATA} ${WRKSRC}/doc/pdf/ps2eps.pdf ${STAGEDIR}${DOCSDIR}/pdf .include diff --git a/print/pscal/Makefile b/print/pscal/Makefile index c1eec6a9e04f..2f508155f1df 100644 --- a/print/pscal/Makefile +++ b/print/pscal/Makefile @@ -1,17 +1,15 @@ -# Created by: Mark Pulford - PORTNAME= pscal PORTVERSION= 1.16 CATEGORIES= print MASTER_SITES= http://www.panix.com/~mbh/pscal/ MAINTAINER= ports@FreeBSD.org COMMENT= Utility for generating Postscript calendars NO_BUILD= yes PLIST_FILES= bin/pscal do-install: ${INSTALL_SCRIPT} ${WRKSRC}/pscal ${STAGEDIR}${PREFIX}/bin .include diff --git a/print/psdim/Makefile b/print/psdim/Makefile index 42e41ee1fb75..09b6ade40cb1 100644 --- a/print/psdim/Makefile +++ b/print/psdim/Makefile @@ -1,21 +1,19 @@ -# Created by: e-masson@kisoft-services.com - PORTNAME= psdim PORTVERSION= 1.4 PORTREVISION= 8 CATEGORIES= print MASTER_SITES= http://www.mathstat.dal.ca/~selinger/psdim/download/ MAINTAINER= ports@FreeBSD.org COMMENT= Calculates the optimal placement of the pages for n-up printing LICENSE= GPLv2 USES= ghostscript HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} PLIST_FILES= bin/psdim man/man1/psdim.1.gz .include diff --git a/print/pslib/Makefile b/print/pslib/Makefile index 53aa1ac70803..b44228b9d2f0 100644 --- a/print/pslib/Makefile +++ b/print/pslib/Makefile @@ -1,48 +1,46 @@ -# Created by: ijliao - PORTNAME= pslib PORTVERSION= 0.4.6 CATEGORIES= print MASTER_SITES= SF DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= C-library for generating multi page PostScript documents LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgif.so:graphics/giflib \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= gettext gmake gnome jpeg libtool localbase pathfix pkgconfig USE_GNOME= intlhack USE_LDCONFIG= yes GNU_CONFIGURE= yes LIBS+= -lintl INSTALL_TARGET= install-strip EX_DISTNAME= pslib-examples-0.0.11 EX_WRKSRC= ${WRKDIR}/${EX_DISTNAME} OPTIONS_DEFINE= EXAMPLES MANPAGES NLS OPTIONS_DEFAULT= MANPAGES OPTIONS_SUB= yes EXAMPLES_DISTFILES= ${EX_DISTNAME}${EXTRACT_SUFX} MANPAGES_BUILD_DEPENDS= ${LOCALBASE}/bin/docbook-to-man:textproc/docbook-to-man \ ${LOCALBASE}/bin/docbook2man:textproc/docbook-utils MANPAGES_CONFIGURE_ENV_OFF=ac_cv_prog_DOC_TO_MAN="" NLS_CONFIGURE_ENV_OFF= ac_cv_header_libintl_h=no post-patch-NLS-off: @${REINPLACE_CMD} -e 's|@USE_NLS@|no|g' ${WRKSRC}/po/Makefile.in.in post-install-EXAMPLES-on: @cd ${EX_WRKSRC} && ${RM} Makefile.unix ChangeLog CMakeLists.txt && \ ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/print/pstotext/Makefile b/print/pstotext/Makefile index 4c83cd0a613a..fb4fa7288b25 100644 --- a/print/pstotext/Makefile +++ b/print/pstotext/Makefile @@ -1,37 +1,35 @@ -# Created by: Oliver Breuninger - PORTNAME= pstotext PORTVERSION= 1.9 PORTREVISION= 6 CATEGORIES= print MASTER_SITES= http://ftp.gwdg.de/pub/ghostscript/contrib/ \ http://ftp.sunet.se/pub/text-processing/postscript/interpreters/ghostscript/contrib/ \ http://gd.tuwien.ac.at/pub/publishing/ghostscript/contrib/ \ http://fossies.org/unix/misc/ MAINTAINER= ports@FreeBSD.org COMMENT= PostScript to Text converter LICENSE= EULA LICENSE_NAME= End User License Agreement LICENSE_FILE= ${WRKSRC}/pstotext.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= cpe ghostscript:run SUB_LIST= LICENSE=${LICENSE} \ LICENSE_DIR=${_LICENSE_DIR} PLIST_FILES= bin/pstotext \ man/man1/pstotext.1.gz post-patch: @${REINPLACE_CMD} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${WRKSRC}/main.c \ ${WRKSRC}/pstotext.1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pstotext ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pstotext.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include diff --git a/print/psutils/Makefile b/print/psutils/Makefile index fd3aed77a247..a31f1fb0abe8 100644 --- a/print/psutils/Makefile +++ b/print/psutils/Makefile @@ -1,25 +1,23 @@ -# Created by: Jean-Marc Zucconi and David O'Brien - PORTNAME= psutils PORTVERSION= 1.17 PORTREVISION= 5 CATEGORIES= print MASTER_SITES= ftp://ftp.dcs.ed.ac.uk/pub/ajcd/ \ ftp://ftp.knackered.org/pub/psutils/ \ TEX_CTAN/support/psutils DISTNAME= psutils-p17 MAINTAINER= hrs@FreeBSD.org COMMENT= Utilities for manipulating PostScript documents LIB_DEPENDS= libpaper.so:print/libpaper USES= perl5 USE_PERL5= build WRKSRC= ${WRKDIR}/${PORTNAME} MAKEFILE= Makefile.unix MAKE_ENV+= DATADIR="${DATADIR}" PERL="${PERL}" CHMOD="${CHMOD}" SCRIPTS_ENV+= PERL5=${PERL} CC=${CC} DATADIR=${DATADIR} \ MANPREFIX=${MANPREFIX} PAPER=dummy .include diff --git a/print/py-collidoscope/Makefile b/print/py-collidoscope/Makefile index e9307ce03461..6eeaafd462e9 100644 --- a/print/py-collidoscope/Makefile +++ b/print/py-collidoscope/Makefile @@ -1,24 +1,22 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= collidoscope PORTVERSION= 0.4.1 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Brute force detection of glyph collisions LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beziers>=0.0.3:graphics/py-beziers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fonttools>=0:print/py-fonttools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}glyphtools>=0:print/py-glyphtools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uharfbuzz>=0:print/py-uharfbuzz@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/print/py-dehinter/Makefile b/print/py-dehinter/Makefile index ab9939467d09..f91b5778cab3 100644 --- a/print/py-dehinter/Makefile +++ b/print/py-dehinter/Makefile @@ -1,22 +1,20 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= dehinter PORTVERSION= 4.0.0 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Remove TrueType instruction sets (hints) in fonts LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=0:print/py-fonttools@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/print/py-font-v/Makefile b/print/py-font-v/Makefile index ba19f39b12ae..88f66080ee14 100644 --- a/print/py-font-v/Makefile +++ b/print/py-font-v/Makefile @@ -1,23 +1,21 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= font-v PORTVERSION= 2.1.0 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Font version reporting and modification tool LICENSE= MIT LICENSE_FILE= ${WRKSRC}/docs/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=0:print/py-fonttools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gitpython>=0:devel/py-gitpython@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/print/py-fontaine/Makefile b/print/py-fontaine/Makefile index bba9f911934b..d6632cadb8ed 100644 --- a/print/py-fontaine/Makefile +++ b/print/py-fontaine/Makefile @@ -1,35 +1,33 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= fontaine PORTVERSION= 1.4.0 PORTREVISION= 1 CATEGORIES= print python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Font analysis tool for determining character/glyph support LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=0:print/py-fonttools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyicu>=0:devel/py-pyicu@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tabulate>=0:devel/py-tabulate@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes GH_ACCOUNT= googlefonts GH_PROJECT= pyfontaine GH_TUPLE= freedesktop:fontconfig:2.13.93:freedesktop_fontconfig/fontaine/charsets/fontconfig USE_GITHUB= yes post-patch: @${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/setup.py .include diff --git a/print/py-fontbakery/Makefile b/print/py-fontbakery/Makefile index db0d61a59b0e..d28de5470789 100644 --- a/print/py-fontbakery/Makefile +++ b/print/py-fontbakery/Makefile @@ -1,50 +1,48 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= fontbakery PORTVERSION= 0.8.6 DISTVERSIONPREFIX= v CATEGORIES= print python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Well designed Font QA tool LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}beziers>=0:graphics/py-beziers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cmarkgfm>=0:textproc/py-cmarkgfm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}collidoscope>=0.4.1:print/py-collidoscope@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}defcon>=0:x11-fonts/py-defcon@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dehinter>=3.1.0:print/py-dehinter@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}font-v>=0:print/py-font-v@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fonttools>=3.34:print/py-fonttools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}glyphsets>=0:print/py-glyphsets@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}opentype-sanitizer>=7.1.9:x11-fonts/py-opentype-sanitizer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}opentypespec>=0:x11-fonts/py-opentypespec@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pip-api>=0:devel/py-pip-api@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protobuf>=3.7.0,1:devel/py-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=0:textproc/py-rich@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}stringbrewer>=0:devel/py-stringbrewer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ufolint>=0:x11-fonts/py-ufolint@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}unicodedata2>=0:devel/py-unicodedata2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}vharfbuzz>=0:print/py-vharfbuzz@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes GH_ACCOUNT= googlefonts USE_GITHUB= yes post-patch: @${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/setup.py .include diff --git a/print/py-fontparts/Makefile b/print/py-fontparts/Makefile index 8087b4191910..c1722a961fba 100644 --- a/print/py-fontparts/Makefile +++ b/print/py-fontparts/Makefile @@ -1,28 +1,26 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= fontparts PORTVERSION= 0.10.7 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= fontParts-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= API for interacting with the parts of fonts during the font development process LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6.4.2:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}booleanOperations>=0.8.2:x11-fonts/py-booleanOperations@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}defcon>=0.6.0:x11-fonts/py-defcon@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fontMath>=0.4.8:x11-fonts/py-fontMath@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fontpens>=0.1.0:print/py-fontpens@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fonttools>=3.32.0:print/py-fonttools@${PY_FLAVOR} USES= python:3.7+ zip USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/print/py-fontpens/Makefile b/print/py-fontpens/Makefile index 79ec3cd1d250..d7117c23a40d 100644 --- a/print/py-fontpens/Makefile +++ b/print/py-fontpens/Makefile @@ -1,25 +1,23 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= fontpens PORTVERSION= 0.2.4 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= fontPens-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Collection of classes implementing the pen protocol for manipulating glyphs LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=3.32.0:print/py-fonttools@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fontparts>=0.8.1:print/py-fontparts@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} USES= python:3.6+ zip USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/print/py-fonttools/Makefile b/print/py-fonttools/Makefile index 94faa6129c25..973f9a8dbd23 100644 --- a/print/py-fonttools/Makefile +++ b/print/py-fonttools/Makefile @@ -1,51 +1,49 @@ -# Created by: Joseph Koshy - PORTNAME= fonttools PORTVERSION= 4.34.4 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Open source library for manipulating fonts, written in Python LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ufolib2>=0:print/py-ufolib2@${PY_FLAVOR} USES= python:3.7+ zip USE_PYTHON= autoplist concurrent distutils MAKE_ENV= FONTTOOLS_MANPATH="man" NO_ARCH= yes OPTIONS_DEFINE= GRAPHITE INTERPOLATABLE LXML PLOT REPACKER SYMFONT UFO UNICODE WOFF OPTIONS_DEFAULT=LXML UFO UNICODE GRAPHITE_DESC= Process graphite type tables in ttLib/tables INTERPOLATABLE_DESC= Interpolatability support LXML_DESC= Read/write XML files via lxml (faster/safer than built-in ElementTree) PLOT_DESC= Visualize DesignSpaceDocument and resulting VariationModel REPACKER_DESC= Pack GSUB/GPOS tables with harfbuzz repacker SYMFONT_DESC= Symbolic font statistics analysis UFO_DESC= Read/write UFO fonts UNICODE_DESC= Use latest Unicode Character Database WOFF_DESC= Compress/uncompress WOFF webfonts GRAPHITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lz4>=1.7.4.2:archivers/py-lz4@${PY_FLAVOR} INTERPOLATABLE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>=0:science/py-scipy@${PY_FLAVOR} LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=4.0<5:devel/py-lxml@${PY_FLAVOR} PLOT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} REPACKER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}uharfbuzz>=0.23.0:print/py-uharfbuzz@${PY_FLAVOR} SYMFONT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sympy>=0:math/py-sympy@${PY_FLAVOR} UFO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fs2>=2.2.0<3:devel/py-fs2@${PY_FLAVOR} WOFF_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotli>=1.0.1:archivers/py-brotli@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zopfli>=0.1.4:archivers/py-zopfli@${PY_FLAVOR} .include .if ${PORT_OPTIONS:UNICODE} && ${PYTHON_REL} < 31100 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}unicodedata2>=14.0.0:devel/py-unicodedata2@${PY_FLAVOR} .endif .include diff --git a/print/py-fpdf/Makefile b/print/py-fpdf/Makefile index 7cb1fcd144a9..53b69cb3a8fa 100644 --- a/print/py-fpdf/Makefile +++ b/print/py-fpdf/Makefile @@ -1,18 +1,16 @@ -# Created by: Fabiano Sidler - PORTNAME= fpdf PORTVERSION= 1.7.2 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= fabianosidler@swissonline.ch COMMENT= Simple PDF generation for Python LICENSE= LGPL3 USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes .include diff --git a/print/py-frescobaldi/Makefile b/print/py-frescobaldi/Makefile index cabe4588b0cf..35e00b0297cf 100644 --- a/print/py-frescobaldi/Makefile +++ b/print/py-frescobaldi/Makefile @@ -1,40 +1,38 @@ -# Created by: martin.dieringer@gmx.de - PORTNAME= frescobaldi DISTVERSIONPREFIX= v DISTVERSION= 3.2 CATEGORIES= print kde python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= m.ne@gmx.net COMMENT= Music score editor for lilypond LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-ly>=0:print/py-python-ly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-poppler-qt5>=0:graphics/py-python-poppler-qt5@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}qpageview>=0:graphics/py-qpageview@${PY_FLAVOR} USES= desktop-file-utils gettext gmake pyqt:5 python:3.5+ qmake qt:5 USE_GITHUB= yes GH_ACCOUNT= frescobaldi USE_PYQT= pyqt5 sip webengine USE_PYTHON= autoplist distutils noflavors NO_ARCH= yes OPTIONS_DEFINE= LILYPOND LILYPOND_DESC= Use unstable LilyPond (lilypond-devel) LILYPOND_RUN_DEPENDS= lilypond:print/lilypond-devel LILYPOND_RUN_DEPENDS_OFF= lilypond:print/lilypond post-patch: @${REINPLACE_CMD} -e 's|'share/man/man1'|'man/man1'|' \ ${WRKSRC}/setup.py post-build: (cd ${WRKSRC} && ${GMAKE} -C linux) .include diff --git a/print/py-glyphsets/Makefile b/print/py-glyphsets/Makefile index e8c18d15b9aa..761bebf51968 100644 --- a/print/py-glyphsets/Makefile +++ b/print/py-glyphsets/Makefile @@ -1,28 +1,26 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= glyphsets PORTVERSION= 0.5.2 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python API for evaluating coverage of glyph sets in font projects LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=4:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defcon>=0:x11-fonts/py-defcon@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fonttools>=0:print/py-fonttools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}glyphsLib>=0:x11-fonts/py-glyphsLib@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes post-patch: @${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/setup.py .include diff --git a/print/py-glyphtools/Makefile b/print/py-glyphtools/Makefile index 52faac94eb4b..b08e089cf67d 100644 --- a/print/py-glyphtools/Makefile +++ b/print/py-glyphtools/Makefile @@ -1,24 +1,22 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= glyphtools PORTVERSION= 0.8.0 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Routines for extracting information from fontTools glyphs LICENSE= APACHE20 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}babelfont>=0.2.0:x11-fonts/py-babelfont@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}beziers>=0:graphics/py-beziers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}glyphsLib>=0:x11-fonts/py-glyphsLib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/print/py-pdf/Makefile b/print/py-pdf/Makefile index 787e5e0c4f74..73267667b1d9 100644 --- a/print/py-pdf/Makefile +++ b/print/py-pdf/Makefile @@ -1,17 +1,15 @@ -# Created by: Stefan Esser - PORTNAME= pdf PORTVERSION= 1.13 PORTREVISION= 1 CATEGORIES= print python MASTER_SITES= http://pybrary.net/pyPdf/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pyPdf-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Pure-Python PDF toolkit USES= dos2unix python:3.6+ USE_PYTHON= distutils autoplist .include diff --git a/print/py-pdf2/Makefile b/print/py-pdf2/Makefile index 9527cee62be0..fa7c084b2c66 100644 --- a/print/py-pdf2/Makefile +++ b/print/py-pdf2/Makefile @@ -1,22 +1,20 @@ -# Created by: Stefan Esser - PORTNAME= pdf PORTVERSION= 1.27.12 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 2 DISTNAME= PyPDF2-${PORTVERSION} MAINTAINER= python@FreeBSD.org COMMENT= Pure-Python PDF toolkit LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= python:3.6+ USE_PYTHON= distutils autoplist NO_ARCH= yes .include diff --git a/print/py-pollyreports/Makefile b/print/py-pollyreports/Makefile index 29617586981d..f1c434fe4a57 100644 --- a/print/py-pollyreports/Makefile +++ b/print/py-pollyreports/Makefile @@ -1,25 +1,23 @@ -# Created by: Jose Jachuf - PORTNAME= PollyReports PORTVERSION= 1.8 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= jjachuf@gmail.com COMMENT= Band-oriented PDF report generation from database query LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes OPTIONS_DEFINE= REPORTLAB REPORTLAB_DESC= Install Reportlab REPORTLAB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}reportlab>=3.0:print/py-reportlab@${PY_FLAVOR} .include diff --git a/print/py-preppy/Makefile b/print/py-preppy/Makefile index f52b53860802..b64f232e4550 100644 --- a/print/py-preppy/Makefile +++ b/print/py-preppy/Makefile @@ -1,20 +1,18 @@ -# Created by: Kozlov Sergey - PORTNAME= preppy PORTVERSION= 2.4.1 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= ReportLab's templating system LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/print/py-pycups/Makefile b/print/py-pycups/Makefile index e2a96c1f371f..6bd36c2e6ed4 100644 --- a/print/py-pycups/Makefile +++ b/print/py-pycups/Makefile @@ -1,35 +1,33 @@ -# Created by: Michael Johnson - PORTNAME= pycups PORTVERSION= 2.0.1 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= CUPS bindings for Python LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual LIB_DEPENDS= libcups.so:print/cups USES= iconv localbase python:3.5+ USE_PYTHON= autoplist concurrent distutils .include post-patch: @${REINPLACE_CMD} -e 's|^\(VERSION=\).*$$|\1${PORTVERSION}|' ${WRKSRC}/Makefile .if empty(ICONV_LIB) @${REINPLACE_CMD} -e 's| or sys.platform.startswith("freebsd"):|:|' ${WRKSRC}/setup.py .endif pre-configure: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/cupsconnection.c @${REINPLACE_CMD} -e 's|#ifdef __SVR4|#ifdef __FreeBSD__|' ${WRKSRC}/cupsppd.c post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/print/py-pypdf3/Makefile b/print/py-pypdf3/Makefile index de2d8b230aaa..9816684768b4 100644 --- a/print/py-pypdf3/Makefile +++ b/print/py-pypdf3/Makefile @@ -1,23 +1,21 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= pypdf3 PORTVERSION= 1.0.6 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= PyPDF3-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Pure Python PDF toolkit LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tqdm>=0:misc/py-tqdm@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/print/py-python-ly/Makefile b/print/py-python-ly/Makefile index e7210c916efe..20ea72788ab0 100644 --- a/print/py-python-ly/Makefile +++ b/print/py-python-ly/Makefile @@ -1,21 +1,19 @@ -# Created by: martin.dieringer@gmx.de - PORTNAME= python-ly PORTVERSION= 0.9.6 DISTVERSIONPREFIX= v CATEGORIES= print python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= martin.dieringer@gmx.de COMMENT= Python package to manipulate LilyPond files LICENSE= GPLv3 USES= python:3.6+ USE_GITHUB= yes GH_ACCOUNT= wbsoft USE_PYTHON= distutils autoplist .include diff --git a/print/py-relatorio/Makefile b/print/py-relatorio/Makefile index 05def315c2d1..606f8982db58 100644 --- a/print/py-relatorio/Makefile +++ b/print/py-relatorio/Makefile @@ -1,32 +1,30 @@ -# Created by: Wen Heping - PORTNAME= relatorio PORTVERSION= 0.10.1 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Templating library able to output odt and pdf files LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Genshi>=0.5:textproc/py-genshi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=2.0:devel/py-lxml@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils unittest NO_ARCH= yes OPTIONS_DEFINE= CHART FODT OPTIONS_DEFAULT=CHART FODT CHART_DESC= Chart support FODT_DESC= OpenDocument support CHART_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycha>=0.4.0:graphics/py-pycha@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} FODT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-magic>=0:devel/py-python-magic@${PY_FLAVOR} .include diff --git a/print/py-reportlab/Makefile b/print/py-reportlab/Makefile index 1a448dbb5c35..e55db8b14b52 100644 --- a/print/py-reportlab/Makefile +++ b/print/py-reportlab/Makefile @@ -1,67 +1,65 @@ -# Created by: Thomas Gellekum - PORTNAME= reportlab PORTVERSION= 3.5.68 PORTREVISION= 1 CATEGORIES= print python MASTER_SITES= CHEESESHOP \ https://www.reportlab.com/ftp/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${PFBFER} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= bofh@FreeBSD.org COMMENT= Library to create PDF documents using the Python language LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PY_PILLOW} USES= cpe python:3.6+ USE_PYTHON= distutils autoplist CONFLICTS= py*-reportlab[^3]-[^3].* \ py*-reportlab-[^3].* PFBFER_VERSION= 20180109 PFBFER= pfbfer-${PFBFER_VERSION}.zip MAKE_ENV= PACKAGE_PATH="${REPORTLABDIR}" REPORTLABDIR= ${PYTHONPREFIX_SITELIBDIR}/reportlab DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} PORTDOCS= reportlab-userguide.pdf OPTIONS_DEFINE= CJK FREETYPE DOCS OPTIONS_DEFAULT=CJK FREETYPE CJK_DESC= Adobe CMaps CJK_RUN_DEPENDS= ${LOCALBASE}/share/fonts/adobe-cmaps/ac15/cid2code.txt:print/adobe-cmaps FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 post-patch: @${REINPLACE_CMD} -e 's|%%DISTDIR%%|${DISTDIR}|' \ -e 's|%%PFBFER%%|${PFBFER}|' \ ${WRKSRC}/setup.py post-patch-DOCS-on: .for f in genAll.py userguide/genuserguide.py @${REINPLACE_CMD} -e 's|%%STAGEDIR%%|${STAGEDIR}|' \ -e 's|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|' \ ${WRKSRC}/docs/${f} .endfor post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/reportlab/*/*.so post-install-DOCS-on: @cd ${WRKSRC}/docs && ${PYTHON_CMD} genAll.py @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/docs/${i} ${STAGEDIR}${DOCSDIR} .endfor do-test: @(cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ./runAll.py) .include diff --git a/print/py-rtf/Makefile b/print/py-rtf/Makefile index c659f53ab626..f4278261d2d1 100644 --- a/print/py-rtf/Makefile +++ b/print/py-rtf/Makefile @@ -1,27 +1,25 @@ -# Created by: Thomas Gellekum - PORTNAME= rtf PORTVERSION= 0.45 CATEGORIES= print python MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= PyRTF-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Library to create RTF documents using the Python language LICENSE= GPLv1 USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes PORTEXAMPLES= * OPTIONS_DEFINE= EXAMPLES post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/print/py-ttfautohint-py/Makefile b/print/py-ttfautohint-py/Makefile index 396288218bda..0a589206cab6 100644 --- a/print/py-ttfautohint-py/Makefile +++ b/print/py-ttfautohint-py/Makefile @@ -1,23 +1,21 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= ttfautohint-py PORTVERSION= 0.5.1 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python wrapper for ttfautohint LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} LIB_DEPENDS= libttfautohint.so:print/ttfautohint USES= gmake python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/print/py-ufolib2/Makefile b/print/py-ufolib2/Makefile index abf7a0acc3cb..64812db1f6be 100644 --- a/print/py-ufolib2/Makefile +++ b/print/py-ufolib2/Makefile @@ -1,40 +1,38 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= ufolib2 PORTVERSION= 0.13.1 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ufoLib2-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= UFO font processing library LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=20.1.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fonttools>=4.0.0:print/py-fonttools@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes OPTIONS_DEFINE= CONVERTERS LXML CONVERTERS_DESC=Converters support LXML_DESC= XML support CONVERTERS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cattrs>=1.10.0:devel/py-cattrs@${PY_FLAVOR} LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} .include .if ${PYTHON_REL} < 30800 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} .endif post-patch: @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ .include diff --git a/print/py-uharfbuzz/Makefile b/print/py-uharfbuzz/Makefile index 827190d51a85..44abfc817626 100644 --- a/print/py-uharfbuzz/Makefile +++ b/print/py-uharfbuzz/Makefile @@ -1,30 +1,28 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= uharfbuzz PORTVERSION= 0.27.0 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Streamlined Cython bindings for the harfbuzz shaping engine LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c++11-lang python:3.6+ zip USE_PYTHON= autoplist concurrent cython distutils post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/setup.py ${WRKSRC}/src/uharfbuzz/_harfbuzz.cpp @${RM} ${WRKSRC}/src/uharfbuzz/_harfbuzz.cpp # Clean up bundled libraries @${RM} -r ${WRKSRC}/harfbuzz/ post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/print/py-vharfbuzz/Makefile b/print/py-vharfbuzz/Makefile index 25061abdf51c..4286f8e54b72 100644 --- a/print/py-vharfbuzz/Makefile +++ b/print/py-vharfbuzz/Makefile @@ -1,22 +1,20 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= vharfbuzz PORTVERSION= 0.1.4 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= User-friendlier way to use Harfbuzz in Python LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=0:print/py-fonttools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uharfbuzz>=0:print/py-uharfbuzz@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/print/py-weasyprint/Makefile b/print/py-weasyprint/Makefile index 35e8f01a4596..74fa136d1ab3 100644 --- a/print/py-weasyprint/Makefile +++ b/print/py-weasyprint/Makefile @@ -1,31 +1,29 @@ -# Created by: D'Arcy Cain - PORTNAME= weasyprint PORTVERSION= 51 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= WeasyPrint-${PORTVERSION} MAINTAINER= darcy@druid.net COMMENT= Converts HTML/CSS documents to PDF LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>=0.1:devel/py-pytest-runner@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>=1.15.4:graphics/py-cairo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cairocffi>=0.9.0:graphics/py-cairocffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cairosvg>=2.4.0:graphics/py-cairosvg@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cffi>=0.6:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cssselect2>=0.1:textproc/py-cssselect2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}html5lib>=0.999999999:www/py-html5lib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyphen>=0.9.1:textproc/py-pyphen@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tinycss2>=1.0.0:textproc/py-tinycss2@${PY_FLAVOR} USES= gnome python:3.6+ USE_PYTHON= distutils autoplist USE_GNOME= gdkpixbuf2 pango NO_ARCH= yes .include diff --git a/print/qpdf/Makefile b/print/qpdf/Makefile index d5494db89b8b..602cd0c9a2d0 100644 --- a/print/qpdf/Makefile +++ b/print/qpdf/Makefile @@ -1,24 +1,22 @@ -# Created by: Dmitry Kazarov - PORTNAME= qpdf DISTVERSION= 10.6.3 CATEGORIES= print MASTER_SITES= SF MAINTAINER= wen@FreeBSD.org COMMENT= Command-line tools for transforming and inspecting PDF documents LICENSE= ART20 APACHE20 LICENSE_COMB= dual LICENSE_FILE_ART20= ${WRKSRC}/Artistic-2.0 LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.txt USES= compiler:c++11-lang cpe gmake jpeg libtool localbase GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static USE_LDCONFIG= yes CPE_VENDOR= qpdf_project OPTIONS_DEFINE= DOCS .include diff --git a/print/qpdfview/Makefile b/print/qpdfview/Makefile index c481c573c473..62025e912932 100644 --- a/print/qpdfview/Makefile +++ b/print/qpdfview/Makefile @@ -1,47 +1,45 @@ -# Created by: Veniamin Gvozdikov - PORTNAME= qpdfview DISTVERSION= 0.4.18 PORTREVISION= 31 CATEGORIES= print MASTER_SITES= https://launchpadlibrarian.net/294276875/ \ https://launchpad.net/${PORTNAME}/trunk/${DISTVERSION}/+download/ MAINTAINER= ports@FreeBSD.org COMMENT= Tabbed DjVu/PDF/PS document viewer LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpoppler-qt5.so:graphics/poppler-qt5 USES= compiler:c++11-lang desktop-file-utils gl pkgconfig qmake qt:5 USE_LDCONFIG= yes USE_QT= buildtools_build concurrent core dbus gui imageformats linguisttools printsupport sql sql-sqlite3 svg widgets xml USE_GL= gl QMAKE_SOURCE_PATH= ${PORTNAME}.pro DATADIR= ${PREFIX}/share/${PORTNAME} OPTIONS_DEFINE= CUPS DJVU PS OPTIONS_DEFAULT= CUPS DJVU PS OPTIONS_SUB= yes CUPS_QMAKE_OFF= "CONFIG+=without_cups" CUPS_LIB_DEPENDS= libcups.so:print/cups DJVU_LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre DJVU_QMAKE_OFF= "CONFIG+=without_djvu" PS_LIB_DEPENDS= libspectre.so:print/libspectre PS_QMAKE_OFF= "CONFIG+=without_ps" .include pre-configure: ${REINPLACE_CMD} -e 's#/usr#${PREFIX}#g;s#${PREFIX}/share/man#${PREFIX}/man#g' \ ${WRKSRC}/${PORTNAME}.pri cd ${WRKSRC} && ${LRELEASE} ${PORTNAME}.pro .include diff --git a/print/rlpr/Makefile b/print/rlpr/Makefile index ffef331ba282..21b297ca620d 100644 --- a/print/rlpr/Makefile +++ b/print/rlpr/Makefile @@ -1,42 +1,40 @@ -# Created by: Mikhail Teterin - PORTNAME= rlpr PORTVERSION= 2.06 PORTREVISION= 2 CATEGORIES= print net MASTER_SITES= http://fossies.org/unix/misc/old/ \ http://linuxfocus.org/~guido/ \ http://truffula.com/rlpr/ MAINTAINER= mi@aldan.algebra.com COMMENT= Send print jobs to lpd servers anywhere on a network LICENSE= GPLv2 USES= cpe GNU_CONFIGURE= yes # rlpr supports gettext/libintl, but does not currently come with ANY # translation .po files. When this changes, it would make sense to # enable the use of gettext in this port: #USES+= gettext #CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib -lintl" CONFIGURE_ARGS= --disable-nls --without-catgets PLIST_FILES= bin/rlpr bin/rlpq bin/rlprm bin/rlprd post-patch: # Replacing references to /etc/rlprrc to ${PREFIX}/etc/rlprrc ${REINPLACE_CMD} -e 's%/etc/rlprrc%${PREFIX}/etc/rlprrc%g' \ ${WRKSRC}/src/rlprrc.h \ `${GREP} -Fl /etc/rlprrc ${WRKSRC}/man/*.[0-9n]` post-install: # Making the installed binaries suid,\ for the remote lpds to talk to them ${CHMOD} 4555 ${STAGEDIR}${PREFIX}/bin/rlpq \ ${STAGEDIR}${PREFIX}/bin/rlpr \ ${STAGEDIR}${PREFIX}/bin/rlprm PLIST_FILES+= man/man1/rlpq.1.gz man/man1/rlpr.1.gz man/man1/rlprm.1.gz \ man/man5/rlprrc.5.gz man/man8/rlprd.8.gz .include diff --git a/print/rtf2latex2e/Makefile b/print/rtf2latex2e/Makefile index c0b9b776af47..5539cf1f6eea 100644 --- a/print/rtf2latex2e/Makefile +++ b/print/rtf2latex2e/Makefile @@ -1,17 +1,15 @@ -# Created by: Martin Dieringer - PORTNAME= rtf2latex2e DISTVERSION= 2-2-2 CATEGORIES= print MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-unix/2-2 MAINTAINER= martin.dieringer@gmx.de COMMENT= Newer filter that converts RTF (MS Rich Text Format) into LaTeX LICENSE= GPLv2 USES= gmake MAKE_ARGS= CC="${CC}" \ mandir=${MAN1PREFIX}/man/ .include diff --git a/print/rubygem-afm/Makefile b/print/rubygem-afm/Makefile index 4e8bb1f49a68..cf54ae2959f3 100644 --- a/print/rubygem-afm/Makefile +++ b/print/rubygem-afm/Makefile @@ -1,18 +1,16 @@ -# Created by: Steve Wills - PORTNAME= afm PORTVERSION= 0.2.2 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Read AFM files and use the data conveniently LICENSE= MIT NO_ARCH= yes USE_RUBY= yes USES= gem .include diff --git a/print/rubygem-pdf-core/Makefile b/print/rubygem-pdf-core/Makefile index 6176ee80aded..f28a47598f6b 100644 --- a/print/rubygem-pdf-core/Makefile +++ b/print/rubygem-pdf-core/Makefile @@ -1,22 +1,20 @@ -# Created by: Michael Moll - PORTNAME= pdf-core PORTVERSION= 0.9.0 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Ruby library to render PDF documents LICENSE= GPLv2 GPLv3 RUBY LICENSE_COMB= dual LICENSE_FILE_GPLv2= ${WRKSRC}/GPLv2 LICENSE_FILE_GPLv3= ${WRKSRC}/GPLv3 LICENSE_FILE_RUBY= ${WRKSRC}/LICENSE USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/print/rubygem-pdf-reader/Makefile b/print/rubygem-pdf-reader/Makefile index 25f0c06ec5a9..5982d7f36dd9 100644 --- a/print/rubygem-pdf-reader/Makefile +++ b/print/rubygem-pdf-reader/Makefile @@ -1,27 +1,25 @@ -# Created by: Steve Wills - PORTNAME= pdf-reader PORTVERSION= 2.10.0 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= PDF parser conforming as much as possible to the PDF specification LICENSE= MIT LICENSE_FILE= ${WRKSRC}/MIT-LICENSE RUN_DEPENDS= rubygem-afm>=0.2.1<0.3:print/rubygem-afm \ rubygem-ascii85>=1.0<2:devel/rubygem-ascii85 \ rubygem-hashery>=2.0<3:devel/rubygem-hashery \ rubygem-ruby-rc4>=0:security/rubygem-ruby-rc4 \ rubygem-ttfunk>=0:print/rubygem-ttfunk USES= gem USE_RUBY= yes NO_ARCH= yes PLIST_FILES= bin/pdf_callbacks bin/pdf_object bin/pdf_text .include diff --git a/print/rubygem-prawn-core/Makefile b/print/rubygem-prawn-core/Makefile index 3e7bb80dfdb9..03aa40f37e68 100644 --- a/print/rubygem-prawn-core/Makefile +++ b/print/rubygem-prawn-core/Makefile @@ -1,19 +1,17 @@ -# Created by: Wen Heping - PORTNAME= prawn-core PORTVERSION= 0.8.4 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Core of Rubygem-prawn LICENSE= GPLv2 RUBY LICENSE_COMB= dual NO_ARCH= yes USE_RUBY= yes USES= gem .include diff --git a/print/rubygem-prawn-format/Makefile b/print/rubygem-prawn-format/Makefile index a1819f1e8fcc..01f20534a325 100644 --- a/print/rubygem-prawn-format/Makefile +++ b/print/rubygem-prawn-format/Makefile @@ -1,21 +1,19 @@ -# Created by: Wen Heping - PORTNAME= prawn-format PORTVERSION= 0.2.3 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Extension of Prawn that allows inline formatting LICENSE= GPLv2 RUBY LICENSE_COMB= dual RUN_DEPENDS= rubygem-prawn-core>=0:print/rubygem-prawn-core NO_ARCH= yes USE_RUBY= yes USES= gem .include diff --git a/print/rubygem-prawn-graph/Makefile b/print/rubygem-prawn-graph/Makefile index f8a7ba255073..9c9e322d9676 100644 --- a/print/rubygem-prawn-graph/Makefile +++ b/print/rubygem-prawn-graph/Makefile @@ -1,21 +1,19 @@ -# Created by: Philip M. Gollucci - PORTNAME= prawn-graph PORTVERSION= 1.0.6 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Draw basic graphs and charts natively in your PDFs LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= rubygem-prawn>=0.11.1:print/rubygem-prawn \ rubygem-prawn_shapes>=1.2:print/rubygem-prawn_shapes NO_ARCH= yes USE_RUBY= yes USES= gem .include diff --git a/print/rubygem-prawn-icon/Makefile b/print/rubygem-prawn-icon/Makefile index 5e08e0b93c00..51d04a73f418 100644 --- a/print/rubygem-prawn-icon/Makefile +++ b/print/rubygem-prawn-icon/Makefile @@ -1,24 +1,22 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= prawn-icon PORTVERSION= 3.0.0 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Provide various icon fonts for the Prawn PDF toolkit LICENSE= GPLv2 GPLv3 RUBY LICENSE_COMB= dual LICENSE_FILE_GPLv2= ${WRKSRC}/GPLv2 LICENSE_FILE_GPLv3= ${WRKSRC}/GPLv3 LICENSE_FILE_RUBY= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-prawn>=1.1.0<3.0.0:print/rubygem-prawn USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/print/rubygem-prawn-layout/Makefile b/print/rubygem-prawn-layout/Makefile index 46462e751e2b..b0be4ab9f84b 100644 --- a/print/rubygem-prawn-layout/Makefile +++ b/print/rubygem-prawn-layout/Makefile @@ -1,19 +1,17 @@ -# Created by: wenheping@gmail.com - PORTNAME= prawn-layout PORTVERSION= 0.8.4 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Prawn Extension to Provides Table Support and Other Layout LICENSE= GPLv2 RUBY LICENSE_COMB= dual NO_ARCH= yes USE_RUBY= yes USES= gem .include diff --git a/print/rubygem-prawn-security/Makefile b/print/rubygem-prawn-security/Makefile index ceec5854e978..b311f573ef2e 100644 --- a/print/rubygem-prawn-security/Makefile +++ b/print/rubygem-prawn-security/Makefile @@ -1,19 +1,17 @@ -# Created by: Wen Heping - PORTNAME= prawn-security PORTVERSION= 0.8.4 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Extension of Prawn LICENSE= GPLv2 RUBY LICENSE_COMB= dual NO_ARCH= yes USE_RUBY= yes USES= gem .include diff --git a/print/rubygem-prawn-table/Makefile b/print/rubygem-prawn-table/Makefile index 719a42eb4d5b..08e3a4ffbb5d 100644 --- a/print/rubygem-prawn-table/Makefile +++ b/print/rubygem-prawn-table/Makefile @@ -1,24 +1,22 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= prawn-table PORTVERSION= 0.2.2 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Provide tables for the Prawn PDF toolkit LICENSE= GPLv2 GPLv3 RUBY LICENSE_COMB= dual LICENSE_FILE_GPLv2= ${WRKSRC}/GPLv2 LICENSE_FILE_GPLv3= ${WRKSRC}/GPLv3 LICENSE_FILE_RUBY= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-prawn>=1.3.0<3.0.0:print/rubygem-prawn USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/print/rubygem-prawn-templates/Makefile b/print/rubygem-prawn-templates/Makefile index e69419b712f6..50f7b3883fc1 100644 --- a/print/rubygem-prawn-templates/Makefile +++ b/print/rubygem-prawn-templates/Makefile @@ -1,24 +1,22 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= prawn-templates PORTVERSION= 0.1.2 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Include other pdfs or combine several pdf documents into one LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual LICENSE_FILE_GPLv2= ${WRKSRC}/GPLv2 LICENSE_FILE_GPLv3= ${WRKSRC}/GPLv3 RUN_DEPENDS= rubygem-pdf-reader>=2.0<3:print/rubygem-pdf-reader \ rubygem-prawn>=2.2<3:print/rubygem-prawn USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/print/rubygem-prawn/Makefile b/print/rubygem-prawn/Makefile index 4eab5a006566..3086e689c9c0 100644 --- a/print/rubygem-prawn/Makefile +++ b/print/rubygem-prawn/Makefile @@ -1,25 +1,23 @@ -# Created by: wenheping@gmail.com - PORTNAME= prawn PORTVERSION= 2.4.0 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fast, tiny, and nimble PDF generator for Ruby LICENSE= RUBY GPLv2 GPLv3 LICENSE_COMB= dual LICENSE_FILE_GPLv2= ${WRKSRC}/GPLv2 LICENSE_FILE_GPLv3= ${WRKSRC}/GPLv3 LICENSE_FILE_RUBY= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-pdf-core>=0.9.0<0.10:print/rubygem-pdf-core \ rubygem-ttfunk>=1.7<2:print/rubygem-ttfunk USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/print/rubygem-prawn_shapes/Makefile b/print/rubygem-prawn_shapes/Makefile index 24ce19c98d21..58bc1a03d144 100644 --- a/print/rubygem-prawn_shapes/Makefile +++ b/print/rubygem-prawn_shapes/Makefile @@ -1,19 +1,17 @@ -# Created by: Sunpoet Po-Chuan Hsieh - PORTNAME= prawn_shapes PORTVERSION= 1.2.1 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Adds additional vector shapes to Prawn LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/print/rubygem-rbpdf-font/Makefile b/print/rubygem-rbpdf-font/Makefile index 249dd98ce7b7..aa0baf564be9 100644 --- a/print/rubygem-rbpdf-font/Makefile +++ b/print/rubygem-rbpdf-font/Makefile @@ -1,19 +1,17 @@ -# Created by: Sunpoet Po-Chuan Hsieh - PORTNAME= rbpdf-font PORTVERSION= 1.19.1 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= RBPDF font files LICENSE= MIT LICENSE_FILE= ${WRKSRC}/MIT-LICENSE USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/print/rubygem-rbpdf/Makefile b/print/rubygem-rbpdf/Makefile index 6d20d3aab8ee..388304e4748c 100644 --- a/print/rubygem-rbpdf/Makefile +++ b/print/rubygem-rbpdf/Makefile @@ -1,22 +1,20 @@ -# Created by: Michael Moll - PORTNAME= rbpdf PORTVERSION= 1.20.1 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Ruby library for creating ERB enabled PDF templates LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE.TXT RUN_DEPENDS= rubygem-htmlentities>=0:textproc/rubygem-htmlentities \ rubygem-rbpdf-font>=1.19.0<1.20:print/rubygem-rbpdf-font USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/print/rubygem-ttfunk/Makefile b/print/rubygem-ttfunk/Makefile index b6536f8a5812..4e796f8f24a7 100644 --- a/print/rubygem-ttfunk/Makefile +++ b/print/rubygem-ttfunk/Makefile @@ -1,22 +1,20 @@ -# Created by: Steve Wills - PORTNAME= ttfunk PORTVERSION= 1.7.0 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Font Metrics Parser for the Prawn PDF generator LICENSE= RUBY GPLv2 GPLv3 LICENSE_COMB= dual LICENSE_FILE_GPLv2= ${WRKSRC}/GPLv2 LICENSE_FILE_GPLv3= ${WRKSRC}/GPLv3 LICENSE_FILE_RUBY= ${WRKSRC}/LICENSE USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/print/sgf2tex/Makefile b/print/sgf2tex/Makefile index c575baa6086a..584d0c1fb449 100644 --- a/print/sgf2tex/Makefile +++ b/print/sgf2tex/Makefile @@ -1,24 +1,22 @@ -# Created by: spcoltri@unm.edu - PORTNAME= sgf2tex PORTVERSION= 3.3 PORTREVISION= 6 CATEGORIES= print MASTER_SITES= http://sporadic.stanford.edu/bump/ MAINTAINER= spcoltri@omcl.org COMMENT= Convert a Go game record in SGF format into TeX and provide fonts to make a dvi USES= shebangfix SHEBANG_FILES= sgf2tex USE_TEX= tex PLIST_SUB= MKTEXLSR=${MKTEXLSR} MAKE_ENV= TEX_BIN=${TEX_BIN} TEX_BIN= ${LOCALBASE}/bin/etex MKTEXLSR= ${LOCALBASE}/bin/mktexlsr post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sgfsplit .include diff --git a/print/simple-fb2-reader/Makefile b/print/simple-fb2-reader/Makefile index 79c5fa8acfbf..f9df4a37250b 100644 --- a/print/simple-fb2-reader/Makefile +++ b/print/simple-fb2-reader/Makefile @@ -1,21 +1,19 @@ -# Created by: Alexey Dokuchaev - PORTNAME= simple-fb2-reader PORTVERSION= 1.1.3 PORTREVISION= 2 CATEGORIES= print MAINTAINER= danfe@FreeBSD.org COMMENT= Simple FB2 format book reader LICENSE= GPLv3+ LIB_DEPENDS= libzip.so:archivers/libzip USES= cmake desktop-file-utils gettext-runtime gnome pkgconfig \ shared-mime-info sqlite USE_GITHUB= yes GH_ACCOUNT= Cactus64k USE_GNOME= cairo gdkpixbuf2 gtk30 libxml2 .include diff --git a/print/system-config-printer/Makefile b/print/system-config-printer/Makefile index cf264028fe0e..7348a36490a9 100644 --- a/print/system-config-printer/Makefile +++ b/print/system-config-printer/Makefile @@ -1,56 +1,54 @@ -# Created by: Michael Johnson - PORTNAME= system-config-printer PORTVERSION= 1.5.12 PORTREVISION= 2 CATEGORIES= print gnome MAINTAINER= gnome@FreeBSD.org COMMENT= CUPS configuration Gtk+2.0 GUI BUILD_DEPENDS= xmlto:textproc/xmlto \ docbook-xml>0:textproc/docbook-xml LIB_DEPENDS= libcups.so:print/cups RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycups>=0:print/py-pycups@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycurl>=0:ftp/py-pycurl@${PY_FLAVOR} \ ${LOCALBASE}/libexec/cups-pk-helper-mechanism:print/cups-pk-helper # 1.5 series is python3 ignore them for now. PORTSCOUT= limitw:1,even GNU_CONFIGURE= yes USES= autoreconf desktop-file-utils gettext gmake gnome pathfix \ pkgconfig python:3.5+ shebangfix tar:xz USE_GITHUB= yes GH_ACCOUNT= OpenPrinting CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_GNOME= intlhack pygobject3 CONFIGURE_ARGS= --without-udev-rules \ --without-systemdsystemunitdir NO_ARCH= yes PLIST_SUB= PYTHON_VER=${PYTHON_VERSION:S/python//} SHEBANG_FILES= *.py troubleshoot/*.py xml/validate.py PYDISTUTILS_PKGNAME= cupshelpers PYDISTUTILS_PKGVERSION= 1.0 post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g; \ s|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/applet.py ${WRKSRC}/check-device-ids.py \ ${WRKSRC}/cupshelpers/cupshelpers.py \ ${WRKSRC}/cupshelpers/xmldriverprefs.py \ ${WRKSRC}/dbus/org.fedoraproject.Config.Printing.service.in \ ${WRKSRC}/newprinter.py ${WRKSRC}/probe_printer.py @${REINPLACE_CMD} -e 's|setup.py install.*|setup.py install -c -O1 --prefix=${PREFIX} --root=${STAGEDIR}|g' \ ${WRKSRC}/Makefile.am .include diff --git a/print/t1utils/Makefile b/print/t1utils/Makefile index 8012c09588f7..33a3df3cc5ef 100644 --- a/print/t1utils/Makefile +++ b/print/t1utils/Makefile @@ -1,15 +1,13 @@ -# Created by: Mike Meyer - PORTNAME= t1utils PORTVERSION= 1.32 CATEGORIES= print MASTER_SITES= http://www.lcdf.org/type/ MAINTAINER= mwm@mired.org COMMENT= Six utilities for manipulating t1 fonts USES= cpe CPE_VENDOR= ${PORTNAME}_project GNU_CONFIGURE= yes .include diff --git a/print/tex-dvipdfmx/Makefile b/print/tex-dvipdfmx/Makefile index 532abf0bf05c..c58ba8cb5af8 100644 --- a/print/tex-dvipdfmx/Makefile +++ b/print/tex-dvipdfmx/Makefile @@ -1,67 +1,65 @@ -# Created by: Shen Chuan-Hsing - PORTNAME= dvipdfmx PORTVERSION= ${TEXLIVE_VERSION} CATEGORIES= print MASTER_SITES= TEX_CTAN/systems/texlive/${TEXLIVE_YEAR}/ PKGNAMEPREFIX= tex- DISTNAME= texlive-${TEXLIVE_VERSION}-source DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${DISTNAME_TEXMF}${EXTRACT_SUFX} DIST_SUBDIR= TeX EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= tex@FreeBSD.org COMMENT= DVI Previewer(kpathsearch) for X LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png \ libpaper.so:print/libpaper RUN_DEPENDS= ${LOCALBASE}/share/fonts/adobe-cmaps/ai0/CMap/Identity-H:print/adobe-cmaps USES= localbase:ldflags pkgconfig tar:xz USE_TEX= kpathsea web2c texmf dvipsk luatex texhash TEXHASHDIRS= ${TEXMFDISTDIR} ${TEXMFDIR} EXTRACT_AFTER_ARGS= ${EXTRACT_FILES:S,^,${DISTNAME}/,} EXTRACT_FILES= am \ m4 \ build-aux \ texk/dvipdfm-x EXTRACT_AFTER_ARGS_TEXMF= \ | ${TAR} -xf - -C ${STAGEDIR}${PREFIX}/share \ --strip-components 1 --no-same-permission --no-same-owner \ ${EXCLUDE_FILES_TEXMF:S,^,--exclude ${DISTNAME_TEXMF}/,} \ ${EXTRACT_FILES_TEXMF:S,^,${DISTNAME_TEXMF}/,} DISTNAME_TEXMF= texlive-${TEXLIVE_VERSION}-texmf EXCLUDE_FILES_TEXMF= \ texmf-dist/fonts/map/dvipdfmx/jfontmaps \ texmf-dist/fonts/map/dvipdfmx/japanese-otf \ texmf-dist/fonts/map/dvipdfmx/ptex \ texmf-dist/fonts/map/dvipdfmx/updmap/kanjix.map EXTRACT_FILES_TEXMF= \ texmf-dist/doc/dvipdfmx/ \ texmf-dist/dvipdfmx/ \ texmf-dist/fonts/cmap/dvipdfmx/ \ texmf-dist/fonts/map/dvipdfmx/ \ texmf-dist/fonts/map/dvipdfm/ WRKSRC= ${WRKDIR}/${DISTNAME}/texk/dvipdfm-x GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-system-kpathsea \ --with-kpathsea-includes=${LOCALBASE}/include \ --with-kpathsea-libdir=${LOCALBASE}/lib \ --with-system-libpaper \ --with-libpaper-includes=${LOCALBASE}/include \ --with-libpaper-libdir=${LOCALBASE}/lib \ --with-system-libpng \ --with-system-zlib pre-install: ${CAT} ${DISTDIR}/${DIST_SUBDIR}/texlive-${TEXLIVE_VERSION}-texmf${EXTRACT_SUFX} \ ${EXTRACT_AFTER_ARGS_TEXMF} post-install: ${LN} -f -s ${LOCALBASE}/share/fonts/adobe-cmaps \ ${STAGEDIR}${PREFIX}/${TEXMFDISTDIR}/fonts/cmap/adobe-cmaps .include diff --git a/print/tex-xdvik/Makefile b/print/tex-xdvik/Makefile index 307accdb3aa5..1b9fd1659794 100644 --- a/print/tex-xdvik/Makefile +++ b/print/tex-xdvik/Makefile @@ -1,63 +1,61 @@ -# Created by: Kentaro Inagaki - PORTNAME= xdvik PORTVERSION= 22.87.06 CATEGORIES= print MASTER_SITES= SF/xdvi/${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= tex- DIST_SUBDIR= TeX MAINTAINER= tex@FreeBSD.org COMMENT= DVI Previewer(kpathsearch) for X LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libpaper.so:print/libpaper RUN_DEPENDS= tex-dvipsk>=5.995:print/tex-dvipsk USES= iconv motif pkgconfig xorg USE_TEX= kpathsea texhash texmf web2c USE_XORG= ice sm x11 xext xi xmu xpm xt GNU_CONFIGURE= yes CONFIGURE_ARGS= --datarootdir=${LOCALBASE}/share \ --enable-shared \ --enable-xi2-scrolling \ --with-default-dvips-path=${LOCALBASE}/bin/dvips \ --with-default-gs-lib-path=${LOCALBASE}/lib \ --with-default-ps2pdf-path=${LOCALBASE}/bin/ps2pdf \ --with-iconv \ --with-kpathsea-includes=${LOCALBASE}/include/kpathsea \ --with-kpathsea-libdir=${LOCALBASE}/lib \ --with-system-freetype2 \ --with-system-kpathsea \ --with-system-libgs \ --with-system-zlib \ --with-xdvi-x-toolkit=motif \ --with-xpm CONFIGURE_ENV= INSTALL_DATA="${INSTALL_DATA}" \ INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" CFLAGS+= -I${LOCALBASE}/include -DHAVE_LIBPAPER -g -O0 CONFLICTS_INSTALL= *-xdvi ja-xdvik xdvi xdvi-* xdvik BINARY_ALIAS= freetype-config=true PATCH_WRKSRC= ${WRKDIR}/${DISTNAME} WRKSRC= ${WRKDIR}/${DISTNAME}/texk/xdvik PLIST_SUB= TEXMFDISTDIR=${TEXMFDISTDIR} PORTDOCS= BUGS CHANGES ChangeLog INSTALL README* TODO OPTIONS_DEFINE= DOCS TEXHASHDIRS= ${TEXMFDISTDIR} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKDIR}/${DISTNAME} && \ ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/print/texinfo/Makefile b/print/texinfo/Makefile index 25b9b19435e6..72245fcf6391 100644 --- a/print/texinfo/Makefile +++ b/print/texinfo/Makefile @@ -1,68 +1,66 @@ -# Created by: Mario Sergio Fujikawa Ferreira - PORTNAME= texinfo PORTVERSION= 6.8 PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= print MASTER_SITES= GNU \ LOCAL/sunpoet/texinfo:DEFAULT,local DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ htmlxref.cnf-${HTMLXREF_CNF_RELDATE}:local \ texi2dvi-${TEXI2DVI_RELDATE}:local \ texinfo.tex-${TEXINFO_TEX_RELDATE}:local DIST_SUBDIR= texinfo EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Typeset documentation system with multiple format output LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= help2man:misc/help2man \ ${RUN_DEPENDS} RUN_DEPENDS= p5-Locale-libintl>=0:devel/p5-Locale-libintl \ p5-Text-Unidecode>=0:converters/p5-Text-Unidecode \ p5-Unicode-EastAsianWidth>=0:textproc/p5-Unicode-EastAsianWidth OPTIONS_DEFINE= NLS OPTIONS_SUB= yes USES= charsetfix cpe gmake iconv:wchar_t libtool ncurses perl5 tar:xz CONFIGURE_ARGS= --with-external-libintl-perl \ --with-external-Text-Unidecode \ --with-external-Unicode-EastAsianWidth CONFIGURE_ENV= PERL_EXT_CC="${CC}" GNU_CONFIGURE= yes INSTALL_TARGET= install-strip install-tex MAKE_ARGS= PERL=${PERL} TEXMF=${LOCALBASE}/${TEXMFDIR} PKGDEINSTALL= ${PKGINSTALL} USE_TEX= yes INFO= info-stnd texinfo # Use the date on https://ftp.gnu.org/gnu/texinfo/ HTMLXREF_CNF_RELDATE= 20220110 TEXI2DVI_RELDATE= 20220408 TEXINFO_TEX_RELDATE= 20220409 CPE_VENDOR= gnu CPE_VERSION= ${PORTVERSION:R} NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext post-patch: @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/texinfo.tex-${TEXINFO_TEX_RELDATE} ${WRKSRC}/doc/texinfo.tex @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/htmlxref.cnf-${HTMLXREF_CNF_RELDATE} ${WRKSRC}/util/htmlxref.cnf @${INSTALL_SCRIPT} ${DISTDIR}/${DIST_SUBDIR}/texi2dvi-${TEXI2DVI_RELDATE} ${WRKSRC}/util/texi2dvi @${REINPLACE_CMD} -e '/rm -f $$(DESTDIR)/ s|$$| $$(DESTDIR)$$(xsdir)/XSParagraph.*|' ${WRKSRC}/tp/Texinfo/XS/Makefile.in @${REINPLACE_CMD} -e 's|free (.*)|Safe&|' ${WRKSRC}/tp/Texinfo/XS/misc.c @${REINPLACE_CMD} -e 's/tinfo/tinfow/g' ${WRKSRC}/configure post-install: ${INSTALL_DATA} ${WRKSRC}/util/htmlxref.cnf ${STAGEDIR}${DATADIR} .include diff --git a/print/tgif2tex/Makefile b/print/tgif2tex/Makefile index 49eb43dcea53..5195b1d0a4ef 100644 --- a/print/tgif2tex/Makefile +++ b/print/tgif2tex/Makefile @@ -1,38 +1,36 @@ -# Created by: Satoshi TAOKA - PORTNAME= tgif2tex PORTVERSION= 2.13 PORTREVISION= 4 CATEGORIES+= print MASTER_SITES= http://www.cs.hiroshima-u.ac.jp/~nakano/tgif2tex/ MAINTAINER= hrs@FreeBSD.org COMMENT= Converting texts in figure by tgif to LaTeX commands LICENSE= GPLv2 USES= perl5 shebangfix USE_PERL5= run SHEBANG_FILES= tgif2tex NO_BUILD= yes PLIST_FILES= bin/tgif2tex PORTDOCS= how-to-use.dvi how-to-use.ps how-to-use.tex \ example.obj example.tex \ original.dps original.tps \ pythagoras.dps pythagoras.tps \ sample1.obj sample1.ps \ sample2.1.dps sample2.1.tps \ sample2.2.dps sample2.2.tps \ sample2.3.dps sample2.3.tps \ sample2.dvi sample2.tex sample2.obj sample2.ps OPTIONS_DEFINE= DOCS post-patch: ${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/tgif2tex do-install: ${INSTALL_SCRIPT} ${WRKSRC}/tgif2tex ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/print/transfig/Makefile b/print/transfig/Makefile index 2e4b02123b5e..1cfec122df73 100644 --- a/print/transfig/Makefile +++ b/print/transfig/Makefile @@ -1,39 +1,37 @@ -# Created by: chuckr@FreeBSD.org - PORTNAME= transfig PORTVERSION= 3.2.5e PORTREVISION= 4 CATEGORIES= print MASTER_SITES= SF/mcj/mcj-source/ DISTNAME= ${PORTNAME}.${PORTVERSION} MAINTAINER= pi@FreeBSD.org COMMENT= Tools to convert Xfig .fig files RUN_DEPENDS= ppmtogif:graphics/netpbm LIB_DEPENDS= libpng.so:graphics/png USES= alias ghostscript:run imake xorg CFLAGS+= -Wno-return-type USE_XORG= xpm CONFLICTS_INSTALL= fig2dev # bin/fig2dev bin/fig2ps2tex MAKE_ARGS+= INSTALLFLAGS="${COPY}" \ INSTPGMFLAGS="${STRIP}" \ INSTBINFLAGS="-m ${BINMODE}" \ INSTDATFLAGS="-m ${SHAREMODE}" \ INSTMANFLAGS="-m ${MANMODE}" post-install: for i in hr_HR hu_HU pl_PL ro_RO; do \ ${LN} -sf cs_CZ.ps ${STAGEDIR}${PREFIX}/lib/X11/fig2dev/$${i}.ps; \ done for i in ja ja_JP.EUC ja_JP.eucJP ja_JP ja_JP.ujis ; do \ ${LN} -sf japanese.ps ${STAGEDIR}${PREFIX}/lib/X11/fig2dev/$${i}.ps; \ done for i in ko ko_KR.EUC ko_KR.eucKR ko_KR ko_KR.ujis; do \ ${LN} -sf korean.ps ${STAGEDIR}${PREFIX}/lib/X11/fig2dev/$${i}.ps; \ done .include diff --git a/print/trueprint/Makefile b/print/trueprint/Makefile index a7e86617117a..25c1d74f353a 100644 --- a/print/trueprint/Makefile +++ b/print/trueprint/Makefile @@ -1,20 +1,18 @@ -# Created by: Dmitry Sivachenko - PORTNAME= trueprint PORTVERSION= 5.4 PORTREVISION= 2 CATEGORIES= print MASTER_SITES= GNU MAINTAINER= portmaster@BSDforge.com COMMENT= Print program listings on postscript printer USES= gettext gmake GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib -lintl INFO= trueprint PLIST_FILES= bin/trueprint man/man1/trueprint.1.gz .include diff --git a/print/ttf2pt1/Makefile b/print/ttf2pt1/Makefile index a08aea04ea1d..60ffea94e935 100644 --- a/print/ttf2pt1/Makefile +++ b/print/ttf2pt1/Makefile @@ -1,47 +1,45 @@ -# Created by: ijliao - PORTNAME= ttf2pt1 PORTVERSION= 3.4.4 PORTREVISION= 7 CATEGORIES= print MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= True Type Font to Postscript Type 1 Converter LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT LIB_DEPENDS= libfreetype.so:print/freetype2 RUN_DEPENDS= t1asm:print/t1utils USES= pkgconfig shebangfix perl5 uidfix tar:tgz MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} ${CPPFLAGS}" LIBS="${LIBS}" \ INSTDIR="${STAGEDIR}${PREFIX}" LIBXDIR="${STAGEDIR}${PREFIX}/bin" \ OWNER=${BINOWN} GROUP=${BINGRP} SHEBANG_FILES= app/TeX/sfd2map \ app/TeX/cjk-latex-config \ other/showdf \ other/showg \ other/*.pl \ scripts/forceiso \ scripts/frommap \ scripts/inst_dir \ scripts/html2man \ scripts/t1fdir \ scripts/trans CPPFLAGS+= `pkg-config --cflags freetype2` \ -I${LOCALBASE}/include -DUSE_FREETYPE LIBS+= `pkg-config --libs freetype2` \ -L${LOCALBASE}/lib -lm post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ttf2pt1 @${SED} -i '' 's,${STAGEDIR},,' ${STAGEDIR}${PREFIX}/bin/ttf2pt1_convert \ ${STAGEDIR}${PREFIX}/man/man1/ttf2pt1_x2gs.1 \ ${STAGEDIR}${PREFIX}/man/man1/ttf2pt1.1 \ ${STAGEDIR}${PREFIX}/man/man1/ttf2pt1_convert.1 \ ${STAGEDIR}${DATADIR}/scripts/convert .include diff --git a/print/ttfautohint/Makefile b/print/ttfautohint/Makefile index ef4a5f677c32..9f73b02878ae 100644 --- a/print/ttfautohint/Makefile +++ b/print/ttfautohint/Makefile @@ -1,30 +1,28 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= ttfautohint PORTVERSION= 1.8.4 CATEGORIES= print MASTER_SITES= SAVANNAH/freetype \ SF/freetype/ttfautohint/${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Automatic font hinting library LICENSE= FTL GPLv2+ LICENSE_COMB= dual LICENSE_NAME_FTL= The FreeType Project license LICENSE_FILE_FTL= ${WRKSRC}/FTL.TXT LICENSE_FILE_GPLv2+ = ${WRKSRC}/GPLv2.TXT LICENSE_PERMS_FTL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= freetype2>=2.4.5:print/freetype2 \ harfbuzz>=1.3.0:print/harfbuzz LIB_DEPENDS= libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz USES= compiler:c++11-lang gmake libtool pkgconfig CONFIGURE_ARGS= --with-doc=no --with-qt=no GNU_CONFIGURE= yes INSTALL_TARGET= install-strip .include diff --git a/print/txtbdf2ps/Makefile b/print/txtbdf2ps/Makefile index 1d8b8e2bdadc..48f44b7a0891 100644 --- a/print/txtbdf2ps/Makefile +++ b/print/txtbdf2ps/Makefile @@ -1,27 +1,25 @@ -# Created by: ijliao - PORTNAME= txtbdf2ps PORTVERSION= 0.7.1 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= https://aklv.github.io/distfiles/ \ http://oldrus-ispell.sourceforge.net/ EXTRACT_SUFX= .txt MAINTAINER= ak@FreeBSD.org COMMENT= Translator TXT + BDF to PS PLIST_FILES= bin/txtbdf2ps USES= perl5 shebangfix EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= EXTRACT_AFTER_ARGS= ${WRKSRC} SHEBANG_FILES= ${DISTNAME}.txt NO_WRKSUBDIR= yes NO_ARCH= yes NO_BUILD= yes do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}.txt ${STAGEDIR}${PREFIX}/bin/txtbdf2ps .include diff --git a/print/typetools/Makefile b/print/typetools/Makefile index fcca8d264030..02ddbf572546 100644 --- a/print/typetools/Makefile +++ b/print/typetools/Makefile @@ -1,23 +1,21 @@ -# Created by: ijliao - PORTNAME= typetools PORTVERSION= 2.108 CATEGORIES= print MASTER_SITES= http://www.lcdf.org/type/ DISTNAME= lcdf-${PORTNAME}-${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= Tools for manipulating fonts LICENSE= GPLv2 USE_TEX= kpathsea GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-kpathsea=${LOCALBASE} DATADIR= ${PREFIX}/share/lcdf-${PORTNAME} CONFLICTS_INSTALL= texlive-base .include diff --git a/print/utopia/Makefile b/print/utopia/Makefile index 79cf3f4b82f8..1d702df7a0d2 100644 --- a/print/utopia/Makefile +++ b/print/utopia/Makefile @@ -1,19 +1,17 @@ -# Created by: James Bailie - PORTNAME= utopia PORTVERSION= 1.1 CATEGORIES= print MASTER_SITES= https://BSDforge.com/projects/source/print/utopia/ MAINTAINER= portmaster@BSDforge.com COMMENT= Adobe Utopia typeface for Groff MAKE_ARGS= DEST=${STAGEDIR}${DATADIR}/devps \ INSTALL_DATA="${INSTALL_DATA}" \ INSTALL_MAN="${INSTALL_MAN}" \ PREFIX=${PREFIX} PLIST_FILES= man/man7/utopia_font.7.gz PORTDATA= * .include diff --git a/print/xmbibtex/Makefile b/print/xmbibtex/Makefile index 022f122d542c..d6e71baafa5a 100644 --- a/print/xmbibtex/Makefile +++ b/print/xmbibtex/Makefile @@ -1,19 +1,17 @@ -# Created by: Thomas Gellekum - PORTNAME= xmbibtex PORTVERSION= 1.7 PORTREVISION= 4 CATEGORIES= print databases MASTER_SITES= SUNSITE/apps/tex MAINTAINER= ports@FreeBSD.org COMMENT= Reference manager based on the BibTeX file format WRKSRC_SUBDIR= src USES= imake:noman motif xorg USE_XORG= ice sm x11 xext xmu xt xpm PLIST_FILES= bin/xmbibtex lib/X11/app-defaults/XmBibTeX .include diff --git a/print/xreader/Makefile b/print/xreader/Makefile index c8d1c141f9dd..b171ca7c4eea 100644 --- a/print/xreader/Makefile +++ b/print/xreader/Makefile @@ -1,83 +1,81 @@ -# Created by: Alexey Dokuchaev - PORTNAME= xreader PORTVERSION= 3.2.2 PORTREVISION= 8 CATEGORIES= print gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Multi-format document reader LICENSE= GPLv2+ PORTSCOUT= limit:^[0-9.]+$$ # ignore non-numeric tags BUILD_DEPENDS= intltool-merge:textproc/intltool \ itstool:textproc/itstool LIB_DEPENDS= libxapp.so:x11/xapp USES= desktop-file-utils gettext-tools gnome meson pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= linuxmint USE_LDCONFIG= yes USE_GNOME= cairo gdkpixbuf2 gtk30 libxml2 USE_XORG= ice sm x11 GLIB_SCHEMAS= org.x.reader.gschema.xml MATHJAX_DIR= ${LOCALBASE}/www/MathJax OPTIONS_DEFINE= DBUS DJVU DVI EPUB HELP KEYRING PDF PS T1LIB TIFF XPS OPTIONS_DEFAULT= DBUS DJVU HELP KEYRING PDF TIFF XPS OPTIONS_SUB= yes DVI_DESC= DVI format support EPUB_DESC= EPUB e-book format support HELP_DESC= Install help files KEYRING_DESC= Password-protected document support T1LIB_DESC= Type1 font support in DVI backend XPS_DESC= XPS document support DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_MESON_OFF= -Denable_dbus=false DJVU_LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre DJVU_MESON_ON= -Ddjvu=true DVI_LIB_DEPENDS= libspectre.so:print/libspectre DVI_USE= tex=kpathsea DVI_MESON_ON= -Ddvi=true EPUB_BUILD_DEPENDS= ${MATHJAX_DIR}/MathJax.js:www/mathjax EPUB_LIB_DEPENDS= libwebkit2gtk-4.0.so:www/webkit2-gtk3 EPUB_RUN_DEPENDS= ${EPUB_BUILD_DEPENDS} EPUB_MESON_ON= -Dmathjax-directory=${MATHJAX_DIR} EPUB_MESON_OFF= -Depub=false HELP_RUN_DEPENDS= yelp:x11/yelp HELP_MESON_ON= -Dhelp_files=true KEYRING_LIB_DEPENDS= libsecret-1.so:security/libsecret KEYRING_MESON_OFF= -Dkeyring=false PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib PDF_MESON_OFF= -Dpdf=false PS_LIB_DEPENDS= libspectre.so:print/libspectre PS_MESON_OFF= -Dps=false T1LIB_LIB_DEPENDS= libt1.so:devel/t1lib T1LIB_MESON_ON= -Dt1lib=true T1LIB_IMPLIES= DVI TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MESON_OFF= -Dtiff=false XPS_LIB_DEPENDS= libgxps.so:graphics/libgxps XPS_MESON_OFF= -Dxps=false post-patch: @${REINPLACE_CMD} -e '/gdk\/gdkwayland\.h/d' \ ${WRKSRC}/libdocument/ev-document-misc.h .include diff --git a/print/xtexsh/Makefile b/print/xtexsh/Makefile index 5959c44d4478..eb0f29e5e6e1 100644 --- a/print/xtexsh/Makefile +++ b/print/xtexsh/Makefile @@ -1,49 +1,47 @@ -# Created by: Jean-Sebastien Roy - PORTNAME= xtexsh DISTVERSION= 1.4-2 PORTREVISION= 6 CATEGORIES= print MASTER_SITES= http://www.mat.univie.ac.at/~gerald/ftp/xtexsh/ MAINTAINER= ports@FreeBSD.org COMMENT= Tcl/Tk-based simple TeX interface LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE USES= desktop-file-utils gnome shebangfix tk USE_TEX= latex SHEBANG_FILES= xtexsh WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} NO_BUILD= yes NO_ARCH= yes PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|"/etc|"${PREFIX}/etc|; \ s|exec bash|exec sh|' ${WRKSRC}/xtexsh do-install: ${INSTALL_SCRIPT} ${WRKSRC}/xtexsh ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/xtexsh.1.gz ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/xtexshrc ${STAGEDIR}${PREFIX}/etc ${INSTALL_DATA} ${WRKSRC}/xtexsh.desktop ${STAGEDIR}${PREFIX}/share/applications @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/locolor/16x16/apps ${INSTALL_DATA} ${WRKSRC}/xtexsh-mini.png \ ${STAGEDIR}${PREFIX}/share/icons/locolor/16x16/apps/xtexsh.png @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/locolor/32x32/apps ${INSTALL_DATA} ${WRKSRC}/xtexsh.png \ ${STAGEDIR}${PREFIX}/share/icons/locolor/32x32/apps/xtexsh.png ${INSTALL_DATA} ${WRKSRC}/xtexsh.png ${STAGEDIR}${PREFIX}/share/pixmaps do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/index.html ${STAGEDIR}${DOCSDIR} .include diff --git a/print/yatex/Makefile b/print/yatex/Makefile index ac256d003013..38d3b1784841 100644 --- a/print/yatex/Makefile +++ b/print/yatex/Makefile @@ -1,61 +1,59 @@ -# Created by: Satoshi Taoka - PORTNAME= yatex PORTVERSION= 1.82 PORTREVISION= 4 CATEGORIES?= print elisp MASTER_SITES= http://www.yatex.org/ PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= Yet Another LaTeX mode and html mode on Emacs LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKDIR}/LICENSE USES= dos2unix emacs EMACS_NO_DEPENDS= yes NO_BUILD= yes SUB_FILES= pkg-message yatex-startup.el SUB_LIST= EMACS_SITE_LISPDIR="${EMACS_SITE_LISPDIR}" OPTIONS_DEFINE= DOCS PORTDOCS= 00readme readme.meadow.j yatex.new yatexj.tex yatex.ref \ yahtmlj.tex htmlqa yatexadd.doc yatexgen.doc qanda \ yatexe.tex htmlqa.eng yahtmle.tex yatexref.eng qanda.eng INFO= yahtmle yahtmlj yatexe yatexj ELFILES=yahtml.el yatex.el yatex19.el yatex23.el yatexadd.el \ yatexenv.el yatexflt.el yatexgen.el yatexhie.el yatexhks.el \ yatexhlp.el yatexlib.el yatexm-o.el yatexmth.el yatexpkg.el \ yatexprc.el yatexsec.el post-extract: ${INSTALL_DATA} ${WRKSRC}/docs/* ${WRKSRC} ${SED} -n "/(c)1991/,/^;;; Code:$$/p" \ < ${WRKSRC}/yatex.el > ${WRKDIR}/LICENSE do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/yatex cd ${WRKSRC} && ${INSTALL_DATA} \ ${ELFILES} \ ${WRKDIR}/yatex-startup.el \ ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/yatex @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/yatex/help cd ${WRKSRC}/help && ${INSTALL_DATA} \ YATEXHLP.jp YATEXHLP.eng \ ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/yatex/help for F in ${INFO}; do \ ${INSTALL_DATA} ${WRKSRC}/docs/$$F \ ${STAGEDIR}${PREFIX}/${INFO_PATH}/$${F}.info; \ done post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include