diff --git a/print/a2pdf/Makefile b/print/a2pdf/Makefile index ca883e0c8cc1..85c0ff5d2895 100644 --- a/print/a2pdf/Makefile +++ b/print/a2pdf/Makefile @@ -1,25 +1,26 @@ # Created by: Andrew Pantyukhin # $FreeBSD$ PORTNAME= a2pdf PORTVERSION= 1.13 CATEGORIES= print perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:JONALLEN MAINTAINER= ports@FreeBSD.org COMMENT= Text to PDF converter LICENSE= ART20 BUILD_DEPENDS= p5-PDF-API2>=0:${PORTSDIR}/textproc/p5-PDF-API2 \ perltidy>=0:${PORTSDIR}/devel/perltidy \ p5-Image-Size>=0:${PORTSDIR}/graphics/p5-Image-Size \ p5-File-Type>=0:${PORTSDIR}/devel/p5-File-Type RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure MAN1= ${PORTNAME}.1 +NO_STAGE= yes .include diff --git a/print/a2ps/Makefile b/print/a2ps/Makefile index 69f2f74808b6..681f7813a0b3 100644 --- a/print/a2ps/Makefile +++ b/print/a2ps/Makefile @@ -1,101 +1,102 @@ -# Created by: Chuck Robey +# Created by: Chuck Robey # $FreeBSD$ PORTNAME= a2ps PORTVERSION= 4.13b PORTREVISION= 5 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_GNU} \ ${MASTER_SITE_LOCAL:S/$/:i18n/} MASTER_SITE_SUBDIR= ${PORTNAME} hrs/a2ps/:i18n MAINTAINER= dinoex@FreeBSD.org COMMENT= Formats an ASCII file for printing on a postscript printer LICENSE= GPLv2 LIB_DEPENDS= paper:${PORTSDIR}/print/libpaper USES= perl5 USE_CSTD= gnu89 GNU_CONFIGURE= yes USE_LDCONFIG= yes MAN1= a2ps.1 ogonkify.1 card.1 psmandup.1 fixps.1 pdiff.1 psset.1 \ texi2dvi4a2ps.1 INFO= a2ps ogonkify regex WRKSRC= ${WRKDIR}/${PORTNAME}-4.13 I18N_PACKAGE= i18n-fonts-0.1 PORTSCOUT= skipv:4.14 STRIP= CONFIGURE_ARGS= --with-medium=libpaper --sharedstatedir=${PREFIX}/share \ --sysconfdir=${PREFIX}/etc --datadir=${PREFIX}/share \ --localstatedir=${PREFIX}/share CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" PAPERSIZE?= .if ${PAPERSIZE:L} == a4 RUN_DEPENDS+= ${LOCALBASE}/etc/papersize:${PORTSDIR}/print/papersize-default-a4 .endif OPTIONS_DEFINE=NLS I18N EMACS OPTIONS_DEFAULT=NLS NO_OPTIONS_SORT=yes EMACS_DESC=Enable Emacs support I18N_DESC=Enable I18N support +NO_STAGE= yes .include .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif .if ${PORT_OPTIONS:MEMACS} USE_EMACS= yes CONFIGURE_ARGS+= --with-lispdir=${LOCALBASE}/${EMACS_SITE_LISPDIR} PLIST_SUB+= WITHEMACS="" .else CONFIGURE_ENV+= EMACS=no PLIST_SUB+= WITHEMACS="@comment " .endif .if ${PORT_OPTIONS:MI18N} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${I18N_PACKAGE}${EXTRACT_SUFX}:i18n PLIST_SUB+= WITHI18N="" 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} ''; \ ${ECHO} "i18n_afms =" `cat ${WRKDIR}/${I18N_PACKAGE}/afm/afms.lst`; } >> Makefile && \ ${REINPLACE_CMD} 's,^\(all_afms = .*\),\1 $$(i18n_afms),' Makefile .else PLIST_SUB+= WITHI18N="@comment " .endif post-install: ${STRIP_CMD} ${PREFIX}/bin/a2ps .if ${PORT_OPTIONS:MEMACS} ${MKDIR} ${PREFIX}/lib/xemacs/site-lisp ${LN} -sf ${PREFIX}/share/emacs/site-lisp/a2ps-print.el \ ${PREFIX}/lib/xemacs/site-lisp/a2ps-print.el ${LN} -sf ${PREFIX}/share/emacs/site-lisp/a2ps.el \ ${PREFIX}/lib/xemacs/site-lisp/a2ps.el .endif cd ${WRKSRC}/doc && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${.MAKEFLAGS} ${INSTALL_TARGET} ${RM} -f ${PREFIX}/lib/liba2ps.la .include diff --git a/print/abc2mtex/Makefile b/print/abc2mtex/Makefile index d8dd2d05490c..66b01f1b6d05 100644 --- a/print/abc2mtex/Makefile +++ b/print/abc2mtex/Makefile @@ -1,43 +1,40 @@ -# New ports collection makefile for: abc2mtex -# Date created: 28 May 2001 -# Whom: joerg -# +# Created by: joerg # $FreeBSD$ -# PORTNAME= abc2mtex PORTVERSION= 1.6.1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= support/abc2mtex DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= joerg@FreeBSD.org COMMENT= Music TeX converter from "abc" to MusiXTeX format RUN_DEPENDS= musixtex:${PORTSDIR}/print/musixtex NO_WRKSUBDIR= yes TEXMF= ${PREFIX}/share/texmf EXAMPLE_FILES= English.abc Jigs.abc Reels.abc Strspys.abc DOC_FILES= usrguide.ps BIN_FILES= abc2mtex abc2mtex \ search abc_search \ sort_in abc_sort_in +NO_STAGE= yes do-install: cd ${WRKSRC}; \ ${MKDIR} ${TEXMF}/doc/${PORTNAME}; \ ${INSTALL_DATA} ${DOC_FILES} ${TEXMF}/doc/${PORTNAME}; \ ${MKDIR} ${TEXMF}/doc/${PORTNAME}/examples; \ ${INSTALL_DATA} ${EXAMPLE_FILES} ${TEXMF}/doc/${PORTNAME}/examples; \ ${INSTALL_DATA} header.tex ${TEXMF}/tex/abc2mtex_header.tex set -- ${BIN_FILES}; \ while [ $$# -gt 0 ] ; do \ src=$$1; tgt=$$2; shift; shift; \ ${ECHO} "Installing $$src as ${PREFIX}/bin/$$tgt"; \ ${INSTALL_PROGRAM} ${WRKSRC}/$$src ${PREFIX}/bin/$$tgt; \ done .include diff --git a/print/abcm2ps/Makefile b/print/abcm2ps/Makefile index 2a18cc6b3e8d..de3f58ae476e 100644 --- a/print/abcm2ps/Makefile +++ b/print/abcm2ps/Makefile @@ -1,32 +1,33 @@ # Created by: arved # $FreeBSD$ PORTNAME= abcm2ps PORTVERSION= 6.6.22 CATEGORIES= print audio MASTER_SITES= http://moinejf.free.fr/ MAINTAINER= araujo@FreeBSD.org COMMENT= Converts ABC to music sheet in PostScript format GNU_CONFIGURE= yes ALL_TARGET= ${PORTNAME} PORTDOCS= Changes README deco.abc newfeatures.abc sample.abc sample2.abc\ sample3.abc sample4.abc voices.abc sample3.eps features.txt \ format.txt options.txt PLIST_FILES= bin/abcm2ps %%DATADIR%%/fbook.fmt %%DATADIR%%/fonts.fmt \ %%DATADIR%%/flute.fmt %%DATADIR%%/landscape.fmt \ %%DATADIR%%/tight.fmt %%DATADIR%%/musicfont.fmt PLIST_DIRS= %%DATADIR%% +NO_STAGE= yes do-install: ${INSTALL_PROGRAM} ${WRKSRC}/abcm2ps ${PREFIX}/bin/ @${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/*.fmt ${DATADIR}/ .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ .endif .include diff --git a/print/abntex/Makefile b/print/abntex/Makefile index e49389940a93..6f4f1cce10b7 100644 --- a/print/abntex/Makefile +++ b/print/abntex/Makefile @@ -1,36 +1,33 @@ -# New ports collection makefile for: abntex -# Date created: Tue Sep 17 22:08:35 BRT 2002 -# Whom: Hammurabi Mendes -# +# Created by: Hammurabi Mendes # $FreeBSD$ -# PORTNAME= abntex PORTVERSION= 0.8.2 PORTREVISION= 3 CATEGORIES= print MASTER_SITES= http://codigolivre.org.br/frs/download.php/2654/ DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E} EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Both classes and styles for both LaTex and bibtex for ABNT rules USE_TEX= latex WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} NO_BUILD= yes +NO_STAGE= yes do-install: # install files ${INSTALL_SCRIPT} ${WRKSRC}/bin/geratss ${PREFIX}/bin .for dir in bibtex/bib bibtex/bst doc/bibtex doc/latex makeindex tex/latex @${MKDIR} ${PREFIX}/share/texmf/${dir} ${TAR} -C ${WRKSRC}/texmf/${dir} --exclude ".*" --exclude "*~" \ -cf - abntex | ${TAR} -C ${PREFIX}/share/texmf/${dir} -xf - @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/texmf/${dir} .endfor # inform tex about installation @${LOCALBASE}/bin/texhash .include diff --git a/print/acrobatviewer/Makefile b/print/acrobatviewer/Makefile index caf94570b896..42c8d22419ac 100644 --- a/print/acrobatviewer/Makefile +++ b/print/acrobatviewer/Makefile @@ -1,65 +1,66 @@ # Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= acrobatviewer PORTVERSION= 1.1 PORTREVISION= 2 CATEGORIES= print java DISTFILES= viewer.bin:1 MRJToolkitStubs.zip:2 MASTER_SITES= ftp://ftp.adobe.com/pub/adobe/magic/acrobatviewer/unix/1.x/:1 \ http://developer.apple.com/samplecode/MRJToolkitStubs/:2 MAINTAINER= ports@FreeBSD.org COMMENT= Viewer for the PDF files written in Java(TM) #XXX need info-unzip for archive.zip USE_ZIP= yes USE_JAVA= yes JAVA_VERSION= 1.6+ JAVA_EXTRACT= yes NO_BUILD= yes SUB_FILES+= AcrobatViewer SUB_LIST+= PORTNAME=${PORTNAME} # For the end-users this "InstallAnywhere" wizard probably is a great step # toward Windows-like software installations compared with the traditional # "make install" paradigm, but for Unix administrators it is a pain to deal # with. Fortunately, Zero G (author of the InstallAnywhere) does not use a # proprietary format for archiving files, so it was possible for me to do the # following dirty hack. If they will provide a better way to centralise # installations in the next versions of InstallAnywhere then I'll be glad to # remove all following crap. BLOCKSIZE= 32768 ARCHSTART= 1 ARCHSIZE= 2749762 ARCHBLOCKS= 84 +NO_STAGE= yes do-extract: @${MKDIR} ${WRKSRC} && \ cd ${WRKSRC} && \ dd if=${DISTDIR}/viewer.bin of=archive.zip bs=${BLOCKSIZE} skip=${ARCHSTART} count=${ARCHBLOCKS} 2>/dev/null && \ ${LOCALBASE}/bin/unzip -o -a -j -qq archive.zip @${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \ ${DISTDIR}/MRJToolkitStubs.zip ${EXTRACT_AFTER_ARGS} post-extract: @cd ${WRKDIR}/MRJToolkitStubs/MRJToolkitStubs && \ ${JAR} cmf META-INF/MANIFEST.MF MRJToolkitStubs.jar com && \ ${MV} MRJToolkitStubs.jar ${WRKSRC} do-install: ${MKDIR} ${JAVAJARDIR}/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/acrobat.jar ${JAVAJARDIR}/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/MRJToolkitStubs.jar ${JAVAJARDIR}/${PORTNAME} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/License.pdf ${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/help.pdf ${DOCSDIR}/ .endif ${INSTALL_SCRIPT} ${WRKDIR}/AcrobatViewer ${PREFIX}/bin/AcrobatViewer post-install: @${CAT} ${PKGMESSAGE} .include diff --git a/print/acroread8/Makefile b/print/acroread8/Makefile index 99cbdc694c93..e9f843d33df9 100644 --- a/print/acroread8/Makefile +++ b/print/acroread8/Makefile @@ -1,92 +1,89 @@ -# New ports collection makefile for: acroread8 -# Date created: 20 October 2007 -# Whom: hrs -# +# Created by: hrs # $FreeBSD$ -# PORTNAME= acroread8 PORTVERSION= 8.1.7 PORTREVISION= 4 CATEGORIES?= print linux MASTER_SITES?= http://ardownload.adobe.com/pub/adobe/reader/unix/8.x/${PORTVERSION}/${ADOBE_LANG:L}/ \ ftp://ftp.adobe.com/pub/adobe/reader/unix/8.x/${PORTVERSION}/${ADOBE_LANG:L}/ DISTNAME= AdobeReader_${ADOBE_LANG:L}-${PORTVERSION}-1.i486 DIST_SUBDIR= acroread MAINTAINER= hrs@FreeBSD.org COMMENT= Adobe Reader for view, print, and search PDF documents (${ADOBE_LANG}) LICENSE= Adobe_WWEULA_20080204_1313 LICENSE_NAME= Adobe EULA (Reader_Player_AIR_WWEULA-en_US-20080204_1313) LICENSE_TEXT= ${INSTALLDIR}/Adobe/Reader8/Reader/Legal/en_US/License.txt LICENSE_PERMS= auto-accept RUN_DEPENDS= acroreadwrapper>=0.0.20100806:${PORTSDIR}/print/acroreadwrapper RESTRICTED= Must fill out redistribution form at http://www.adobe.com/products/acrobat/distribute.html ONLY_FOR_ARCHS= amd64 i386 USE_LINUX= yes USE_LINUX_APPS= cups-libs gtk2 pango libgcrypt libgpg-error USE_BZIP2= yes USE_LDCONFIG= yes #USE_GNOME= desktopfileutils NO_BUILD= yes PLIST_SUB= ACRODIR=${ACRODIR} \ ACROBASE=${ACROBASE} \ ADOBEBASE=${ADOBEBASE} \ PLUGINDIR=${PLUGINDIR} \ ADOBE_LANG=${ADOBE_LANG:U} \ LOCALE_NAME=${LOCALE_NAME} SUB_FILES= ln mv rm pkg-message pkg-deinstall SUB_LIST= ADOBE_LANG=${ADOBE_LANG:U} \ ACROBASE=${ACROBASE} PKGMESSAGE= ${WRKDIR}/pkg-message PKGDEINSTALL= ${WRKDIR}/pkg-deinstall WRKSRC= ${WRKDIR}/AdobeReader LANGCODE= chs:zh_CN cht:zh_TW dan:da_DK deu:de_DE enu:en_US \ esp:es_ES fra:fr_FR ita:it_IT jpn:ja_JP kor:ko_KR \ nld:nl_NL nor:nb_NO ptb:pt_BR suo:fi_FI sve:sv_SE .MAKE.FreeBSD_UL= yes ADOBE_LANG?= ENU .for L in ${ADOBE_LANG:L} LOCALE_NAME= ${LANGCODE:M${L}\:*:C/.*\://} LANG_${L:U}= "" LANG_NON${L:U}= "@comment " .endfor .for L in ${LANGCODE:C/\:.*//:U} LANG_${L}?= "@comment " LANG_NON${L}?= "" PLIST_SUB+= LANG_${L}=${LANG_${L}} PLIST_SUB+= LANG_NON${L}=${LANG_NON${L}} .endfor ADOBEBASE= Adobe ACROBASE= ${ADOBEBASE}/Reader8 ACRODIR= ${ACROBASE}/${ADOBE_LANG:U} PLUGINDIR= lib/browser_linux_plugins INSTALLDIR= ${PREFIX}/${ACRODIR} INSTALLEXEC= ${SETENV} UNAME_s=Linux \ InstallDir=${INSTALLDIR} \ UNAME_r="Linux Compatibility on FreeBSD" \ ${SH} ./INSTALL --install_path=${INSTALLDIR} > /dev/null +NO_STAGE= yes pre-install: @${MKDIR} ${WRKDIR}/bin @${INSTALL_SCRIPT} \ ${WRKDIR}/ln ${WRKDIR}/rm ${WRKDIR}/mv \ ${WRKDIR}/bin do-install: @${ECHO_CMD} Installing... @${MKDIR} ${PREFIX}/share/desktop-directories @${MKDIR} ${INSTALLDIR} @cd ${WRKSRC} && ${SETENV} PATH=${WRKDIR}/bin:${PATH} ${INSTALLEXEC} > /dev/null .if ${ADOBE_LANG:U} != ENU post-install: @${CAT} ${PKGMESSAGE} .endif .include diff --git a/print/acroread9/Makefile b/print/acroread9/Makefile index dd00f0e849fd..09007b4c72b0 100644 --- a/print/acroread9/Makefile +++ b/print/acroread9/Makefile @@ -1,101 +1,98 @@ -# New ports collection makefile for: acroread9 -# Date created: 28 March 2009 -# Whom: hrs -# +# Created by: hrs # $FreeBSD$ -# PORTNAME= acroread9 PORTVERSION?= 9.5.5 CATEGORIES?= print linux MASTER_SITES?= http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/${PORTVERSION}/${ADOBE_LANG:L}/ \ ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/${PORTVERSION}/${ADOBE_LANG:L}/ DISTNAME= AdbeRdr${PORTVERSION:S,.0$,,}-1_i486linux_${ADOBE_LANG:L} DIST_SUBDIR= acroread MAINTAINER= hrs@FreeBSD.org COMMENT= Adobe Reader for view, print, and search PDF documents (${ADOBE_LANG}) LICENSE= Adobe_WWEULA_20080204_1313 LICENSE_NAME= Adobe EULA (Reader_Player_AIR_WWEULA-en_US-20080204_1313) LICENSE_TEXT= ${INSTALLDIR}/Adobe/Reader9/Reader/Legal/en_US/License.txt LICENSE_PERMS= auto-accept RUN_DEPENDS= acroreadwrapper>=0.0.20110529:${PORTSDIR}/print/acroreadwrapper RESTRICTED= Must fill out redistribution form at http://www.adobe.com/products/acrobat/distribute.html ONLY_FOR_ARCHS= amd64 i386 USE_BZIP2= yes USE_LINUX= yes USE_LINUX_APPS= cups-libs gdkpixbuf gtk2 libgcrypt libgpg-error libxml2 pango USE_LDCONFIG= yes #USE_GNOME= desktopfileutils NO_BUILD= yes PLIST_SUB= ACRODIR=${ACRODIR} \ ACROBASE=${ACROBASE} \ ADOBEBASE=${ADOBEBASE} \ PLUGINDIR=${PLUGINDIR} \ ADOBE_LANG=${ADOBE_LANG:U} \ LOCALE_NAME=${LOCALE_NAME} \ MANINSTALLDIR=${MANINSTALLDIR} SUB_FILES= ln mv rm pkg-message pkg-deinstall SUB_LIST= ADOBE_LANG=${ADOBE_LANG:U} \ ACROBASE=${ACROBASE} PKGMESSAGE= ${WRKDIR}/pkg-message PKGDEINSTALL= ${WRKDIR}/pkg-deinstall WRKSRC= ${WRKDIR}/AdobeReader LANGCODE= chs:zh_CN cht:zh_TW dan:da_DK deu:de_DE enu:en_US \ esp:es_ES fra:fr_FR ita:it_IT jpn:ja_JP kor:ko_KR \ nld:nl_NL nor:nb_NO ptb:pt_BR suo:fi_FI sve:sv_SE .MAKE.FreeBSD_UL= yes ADOBE_LANG?= ENU .for L in ${ADOBE_LANG:L} LOCALE_NAME= ${LANGCODE:M${L}\:*:C/.*\://} MANLANG= ${LOCALE_NAME:C/_.*//:C/en/""/} LANG_${L:U}= "" LANG_NON${L:U}= "@comment " .endfor .for L in ${LANGCODE:C/\:.*//:U} LANG_${L}?= "@comment " LANG_NON${L}?= "" PLIST_SUB+= LANG_${L}=${LANG_${L}} PLIST_SUB+= LANG_NON${L}=${LANG_NON${L}} .endfor ADOBEBASE= Adobe ACROBASE= ${ADOBEBASE}/Reader9 ACRODIR= ${ACROBASE}/${ADOBE_LANG:U} PLUGINDIR= lib/browser_linux_plugins INSTALLDIR= ${PREFIX}/${ACRODIR} INSTALLEXEC= ${SETENV} UNAME_s=Linux \ InstallDir=${INSTALLDIR} \ UNAME_r="Linux Compatibility on FreeBSD" \ ${SH} ./INSTALL --install_path=${INSTALLDIR} > /dev/null MAN1= acroread.1 MANCOMPRESSED= yes MANINSTALLDIR= man/${MANLANG} +NO_STAGE= yes post-man-install: ${MKDIR} ${MANPREFIX}/${MANINSTALLDIR}/man1 ${LN} -s -f \ ${INSTALLDIR}/Adobe/Reader9/Resource/Shell/acroread.1.gz \ ${MANPREFIX}/${MANINSTALLDIR}/man1/ pre-su-install: @${MKDIR} ${WRKDIR}/bin @${INSTALL_SCRIPT} \ ${WRKDIR}/ln ${WRKDIR}/rm ${WRKDIR}/mv \ ${WRKDIR}/bin do-install: @${ECHO_CMD} Installing... @${MKDIR} ${INSTALLDIR} @${MKDIR} ${PREFIX}/share/desktop-directories @cd ${WRKSRC} && ${SETENV} PATH=${WRKDIR}/bin:${PATH} ${INSTALLEXEC} > /dev/null post-install: post-man-install @${CAT} ${PKGMESSAGE} .include diff --git a/print/acroreadwrapper/Makefile b/print/acroreadwrapper/Makefile index e2f9b9c05998..607ef32bcaef 100644 --- a/print/acroreadwrapper/Makefile +++ b/print/acroreadwrapper/Makefile @@ -1,62 +1,63 @@ # Created by: hrs # $FreeBSD$ PORTNAME= acroreadwrapper PORTVERSION= 0.0.20130208 CATEGORIES= print kld MASTER_SITES= http://people.allbsd.org/~hrs/FreeBSD/ DISTNAME= linux_adobe_kmod-${PORTVERSION:E} MAINTAINER= hrs@FreeBSD.org COMMENT= Wrapper for Adobe Reader LICENSE= BSD RUN_DEPENDS= ${LOCALBASE}/lib/linux-libgtkembedmoz/libgtkembedmoz.so:${PORTSDIR}/www/linux-libgtkembedmoz SSP_UNSAFE= kernel module does not support ssp ONLY_FOR_ARCHS= amd64 i386 PLIST_FILES= bin/acroread8 bin/acroread9 bin/acroread \ ${KMODDIR}/linux_adobe.ko PLIST_DIRS= ${KMODDIR} SUB_FILES= acroread SUB_LIST= ACROBASE8=${ACROBASE8} \ ACROBASE9=${ACROBASE9} \ ADOBE_LANG=${ADOBE_LANG:U} \ INSTALLDIR=${INSTALLDIR} \ LINUXBASE=${LINUXBASE} \ LINUXSH=${LINUXBASE}/bin/sh \ PLUGINDIR=${PLUGINDIR} \ KMODDIR=${KMODDIR} USE_RC_SUBR= linux_adobe +NO_STAGE= yes .include MAKE_ENV= KMODDIR=${KMODDIR} SYSDIR=${SRC_BASE}/sys DESTDIR=${PREFIX}/ ADOBEBASE= Adobe ACROBASE8= ${ADOBEBASE}/Reader8 ACROBASE9= ${ADOBEBASE}/Reader9 PLUGINDIR= lib/npapi/linux-acroread KMODDIR= libexec/linux_adobe KERNCONF?= GENERIC # Use the first component of ${KERNCONF}. .for K in ${KERNCONF} _KERNCONF?=$K .endfor .if !exists(${SRC_BASE}/sys/${ARCH}/conf/${_KERNCONF}) IGNORE= requires kernel source to be installed .endif post-install: ${INSTALL_KLD} ${WRKSRC}/linux_adobe.ko \ ${PREFIX}/libexec/linux_adobe/linux_adobe.ko ${INSTALL_SCRIPT} ${WRKDIR}/acroread ${PREFIX}/bin/acroread cd ${PREFIX}/bin && ${LN} -s -f acroread acroread8 cd ${PREFIX}/bin && ${LN} -s -f acroread acroread9 .include diff --git a/print/adobe-cmaps/Makefile b/print/adobe-cmaps/Makefile index 5cad8f577667..6fd855ac0d5e 100644 --- a/print/adobe-cmaps/Makefile +++ b/print/adobe-cmaps/Makefile @@ -1,37 +1,34 @@ -# New ports collection makefile for: adobe-cmaps -# Date created: Wed, 10 Apr 2002 02:22:30 +0900 -# Whom: KATO Tsuguru -# +# Created by: KATO Tsuguru # $FreeBSD$ -# PORTNAME= adobe-cmaps PORTVERSION= 20051217 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= 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 NO_WRKSUBDIR= yes NO_BUILD= yes PLIST_SUB= CMAPDIR=${CMAPDIR} INSTDIRS= ac15 ag15 ai0 aj16 aj20 ak12 rksj-cmaps CMAPDIR= share/fonts/${PORTNAME} +NO_STAGE= yes post-extract: ${RM} -f ${WRKDIR}/ag15/.nfsFA55 do-install: ${MKDIR} ${PREFIX}/${CMAPDIR} cd ${WRKDIR} && \ ${TAR} cf - ${INSTDIRS} | \ (cd ${PREFIX}/${CMAPDIR} && ${TAR} xf - ) .include diff --git a/print/afm/Makefile b/print/afm/Makefile index 20b10f993134..0c0a47d19f4c 100644 --- a/print/afm/Makefile +++ b/print/afm/Makefile @@ -1,25 +1,22 @@ -# New ports collection makefile for: afm -# Date created: 23 November 1994 -# Whom: ljo -# +# Created by: ljo # $FreeBSD$ -# PORTNAME= afm PORTVERSION= 1.0 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_STAGE= yes pre-patch: @${RM} -rf ${WRKSRC}/RCS do-build: @${TRUE} .include diff --git a/print/alignmargins/Makefile b/print/alignmargins/Makefile index 16ea60b2012a..ec3794520830 100644 --- a/print/alignmargins/Makefile +++ b/print/alignmargins/Makefile @@ -1,40 +1,41 @@ # Created by: Michael Nottebrock # $FreeBSD$ PORTNAME= alignmargins PORTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_LOCAL} \ http://www.linuxprinting.org/download/printing/ MASTER_SITE_SUBDIR=lofi DISTFILES= alignmargins align.ps MAINTAINER= ports@FreeBSD.org COMMENT= Utility script to generate custom margins in PPDs for CUPS NO_BUILD= yes USES= perl5 +NO_STAGE= yes do-extract: @${RM} -rf ${WRKDIR} @${MKDIR} ${WRKDIR} @${MKDIR} ${WRKSRC} @for distfile in ${EXTRACT_ONLY}; do \ if ! (cd ${WRKDIR} && ${CP} ${_DISTDIR}/$$distfile ${WRKSRC});\ then \ exit 1; \ fi \ done post-patch: ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ -e 's|%%DATADIR%%|${DATADIR}|g' \ ${WRKSRC}/alignmargins do-install: ${INSTALL_SCRIPT} ${WRKSRC}/alignmargins ${LOCALBASE}/bin ${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/align.ps ${DATADIR} .include diff --git a/print/ansiprint/Makefile b/print/ansiprint/Makefile index 4423ae1a3e47..3e59ffc92622 100644 --- a/print/ansiprint/Makefile +++ b/print/ansiprint/Makefile @@ -1,26 +1,27 @@ # Created by: Stephen Fisher # $FreeBSD$ PORTNAME= ansiprint PORTVERSION= 1.0 CATEGORIES= print MASTER_SITES= SF EXTRACT_SUFX= .tgz MAINTAINER= stephenfisher@outlook.com COMMENT= Prints through a terminal with ANSI escape sequences PLIST_FILES= bin/${PORTNAME} CXXFLAGS+= -Wno-deprecated +NO_STAGE= yes post-extract: @${RM} ${WRKSRC}/Makefile do-build: cd ${WRKSRC} && ${CXX} ${CXXFLAGS} -o ${PORTNAME} ansiprint.cc do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} .include diff --git a/print/apsfilter/Makefile b/print/apsfilter/Makefile index 8ea78947b92b..2d98ff280b8e 100644 --- a/print/apsfilter/Makefile +++ b/print/apsfilter/Makefile @@ -1,137 +1,138 @@ # Created by: Andreas Klemm # $FreeBSD$ PORTNAME= apsfilter PORTVERSION= 7.2.8 PORTREVISION= 13 CATEGORIES= print MASTER_SITES= http://www.apsfilter.org/download/ DIST_SUBDIR= apsfilter MAINTAINER= hrs@FreeBSD.org COMMENT= Magic print filter with print preview, duplex printing, and more LICENSE= PCL LICENSE_NAME= Postcard License LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \ hpijs:${PORTSDIR}/print/hpijs USE_BZIP2= yes USE_SUBMAKE= yes WRKSRC= ${WRKDIR}/apsfilter HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} SUB_FILES= pkg-message OPTIONS_DEFINE=DOCS X11 GS PSUTILS ASCII CONVERT DVIPS FIG2DEV HTML2PS \ ATALK SAMBA COMPRESS MP3 OGG WAV OPTIONS_DEFAULT=X11 GS PSUTILS ASCII CONVERT A4 OPTIONS_SINGLE=PAPERSIZE OPTIONS_SINGLE_PAPERSIZE=A4 LETTER LETTERDJ NO_OPTIONS_SORT=yes PAPERSIZE_DESC= papersize A4_DESC= A4 papersize LETTER_DESC= letter papersize LETTERDJ_DESC= letter + special Deskjet adjectments GS_DESC= Postscript for non-PS printer PSUTILS_DESC= for pseudo duplex printing + paper handling ASCII_DESC= ASCII files in different styles/orientation CONVERT_DESC= support for lots of graphic file formats DVIPS_DESC= TeX DVI files FIG2DEV_DESC= XFIG drawings HTML2PS_DESC= HTML documents ATALK_DESC= remote printing on AppleTalk remote printer SAMBA_DESC= remote printing on Windows remote printer COMPRESS_DESC= print compressed documents +NO_STAGE= yes .include .if ${PORT_OPTIONS:MDOCS} MAKE_ARGS= -DDOCS PORTDOCS= ANNOUNCE FAQ HOWTO-BUGREPORTS apsfilter4.png \ README.BSD handbook.html README.TeX paper .endif .if empty(PORT_OPTIONS:MX11) # XXX Hack. If you've done something like "-DWITHOUT_X11" on the command line # (instead of WITHOUT_X11=true, or similar) gmake won't pick it up. So make # sure that NO_X is defined *and* has a value. MAKE_ENV+= NO_X=true .if empty(GHOSTSCRIPT_PORT:M*-nox11) GSUFX= -nox11 .endif .endif # hint: for batch mode you can now draw the following decisions # - build and install most important filter utilities # that don't require X # - APSFILTER_ALL build and install all supported filter utilities .if !empty(PORT_OPTIONS:MA4) PSUFX= -a4 .elif !empty(PORT_OPTIONS:MLETTER) PSUFX= -letter .elif !empty(PORT_OPTIONS:MLETTERDJ) PSUFX= -letterdj .endif _DEPENDS_GS= gs:${PORTSDIR}/${GHOSTSCRIPT_PORT}${GSUFX} _DEPENDS_ASCII= a2ps:${PORTSDIR}/print/a2ps \ enscript:${PORTSDIR}/print/enscript${PSUFX} \ mpage:${PORTSDIR}/print/mpage \ recode:${PORTSDIR}/converters/recode _DEPENDS_COMPRESS= \ melt:${PORTSDIR}/archivers/freeze \ lzop:${PORTSDIR}/archivers/lzop \ arc:${PORTSDIR}/archivers/arc \ cabextract:${PORTSDIR}/archivers/cabextract \ lha:${PORTSDIR}/archivers/lha \ rar:${PORTSDIR}/archivers/rar \ rpm:${PORTSDIR}/archivers/rpm \ unarj:${PORTSDIR}/archivers/unarj \ unzip:${PORTSDIR}/archivers/unzip \ zoo:${PORTSDIR}/archivers/zoo _DEPENDS_PSUTILS= \ psnup:${PORTSDIR}/print/psutils \ fitstopnm:${PORTSDIR}/graphics/netpbm \ htmldoc:${PORTSDIR}/textproc/htmldoc _DEPENDS_CONVERT= \ convert:${PORTSDIR}/graphics/ImageMagick \ wmf2eps:${PORTSDIR}/graphics/libwmf \ tgif:${PORTSDIR}/graphics/tgif \ transfig:${PORTSDIR}/print/transfig # XXX: recent versions of skencil do not include sk2ps. # sk2ps:${PORTSDIR}/graphics/skencil _DEPENDS_DVIPS= dvips:${PORTSDIR}/print/dvipsk-tetex _DEPENDS_FIG2DEV= \ fig2dev:${PORTSDIR}/print/transfig _DEPENDS_HTML2PS= \ html2ps:${PORTSDIR}/print/html2ps _DEPENDS_ATALK= pap:${PORTSDIR}/net/netatalk _DEPENDS_SAMBA= smbclient:${PORTSDIR}/net/samba36 _DEPENDS_MP3= mpg321:${PORTSDIR}/audio/mpg321 _DEPENDS_OGG= ogg123:${PORTSDIR}/audio/vorbis-tools _DEPENDS_WAV= wavplay:${PORTSDIR}/audio/wavplay .for D in ${OPTIONS_DEFINE:NCONVERT} .if (!empty(PORT_OPTIONS:M$D) || \ (defined(BATCH) && defined(APSFILTER_ALL))) && \ defined(_DEPENDS_$D) RUN_DEPENDS+= ${_DEPENDS_$D} .endif .endfor .if !empty(PORT_OPTIONS:MCONVERT) && !empty(PORT_OPTIONS:MX11) || \ (defined(BATCH) && defined(APSFILTER_ALL)) RUN_DEPENDS+= ${_DEPENDS_CONVERT} .endif MAN1= apsfilter.1 aps2file.1 apsfilter-bug.1 apspreview.1 MAN5= apsfilterrc.5 post-install: @${CAT} ${PKGMESSAGE} .include diff --git a/print/asprint/Makefile b/print/asprint/Makefile index 18678c581d4b..963b5bd22973 100644 --- a/print/asprint/Makefile +++ b/print/asprint/Makefile @@ -1,27 +1,24 @@ -# New ports collection makefile for: asmail -# Date created: 16 August 1997 -# Whom: brett@peloton.physics.montana.edu -# +# Created by: brett@peloton.physics.montana.edu # $FreeBSD$ -# PORTNAME= asprint PORTVERSION= 1.0 PORTREVISION= 3 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_AFTERSTEP} MASTER_SITE_SUBDIR= apps/asprint DISTNAME= asprint MAINTAINER= ports@FreeBSD.org COMMENT= A simple browser to allow a user to print PLIST_FILES= bin/asprint USE_XORG= xmu xpm xt xaw x11 ALL_TARGET= asprint MAKEFILE= makefile +NO_STAGE= yes do-install: ${INSTALL_PROGRAM} $(WRKSRC)/asprint ${PREFIX}/bin .include diff --git a/print/auctex/Makefile b/print/auctex/Makefile index de3d49c2e355..3bb9390779a3 100644 --- a/print/auctex/Makefile +++ b/print/auctex/Makefile @@ -1,46 +1,47 @@ # Created by: Martin Kammerhofer # $FreeBSD$ PORTNAME= auctex PORTVERSION= 11.87 PORTREVISION= 1 CATEGORIES= print elisp MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} PKGNAMESUFFIX= -${EMACS_PORT_NAME} MAINTAINER= hrs@FreeBSD.org COMMENT= Integrated environment for writing LaTeX using GNU Emacs LICENSE= GPLv3 USE_TEX= latex USE_GHOSTSCRIPT=yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${LISPDIR} \ --with-auto-dir=${PREFIX}/${LISPDIR}/auctex/auto \ --with-texmf-dir=${PREFIX}/${TEXMFDIR} .if defined(NOPORTDOCS) MAKE_ENV= WITHOUT_AUCTEX_DOCSDIR=yes .else PORTDOCS= tex-ref.pdf .endif USE_EMACS= yes LISPDIR= ${EMACS_VERSION_SITE_LISPDIR} PLIST_SUB+= LISPDIR=${LISPDIR} \ TEXMFDIR=${TEXMFDIR} \ MKTEXLSR=${MKTEXLSR} INFO= auctex preview-latex TEXMFDIR= share/texmf MKTEXLSR= ${LOCALBASE}/bin/mktexlsr NOT_FOR_ARCHS= ia64 +NO_STAGE= yes post-install: ${MKTEXLSR} ${PREFIX}/${TEXMFDIR} @${CAT} ${PKGMESSAGE} .include diff --git a/print/axpoint/Makefile b/print/axpoint/Makefile index ed2d54ffe70a..9729e7efda43 100644 --- a/print/axpoint/Makefile +++ b/print/axpoint/Makefile @@ -1,32 +1,28 @@ -# ex:ts=8 -# Ports collection makefile for: axpoint -# Date created: May 13, 2002 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= axpoint PORTVERSION= 1.50 CATEGORIES= print perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:MSERGEANT DISTNAME= XML-Handler-AxPoint-${PORTVERSION:S/0$//} MAINTAINER= ports@FreeBSD.org COMMENT= XML Based Presentations BUILD_DEPENDS= p5-Text-Iconv>=0:${PORTSDIR}/converters/p5-Text-Iconv \ p5-Time-Piece>=1.08:${PORTSDIR}/devel/p5-Time-Piece \ p5-XML-Filter-XSLT>=0:${PORTSDIR}/textproc/p5-XML-Filter-XSLT \ p5-XML-SAX>=0.09:${PORTSDIR}/textproc/p5-XML-SAX \ p5-XML-SAX-Writer>=0.39:${PORTSDIR}/textproc/p5-XML-SAX-Writer \ p5-PDFLib>=0.14:${PORTSDIR}/print/p5-PDFLib RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure MAN3= XML::Handler::AxPoint.3 +NO_STAGE= yes .include diff --git a/print/bibcursed/Makefile b/print/bibcursed/Makefile index eb0c150c08f0..665cea3e870a 100644 --- a/print/bibcursed/Makefile +++ b/print/bibcursed/Makefile @@ -1,31 +1,27 @@ -# ex:ts=8 -# Ports collection makefile for: bibcursed -# Date created: Aug 11, 2002 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= bibcursed PORTVERSION= 2.0.1 CATEGORIES= print MASTER_SITES= SF DISTNAME= ${PORTNAME}_${PORTVERSION} EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= A simple curses-based editor for BibTeX bibliography files WRKSRC= ${WRKDIR}/${PORTNAME} MAN1= ${PORTNAME}.1 PLIST_FILES= bin/${PORTNAME} +NO_STAGE= yes do-build: cd ${WRKSRC}; ${CC} ${CFLAGS} ${PORTNAME}.c -o ${PORTNAME} -lncurses do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1 .include diff --git a/print/biblio-py/Makefile b/print/biblio-py/Makefile index 41e102aa5bee..763bf5218602 100644 --- a/print/biblio-py/Makefile +++ b/print/biblio-py/Makefile @@ -1,20 +1,17 @@ -# New ports collection makefile for: biblio-py -# Date created: 10 May, 2009 -# Whom: Wen Heping -# +# Created by: Wen Heping # $FreeBSD$ -# PORTNAME= biblio-py PORTVERSION= 0.6.1 CATEGORIES= print python MASTER_SITES= CHEESESHOP \ http://cabcat2.cnea.gov.ar/staff/fiol/ MAINTAINER= wen@FreeBSD.org COMMENT= A package to manage bibliography written in python USE_PYTHON= yes USE_PYDISTUTILS= yes +NO_STAGE= yes .include diff --git a/print/bibview/Makefile b/print/bibview/Makefile index a7cbedbcf45b..ecc55bd3f0ed 100644 --- a/print/bibview/Makefile +++ b/print/bibview/Makefile @@ -1,20 +1,21 @@ # Created by: dbader@eece.unm.edu # $FreeBSD$ PORTNAME= bibview PORTVERSION= 2.2 PORTREVISION= 2 CATEGORIES= print databases MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= biblio/bibtex/utils/bibview-2.0 MAINTAINER= ports@FreeBSD.org COMMENT= Graphical interface for manipulating BibTeX bibliography databases USES= imake USE_XORG= ice sm x11 xaw xext xmu xt WRKSRC= ${WRKDIR}/bibview-${PORTVERSION} MAN1= bibview.1 +NO_STAGE= yes .include diff --git a/print/bophook/Makefile b/print/bophook/Makefile index e69562df8599..84aaa92c6607 100644 --- a/print/bophook/Makefile +++ b/print/bophook/Makefile @@ -1,44 +1,42 @@ -# New ports collection makefile for: bophook -# Date created: 2012-05-11 -# Whom: Hiroto Kagotani -# +# Created by: Hiroto Kagotani # $FreeBSD$ PORTNAME= bophook PORTVERSION= 0.02 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/latex/contrib/ DISTNAME= ${PORTNAME} MAINTAINER= hiroto.kagotani@gmail.com COMMENT= Style file providing a beginning-of-page hook for LaTeX WRKSRC= ${WRKDIR}/${PORTNAME} USE_ZIP= yes USE_TEX= latex PLIST= ${WRKDIR}/pkg-plist TEXMFDIR= share/texmf-local MKTEXLSR= ${LOCALBASE}/bin/mktexlsr CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME} CLASS_FILES= ${PORTNAME}.sty +NO_STAGE= yes do-build: cd ${WRKSRC} && latex ${PORTNAME}.ins pre-install: ${ECHO_CMD} "${CLASSDIR}/${CLASS_FILES}" > ${PLIST} ${ECHO_CMD} "@dirrm ${CLASSDIR}" >> ${PLIST} ${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST} ${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST} do-install: @${MKDIR} ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} post-install: ${MKTEXLSR} .include diff --git a/print/c2ps/Makefile b/print/c2ps/Makefile index 3566d3e16347..0ea441a5f1b2 100644 --- a/print/c2ps/Makefile +++ b/print/c2ps/Makefile @@ -1,24 +1,25 @@ # Created by: Matthew Hunt # $FreeBSD$ PORTNAME= c2ps PORTVERSION= 4.0 PORTREVISION= 3 CATEGORIES= print MASTER_SITES= http://www.cs.technion.ac.il/users/c2ps/ MAINTAINER= hrs@FreeBSD.org COMMENT= A PostScript pretty-printer for C source LIB_DEPENDS= paper:${PORTSDIR}/print/libpaper CPPFLAGS+= -I${LOCALBASE}/include PLIST_FILES= bin/c2ps MAN1= c2ps.1 +NO_STAGE= yes do-install: ${INSTALL_PROGRAM} ${WRKSRC}/c2ps ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/c2ps.1 ${MANPREFIX}/man/man1 .include diff --git a/print/catdvi/Makefile b/print/catdvi/Makefile index 2961ffa68227..c876a6aa1c8b 100644 --- a/print/catdvi/Makefile +++ b/print/catdvi/Makefile @@ -1,35 +1,31 @@ -# ex:ts=8 -# Ports collection makefile for: catdvi -# Date created: Feb 10, 2002 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= catdvi PORTVERSION= 0.14 PORTREVISION= 7 CATEGORIES= print MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= A DVI to text/plain translator USE_TEX= latex USE_GMAKE= yes GNU_CONFIGURE= yes MAKEFILE= GNUmakefile ALL_TARGET= # empty MAKE_JOBS_UNSAFE= yes MAN1= catdvi.1 PLIST_FILES= bin/catdvi CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +NO_STAGE= yes do-install: ${INSTALL_PROGRAM} ${WRKSRC}/catdvi ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/catdvi.1 ${MANPREFIX}/man/man1 .include diff --git a/print/cdlabelgen/Makefile b/print/cdlabelgen/Makefile index d9ee60a3b631..26f4165dd635 100644 --- a/print/cdlabelgen/Makefile +++ b/print/cdlabelgen/Makefile @@ -1,32 +1,29 @@ -# New ports collection makefile for: cdlabelgen -# Date created: Tue Jun 23 00:19:55 MET DST 1999 -# Whom: Juergen Lock -# +# Created by: Juergen Lock # $FreeBSD$ -# PORTNAME= cdlabelgen PORTVERSION= 4.2.0 CATEGORIES= print perl5 MASTER_SITES= http://www.aczoom.com/pub/tools/ EXTRACT_SUFX= .tgz MAINTAINER= nox@FreeBSD.org COMMENT= Generate postscript for frontcards and traycards for CDs MAN1= cdlabelgen.1 MANCOMPRESSED= no USES= perl5 MAKE_ARGS= BASE_DIR="${PREFIX}" \ LIB_DIR="${DATADIR}" \ INSTALL="${INSTALL_SCRIPT}" \ INSTALL_DIR="${MKDIR}" \ INSTALL_FILE="${INSTALL_DATA}" \ INSTALL_MAN="${INSTALL_MAN}" \ MAN_DIR="${PREFIX}/man" +NO_STAGE= yes do-build: ${PERL5} -i.bak -p -e "if (1 .. 1) {s-^#!/usr/bin/perl-#!${PERL}-;}" ${WRKSRC}/cdlabelgen .include diff --git a/print/cm-super/Makefile b/print/cm-super/Makefile index 781a5862f88f..56ad9b1b1cc8 100644 --- a/print/cm-super/Makefile +++ b/print/cm-super/Makefile @@ -1,103 +1,100 @@ -# New ports collection makefile for: cm-super -# Date created: 27 June 2006 -# Whom: hrs -# +# Created by: hrs # $FreeBSD$ -# PORTNAME= cm-super PORTVERSION= 0.3.4 PORTREVISION= 4 CATEGORIES= print x11-fonts MASTER_SITES= LOCAL MASTER_SITE_SUBDIR= hrs #MASTER_SITES= ${MASTER_SITE_TEX_CTAN} #MASTER_SITE_SUBDIR= fonts/ps-type1 #DISTNAME= ${PORTNAME} MAINTAINER= hrs@FreeBSD.org COMMENT= Computer Modern Font Families in Type 1 Fonts .if !defined(WITHOUT_X11) BUILD_DEPENDS= ${LOCALBASE}/bin/type1inst:${PORTSDIR}/x11-fonts/p5-type1inst .endif USE_ZIP= yes USE_TEX= base texmf WRKSRC= ${WRKDIR}/${PORTNAME} .if !defined(WITHOUT_X11) PLIST_X11= "" .else PLIST_X11= "@comment " .endif PLIST_SUB= PLIST_X11=${PLIST_X11} \ UPDMAP_SYS="${UPDMAP_SYS}" \ MAPFILES="${MAPFILES}" \ MKTEXLSR="${MKTEXLSR}" \ TEXMFDIR=${TEXMFDIR} \ MACRODIR=${MACRODIR} \ UPDMAP_SYS= ${LOCALBASE}/bin/updmap-sys --quiet --progname=all MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEXMFDIR= share/texmf FONTSDIR= share/fonts/${PORTNAME} AFMDIR= ${TEXMFDIR}/fonts/afm/public/${PORTNAME} TYPE1DIR= ${TEXMFDIR}/fonts/type1/public/${PORTNAME} DVIPDFMMAPDIR= ${TEXMFDIR}/fonts/map/dvipdfm/${PORTNAME} DVIPSENCDIR= ${TEXMFDIR}/fonts/enc/dvips/${PORTNAME} DVIPSMAPDIR= ${TEXMFDIR}/fonts/map/dvips/${PORTNAME} MACRODIR= ${TEXMFDIR}/tex/latex/${PORTNAME} MAPFILES= cm-super-t1.map \ cm-super-t2a.map \ cm-super-t2b.map \ cm-super-t2c.map \ cm-super-ts1.map \ cm-super-x2.map +NO_STAGE= yes do-build: .if !defined(WITHOUT_X11) ${TOUCH} ${WRKSRC}/pfb/fonts.dir (cd ${WRKSRC}/pfb; ${LOCALBASE}/bin/type1inst -nolog -quiet) .else @${DO_NADA} .endif post-extract: ${GZIP_CMD} -d ${WRKSRC}/afm/*.gz do-install: ${MKDIR} ${PREFIX}/${FONTSDIR}/afm ${INSTALL_DATA} ${WRKSRC}/afm/* ${PREFIX}/${FONTSDIR}/afm ${LN} -s -f ${PREFIX}/${FONTSDIR}/afm \ ${PREFIX}/${AFMDIR} ${MKDIR} ${PREFIX}/${FONTSDIR}/type1 ${INSTALL_DATA} ${WRKSRC}/pfb/* ${PREFIX}/${FONTSDIR}/type1 ${LN} -s -f ${PREFIX}/${FONTSDIR}/type1 \ ${PREFIX}/${TYPE1DIR} ${MKDIR} ${PREFIX}/${DVIPSMAPDIR} ${INSTALL_DATA} \ ${WRKSRC}/dvips/*.map \ ${PREFIX}/${DVIPSMAPDIR} ${MKDIR} ${PREFIX}/${DVIPSENCDIR} ${INSTALL_DATA} \ ${WRKSRC}/dvips/*.enc \ ${PREFIX}/${DVIPSENCDIR} ${MKDIR} ${PREFIX}/${DVIPDFMMAPDIR} ${INSTALL_DATA} \ ${WRKSRC}/dvipdfm/*.map \ ${PREFIX}/${DVIPDFMMAPDIR} ${MKDIR} ${PREFIX}/${MACRODIR} ${INSTALL_DATA} \ ${WRKSRC}/type1ec.sty \ ${PREFIX}/${MACRODIR} ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/${FONTSDIR}/ ${MKTEXLSR} ${PREFIX}/${TEXMFDIR} .for F in ${MAPFILES} @${ECHO_CMD} "Adding $F..." @${UPDMAP_SYS} --nohash --nomkmap --enable Map=${F} || true .endfor @${ECHO_CMD} "Regenerating mapfiles..." @${UPDMAP_SYS} .include diff --git a/print/cpp2latex/Makefile b/print/cpp2latex/Makefile index bd156f1462cc..a436e64ca5a2 100644 --- a/print/cpp2latex/Makefile +++ b/print/cpp2latex/Makefile @@ -1,35 +1,36 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= cpp2latex PORTVERSION= 2.3 CATEGORIES= print MASTER_SITES= http://www.arnoldarts.de/files/cpp2latex/ MAINTAINER= ports@FreeBSD.org COMMENT= Converts C++ source to output that can be used in LaTeX documents LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual GNU_CONFIGURE= yes PORTDOCS= AUTHORS ChangeLog README TODO PLIST_FILES= bin/cpp2latex +NO_STAGE= yes .include post-patch: @${REINPLACE_CMD} -e '/-O2 /s|^|#|' -e '/-pedantic /s|^|#|' \ ${WRKSRC}/configure post-install: .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for docfile in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR} .endfor .endif .include diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile index ced5c99061f8..0267ca88ce21 100644 --- a/print/cups-base/Makefile +++ b/print/cups-base/Makefile @@ -1,413 +1,414 @@ # Created by: Alan Eldridge # $FreeBSD$ PORTNAME= cups PORTVERSION= 1.5.4 DISTVERSIONSUFFIX= -source PORTREVISION= 1 CATEGORIES= print MASTER_SITES= EASYSW/${PORTNAME}/${DISTVERSION} PKGNAMESUFFIX= ${CUPS_SUFFIX}${PKGNAMESUFFIX2} MAINTAINER= c.petrik.sosa@gmail.com COMMENT= Common UNIX Printing System: ${COMMENT2} LICENSE= GPLv2 CONFLICTS= LPRng-[0-9]* UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} USE_BZIP2= yes USE_GMAKE= yes GNU_CONFIGURE= yes CFLAGS+= ${PTHREAD_CFLAGS} CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib DSOFLAGS= -Wl,-rpath,${PREFIX}/lib -L${PREFIX}/lib ${LDFLAGS} CONFIGURE_ENV= DSOFLAGS="${DSOFLAGS}" CONFIGURE_ARGS+= --localstatedir=/var \ --disable-slp \ --disable-gssapi \ --with-cups-user=${CUPSOWN} \ --with-cups-group=${CUPSGRP} \ --with-system-groups=${CUPSSYSGRP} \ --with-docdir=${DOCSDIR} \ --with-icondir=${PREFIX}/share/icons \ --with-menudir=${DESKTOPDIR} \ --with-domainsocket=${CUPS_SOCKET} \ --with-cachedir=${CUPS_CACHEDIR} \ --with-pam-module="unix" \ --enable-ssl CUPS_ETCDIR= ${PREFIX}/etc/cups CUPS_CACHEDIR?= /var/db/cups CUPS_SPOOLDIR= /var/spool/cups CUPS_SOCKET?= /var/run/cups.sock CUPS_PDFTOPS?= ${LOCALBASE}/libexec/xpdf/pdftops WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} # file, dir ownership CUPSGRP= cups CUPSOWN= cups CUPSSYSGRP= wheel # GROUPS/USERS does not work here #GROUPS= cups #USERS= cups # UNIQUENAME must be set before bsd.port.pre.mk so OPTIONSFILE can be included .if defined(CUPS_CLIENT) PORTREVISION= 1 LICENSE= LGPL21 CUPS_SUFFIX= -client OPTIONS_DEFINE= GNUTLS .elif defined(CUPS_IMAGE) PORTREVISION= 1 CUPS_SUFFIX= -image LICENSE= LGPL21 OPTIONS_DEFINE= GNUTLS .else INSTALLS_ICONS= yes PORTREVISION= 1 CUPS_SUFFIX= -base OPTIONS_DEFINE= GNUTLS LIBPAPER PHP PYTHON PAM LDAP DBUS LIBUSB XDG_OPEN GHOSTSCRIPT XPDF AVAHI MDNSRESPONDER OPTIONS_DEFAULT= LIBPAPER GHOSTSCRIPT NO_OPTIONS_SORT= yes .endif LIBUSB_DESC= USB support GHOSTSCRIPT_DESC= Build pdftops with GHOSTSCRIPT XPDF_DESC= Build pdftops with XPDF XDG_OPEN_DESC= Build with XDG_OPEN as browser +NO_STAGE= yes .include .if defined(CUPS_CLIENT) COMMENT2= Library cups INSTALL_WRKSRC= ${WRKSRC}/cups PLIST= ${MASTERDIR}/pkg-plist.client USES+= iconv USE_LDCONFIG= yes PKGMESSAGE= ${NONEXISTENT} DESCR= ${MASTERDIR}/pkg-descr.client .elif defined(CUPS_IMAGE) LIB_DEPENDS+= cups:${PORTSDIR}/${PKGCATEGORY}/cups-client \ jpeg:${PORTSDIR}/graphics/jpeg \ png15:${PORTSDIR}/graphics/png \ tiff:${PORTSDIR}/graphics/tiff # force build if old cups is installed. BUILD_DEPENDS+= cups-client${PKGNAMESUFFIX2}>=${PORTVERSION}:${PORTSDIR}/${PKGCATEGORY}/cups-client COMMENT2= Library cupsimage CONFIGURE_ARGS+= --disable-pdftops INSTALL_WRKSRC= ${WRKSRC}/filter PLIST= ${MASTERDIR}/pkg-plist.image USE_LDCONFIG= yes PKGMESSAGE= ${NONEXISTENT} DESCR= ${MASTERDIR}/pkg-descr.image .else LIB_DEPENDS+= cups:${PORTSDIR}/${PKGCATEGORY}/cups-client LIB_DEPENDS+= cupsimage:${PORTSDIR}/${PKGCATEGORY}/cups-image # force build if old cups is installed. BUILD_DEPENDS+= cups-client${PKGNAMESUFFIX2}>=${PORTVERSION}:${PORTSDIR}/${PKGCATEGORY}/cups-client BUILD_DEPENDS+= cups-image${PKGNAMESUFFIX2}>=${PORTVERSION}:${PORTSDIR}/${PKGCATEGORY}/cups-image COMMENT2= Server USE_RC_SUBR= cupsd PLIST_SUB+= CACHEDIR="${CUPS_CACHEDIR}" .if ${ARCH} == "ia64" BROKEN= stack-protector not supported on ia64 .endif .endif .if defined(CUPS_OVERWRITE_BASE) PLIST_SUB+= OVERWRITE="" CONFIGURE_ARGS+= --with-printcap=/etc/printcap .else PLIST_SUB+= OVERWRITE="@comment " CONFIGURE_ARGS+= --with-printcap=${PREFIX}/etc/printcap .endif .if ${PORT_OPTIONS:MGNUTLS} CONFIGURE_ARGS+= --disable-openssl --enable-gnutls LIB_DEPENDS+= gcrypt:${PORTSDIR}/security/libgcrypt LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls USES+= pkgconfig .else CONFIGURE_ARGS+= --disable-gnutls --enable-openssl WITH_OPENSSL_HACK7= yes .include "${PORTSDIR}/Mk/bsd.openssl.mk" .endif .if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MPHP} CONFIGURE_ARGS+= --with-php USE_PHP= yes USE_PHP_BUILD= yes PLIST_SUB+= PHP="" .else CONFIGURE_ARGS+= --without-php PLIST_SUB+= PHP="@comment " .endif .if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MGHOSTSCRIPT} .if ${PORT_OPTIONS:MXPDF} IGNORE= You must select one and only one option to build pdftops .endif USE_GHOSTSCRIPT= yes CONFIGURE_ARGS+= --enable-pdftops --with-pdftops=${LOCALBASE}/bin/gs PLIST_SUB+= WITH_PDFTOPS="" .elif !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MXPDF} BUILD_DEPENDS+= ${CUPS_PDFTOPS}:${PORTSDIR}/graphics/xpdf RUN_DEPENDS+= ${CUPS_PDFTOPS}:${PORTSDIR}/graphics/xpdf CONFIGURE_ARGS+= --enable-pdftops --with-pdftops=${CUPS_PDFTOPS} PLIST_SUB+= WITH_PDFTOPS="" .else PLIST_SUB+= WITH_PDFTOPS="@comment " .endif .if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MPYTHON} CONFIGURE_ARGS+= --with-python USE_PYTHON= yes .include "${PORTSDIR}/Mk/bsd.python.mk" .endif .if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MLIBPAPER} CONFIGURE_ARGS+= --enable-libpaper LIB_DEPENDS+= paper:${PORTSDIR}/print/libpaper .endif .if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MMDNSRESPONDER} .if ${PORT_OPTIONS:MAVAHI} IGNORE= You must select one and only one option to build for Zeroconf .endif LIB_DEPENDS+= dns_sd:${PORTSDIR}/net/mDNSResponder CONFIGURE_ARGS+= --with-dnssd-includes=${LOCALBASE}/include PLIST_SUB+= WITH_MDNSRESPONDER="" .elif !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MAVAHI} CONFIGURE_ARGS+= --enable-dnssd \ --with-dnssd-libs=${LOCALBASE}/lib/ LIB_DEPENDS+= dns_sd:${PORTSDIR}/net/avahi-libdns CONFIGURE_ARGS+= --with-dnssd-includes=${LOCALBASE}/include/avahi-compat-libdns_sd/ BROKEN= missing function, see http://www.avahi.org/ticket/303 .else CONFIGURE_ARGS+= --disable-dnssd PLIST_SUB+= WITH_MDNSRESPONDER="@comment " .endif .if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MPAM} CONFIGURE_ARGS+= --enable-pam PLIST_SUB+= WITH_PAMD="" .else CONFIGURE_ARGS+= --disable-pam PLIST_SUB+= WITH_PAMD="@comment " .endif .if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MLDAP} USE_OPENLDAP= yes CONFIGURE_ARGS+= --enable-ldap .else CONFIGURE_ARGS+= --disable-ldap .endif .if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MDBUS} LIB_DEPENDS+= dbus-1:${PORTSDIR}/devel/dbus CONFIGURE_ARGS+= --enable-dbus PLIST_SUB+= WITH_DBUS="" .else CONFIGURE_ARGS+= --disable-dbus PLIST_SUB+= WITH_DBUS="@comment " .endif .if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MXDG_OPEN} RUN_DEPENDS+= xdg-open:${PORTSDIR}/devel/xdg-utils .endif .if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MLIBUSB} CPPFLAGS+= -I/usr/include LDFLAGS+= -L/usr/lib .else CONFIGURE_ARGS+= --disable-libusb .endif CONFIGURE_ARGS+= LIBS="-lssp_nonshared" .if defined(CUPS_CLIENT) MAN1= cups-config.1 .elif defined(CUPS_IMAGE) .else MAN1+= cancel.1 \ cupstestdsc.1 \ cupstestppd.1 \ ipptool.1 \ lp.1 \ lpoptions.1 \ lppasswd.1 \ lpq.1 \ lprm.1 \ lpr.1 \ lpstat.1 \ ppdc.1 \ ppdhtml.1 \ ppdi.1 \ ppdmerge.1 \ ppdpo.1 MAN5= classes.conf.5 \ client.conf.5 \ cups-snmp.conf.5 \ cupsd.conf.5 \ ipptoolfile.5 \ mailto.conf.5 \ mime.convs.5 \ mime.types.5 \ ppdcfile.5 \ printers.conf.5 \ subscriptions.conf.5 MAN7= backend.7 \ filter.7 \ notifier.7 MAN8= accept.8 \ cupsaccept.8 \ cupsaddsmb.8 \ cupsctl.8 \ cupsd.8 \ cupsenable.8 \ cupsfilter.8 \ cups-deviced.8 \ cups-driverd.8 \ cups-lpd.8 \ cups-polld.8 \ lpadmin.8 \ lpinfo.8 \ lpmove.8 \ lpc.8 MLINKS= accept.8 reject.8 \ cupsaccept.8 cupsreject.8 \ cupsenable.8 cupsdisable.8 SUB_FILES+= ulpt-cupsd.conf ulpt-cupsd.sh .endif post-patch: .if ${ARCH} == "amd64" @${REINPLACE_CMD} -e 's|@PIEFLAGS@||' ${WRKSRC}/Makedefs.in .endif .if ${PORT_OPTIONS:MMDNSRESPONDER} @${REINPLACE_CMD} -e 's|Darwin|FreeBSD|' \ ${WRKSRC}/backend/Makefile .endif .if ${PORT_OPTIONS:MXDG_OPEN} @${REINPLACE_CMD} -e 's|htmlview|xdg-open|' ${WRKSRC}/desktop/cups.desktop.in .endif @${REINPLACE_CMD} -e '/SILENT/d' ${WRKSRC}/Makedefs.in @${REINPLACE_CMD} -e 's|/etc/cups|${LOCALBASE}/etc/cups|g' ${WRKSRC}/man/*.man* @${REINPLACE_CMD} -e 's|-lpthreads.*;|${PTHREAD_LIBS};|g' \ -e 's|/private/etc/pam.d|${LOCALBASE}/etc/pam.d|' \ -e 's|-D_LARGEFILE64_SOURCE||g' \ ${WRKSRC}/${CONFIGURE_SCRIPT} .if defined(CUPS_CLIENT) @${REINPLACE_CMD} \ -e 's|cups test|cups|' \ -e 's|cups filter |cups |' \ -e 's|driver ppdc scheduler||' \ -e 's|$$.PHPDIR. $$.FONTS.||' \ ${WRKSRC}/Makefile .elif defined(CUPS_IMAGE) @${REINPLACE_CMD} \ -e 's|cups test||' \ -e 's|cups filter |filter |' \ -e 's|driver ppdc scheduler||' \ -e 's|$$.PHPDIR. $$.FONTS.||' \ ${WRKSRC}/Makefile .else @${REINPLACE_CMD} \ -e 's|cups test|test|' \ -e 's|cups filter driver|driver|' \ -e 's|$$.INSTALL_SCRIPT. cups-config|echo skip: cups-config|' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} \ -e 's|cups-config.$$.MAN1EXT. ||' \ ${WRKSRC}/man/Makefile .endif pre-configure:: @${ECHO_MSG} Configuring CUPS with options: @${ECHO_MSG} ${CONFIGURE_ARGS} | fmt post-configure: .if defined(CUPS_CLIENT) @${REINPLACE_CMD} \ -e 's|filter .* templates||' \ ${WRKSRC}/Makedefs .elif defined(CUPS_IMAGE) @${REINPLACE_CMD} \ -e 's|filter .* templates|filter|' \ ${WRKSRC}/Makedefs .else @${REINPLACE_CMD} \ -e 's|filter backend|backend|' \ ${WRKSRC}/Makedefs .endif .if !defined(CUPS_CLIENT) pre-build: ${CP} -p ${LOCALBASE}/lib/libcups.a ${WRKSRC}/cups/ ${CP} -p ${LOCALBASE}/lib/libcups.so ${WRKSRC}/cups/ ${CP} -p ${LOCALBASE}/lib/libcups.so.2 ${WRKSRC}/cups/ .if !defined(CUPS_IMAGE) ${CP} -p ${LOCALBASE}/lib/libcupsimage.so ${WRKSRC}/filter/ ${CP} -p ${LOCALBASE}/lib/libcupsimage.so.2 ${WRKSRC}/filter/ .endif .endif .if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) post-build: cd ${WRKSRC}/filter && ${MAKE} pdftops .endif .if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) pre-su-install: @${INSTALL} -d ${DESKTOPDIR}/ if ! pw groupshow ${CUPSGRP}; then pw groupadd ${CUPSGRP} -g 193; fi if ! pw usershow ${CUPSOWN}; then pw useradd ${CUPSOWN} -g ${CUPSGRP} -u 193 \ -h - -d ${NONEXISTENT} -s /usr/sbin/nologin -c "CUPS Owner"; fi .if defined(CUPS_OVERWRITE_BASE) if test -e /usr/bin/lp; then ${CHMOD} -h 0 /usr/bin/lp; fi if test -e /usr/bin/lpq; then ${CHMOD} -h 0 /usr/bin/lpq; fi if test -e /usr/bin/lpr; then ${CHMOD} -h 0 /usr/bin/lpr; fi if test -e /usr/bin/lprm; then ${CHMOD} -h 0 /usr/bin/lprm; fi if test -e /usr/sbin/lpc; then ${CHMOD} -h 0 /usr/sbin/lpc; fi .endif .endif post-install: .if defined(CUPS_CLIENT) ${INSTALL_SCRIPT} ${WRKSRC}/cups-config ${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/cups/libcups.a ${PREFIX}/lib/ ${INSTALL_MAN} ${WRKSRC}/man/cups-config.man ${PREFIX}/man/man1/cups-config.1 .elif defined(CUPS_IMAGE) ${INSTALL_DATA} ${WRKSRC}/cups/raster.h ${PREFIX}/include/cups/ .else .if ${PORT_OPTIONS:MGHOSTSCRIPT} || ${PORT_OPTIONS:MXPDF} ${INSTALL_PROGRAM} ${WRKSRC}/filter/pdftops ${PREFIX}/libexec/cups/filter/ .endif ${LN} -sf ${PREFIX}/bin/lpr ${PREFIX}/bin/lpr-cups ${INSTALL} -d ${CUPS_ETCDIR}/ ${CP} -p ${WRKSRC}/conf/snmp.conf ${WRKSRC}/conf/snmp.conf.N .for f in cupsd.conf mime.convs mime.types snmp.conf ${INSTALL_DATA} ${WRKSRC}/conf/${f} ${CUPS_ETCDIR}/${f}.N cd ${CUPS_ETCDIR}/; if test ! -f ${f}; then ${CP} -p ${f}.N ${f}; fi .endfor .if ${PORT_OPTIONS:MPAM} @if [ ! -f ${PREFIX}/etc/pam.d/cups ]; then \ ${CP} -p ${PREFIX}/etc/pam.d/cups.default \ ${PREFIX}/etc/pam.d/cups ; \ fi .endif ${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKDIR}/ulpt-cupsd.conf ${EXAMPLESDIR}/ ${INSTALL_SCRIPT} ${WRKDIR}/ulpt-cupsd.sh ${PREFIX}/sbin/ ${INSTALL} -d ${CUPS_SPOOLDIR}/tmp/ ${CHOWN} -R ${CUPSOWN}:${CUPSGRP} ${CUPS_SPOOLDIR}/ ${CHMOD} -R g+w ${CUPS_SPOOLDIR}/ ${INSTALL} -d -m 775 -g ${CUPSGRP} ${CUPS_CACHEDIR} .endif .include diff --git a/print/cups-bjnp/Makefile b/print/cups-bjnp/Makefile index 57391cac4e52..8498c30ef6cc 100644 --- a/print/cups-bjnp/Makefile +++ b/print/cups-bjnp/Makefile @@ -1,20 +1,20 @@ # $FreeBSD$ -# PORTNAME= cups-bjnp PORTVERSION= 1.2.1 PORTREVISION= 4 CATEGORIES= print MASTER_SITES= SF MAINTAINER= shurd@sasktel.net COMMENT= CUPS backend for Canon USB over IP protocol LIB_DEPENDS= cups:${PORTSDIR}/print/cups-client BUILD_DEPENDS= ${LOCALBASE}/libexec/cups/backend:${PORTSDIR}/print/cups-base GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +NO_STAGE= yes .include diff --git a/print/cups-client/Makefile b/print/cups-client/Makefile index 1e9607a5fe51..ac2be0c44825 100644 --- a/print/cups-client/Makefile +++ b/print/cups-client/Makefile @@ -1,15 +1,16 @@ # $FreeBSD$ CATEGORIES= print MAINTAINER= c.petrik.sosa@gmail.com MASTERDIR?= ${.CURDIR}/../cups-base CUPS_CLIENT= yes .if exists(${.CURDIR}/Makefile.local) +NO_STAGE= yes .include "${.CURDIR}/Makefile.local" .endif .include "${MASTERDIR}/Makefile" diff --git a/print/cups-image/Makefile b/print/cups-image/Makefile index d772197524e8..867aa075bfc8 100644 --- a/print/cups-image/Makefile +++ b/print/cups-image/Makefile @@ -1,15 +1,16 @@ # $FreeBSD$ CATEGORIES= print MAINTAINER= c.petrik.sosa@gmail.com MASTERDIR?= ${.CURDIR}/../cups-base CUPS_IMAGE= yes .if exists(${.CURDIR}/Makefile.local) +NO_STAGE= yes .include "${.CURDIR}/Makefile.local" .endif .include "${MASTERDIR}/Makefile" diff --git a/print/cups-pdf/Makefile b/print/cups-pdf/Makefile index a7dcdf90d16b..892f0338789e 100644 --- a/print/cups-pdf/Makefile +++ b/print/cups-pdf/Makefile @@ -1,107 +1,104 @@ -# New ports collection makefile for: cups-pdf -# Date created: Jun 15 2004 -# Whom: Mark Reidel -# +# Created by: Mark Reidel # $FreeBSD$ -# PORTNAME= cups-pdf PORTVERSION= 2.6.1 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://www.cups-pdf.de/src/ \ http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/src/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= simon@olofsson.de COMMENT= A virtual printer for CUPS to produce PDF files LICENSE=GPLv2 LICENSE_FILE=${WRKSRC}/COPYING RUN_DEPENDS= ${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_GHOSTSCRIPT_RUN= yes 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,' .ifdef(PDF_VERSION) .if ${PDF_VERSION} == 1.2 .elif ${PDF_VERSION} == 1.3 .elif ${PDF_VERSION} == 1.4 .elif ${PDF_VERSION} == 1.5 .else 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},' .else .ifdef(OUTPUT_DIRECTORY) SUBST_CMD+= -e 's,\#Out /var/spool/cups-pdf/$${USER},Out ${OUTPUT_DIRECTORY},' .endif .endif .ifdef(LOG_DIRECTORY) SUBST_CMD+= -e "s,\#Log /var/log/cups,Log ${LOG_DIRECTORY}," .endif +NO_STAGE= yes 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=1.2|1.3|1.4|1.5 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-configure: @${REINPLACE_CMD} ${SUBST_CMD} ${WRKSRC}/extra/cups-pdf.conf @${REINPLACE_CMD} -e \ 's,CPCONFIG "/etc/cups/cups-pdf.conf",CPCONFIG "${PREFIX}/etc/cups/cups-pdf.conf",' \ ${WRKSRC}/src/cups-pdf.h do-build: cd ${WRKSRC}/src; ${CC} ${CFLAGS} -o cups-pdf cups-pdf.c do-install: ${MKDIR} ${PREFIX}/libexec/cups/backend ${INSTALL} -o root -g wheel -m 0700 ${WRKSRC}/src/cups-pdf ${PREFIX}/libexec/cups/backend ${MKDIR} ${PREFIX}/share/cups/model ${INSTALL_DATA} ${WRKSRC}/extra/CUPS-PDF.ppd \ ${PREFIX}/share/cups/model/CUPS-PDF.ppd ${MKDIR} ${PREFIX}/etc/cups ${INSTALL_DATA} ${WRKSRC}/extra/cups-pdf.conf \ ${PREFIX}/etc/cups/cups-pdf.conf.sample .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ .endif post-install: @if [ ! -f ${PREFIX}/etc/cups/cups-pdf.conf ]; then \ ${CP} -p ${PREFIX}/etc/cups/cups-pdf.conf.sample \ ${PREFIX}/etc/cups/cups-pdf.conf ; \ fi .include diff --git a/print/cups-pk-helper/Makefile b/print/cups-pk-helper/Makefile index 959de84fbdc7..594a341151ef 100644 --- a/print/cups-pk-helper/Makefile +++ b/print/cups-pk-helper/Makefile @@ -1,23 +1,24 @@ # Created by: Michael Johnson # $FreeBSD$ # $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.5 CATEGORIES= print MASTER_SITES= http://www.freedesktop.org/software/${PORTNAME}/releases/ MAINTAINER= gnome@FreeBSD.org COMMENT= Helper that makes system-config-printer use PolicyKit LIB_DEPENDS= libcups.so:${PORTSDIR}/print/cups-client \ libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit USE_XZ= yes USE_GNOME= glib20 intlhack USES= gettext gmake pathfix pkgconfig GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/libs +NO_STAGE= yes .include diff --git a/print/cups-pstoraster/Makefile b/print/cups-pstoraster/Makefile index 72ceef7ce21a..3fb086cb6513 100644 --- a/print/cups-pstoraster/Makefile +++ b/print/cups-pstoraster/Makefile @@ -1,80 +1,77 @@ -# New ports collection makefile for: cups-pstoraster -# Date created: Jul 13 2002 -# Whom: ports@FreeBSD.org -# +# Created by: ports@FreeBSD.org # $FreeBSD$ -# PORTNAME= cups-pstoraster PORTVERSION= 8.15.4 PORTREVISION= 7 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_EASYSW} MASTER_SITE_SUBDIR= ghostscript/${PORTVERSION} DISTNAME= espgs-${ESPGS_VER}-source DIST_SUBDIR= ghostscript MAINTAINER= rea@FreeBSD.org COMMENT= Postscript interpreter for CUPS printing to non-PS printers LIB_DEPENDS= cupsimage.2:${PORTSDIR}/print/cups-image .if defined(WITH_CJK) RUN_DEPENDS+= ${LOCALBASE}/share/fonts/std.ja_JP/Ryumin-Light:${PORTSDIR}/japanese/font-std \ ${LOCALBASE}/share/ghostscript/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-lib_cidfmap .endif ESPGS_VER= ${PORTVERSION} GS_VERSION= 8.15 WRKSRC= ${WRKDIR}/espgs-${PORTVERSION} DATADIR= ${PREFIX}/share/espgs USE_BZIP2= yes USE_GMAKE= yes # We just need the ghostscript fonts, nothing more USE_GHOSTSCRIPT_RUN= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --without-x --with-gs=espgs MAKE_ARGS= CFLAGS_STANDARD="${CFLAGS} -DUPD_SIGNAL=0" \ DEVICE_DEVS="\$$(DD)cups.dev \$$(DD)pxlcolor.dev \$$(DD)pxlmono.dev" PLIST_SUB= GS_VERSION="${GS_VERSION}" +NO_STAGE= yes pre-everything:: .if !defined(WITH_CJK) @${ECHO_MSG} "" @${ECHO_MSG} "Define WITH_CJK to enable Japanese PostScript documents processing" @${ECHO_MSG} "" .endif pre-configure: ${RM} -f ${WRKSRC}/ijs/config.guess ${WRKSRC}/ijs/missing ${WRKSRC}/ijs/config.sub ${WRKSRC}/ijs/install-sh ${WRKSRC}/ijs/ltmain.sh ${RM} -f ${WRKSRC}/trunk/ijs/config.guess ${WRKSRC}/trunk/ijs/missing ${WRKSRC}/trunk/ijs/config.sub ${WRKSRC}/trunk/ijs/install-sh ${WRKSRC}/trunk/ijs/ltmain.sh post-patch: ${LN} -sf ${WRKSRC}/pstoraster/gdevcups.c ${WRKSRC}/src ${CAT} ${FILESDIR}/cups.contrib.mak >> ${WRKSRC}/src/contrib.mak .for file in pstopxl pstoraster ${REINPLACE_CMD} -e 's:@prefix@:${PREFIX}:g ; \ s:@exec_prefix@:${PREFIX}:g ; \ s:@bindir@:${PREFIX}/bin:g ; \ s:@GS@:espgs:g ; \ s|^GS_LIB="|GS_LIB="${PREFIX}/share/ghostscript/fonts:|' \ ${WRKSRC}/pstoraster/${file}.in .endfor ${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS=@CPPFLAGS@ |g ; \ s|^LDFLAGS=|LDFLAGS=@LDFLAGS@ |g ; \ s|^DEVICE_DEVS|#DEVICE_DEVS|g ; \ s|^gssharedir = @libdir@/ghostscript|gssharedir = @libdir@/espgs| ; \ s|^gsdir = @datadir@/ghostscript|gsdir = @datadir@/espgs|' \ ${WRKSRC}/Makefile.in pre-build: ${MKDIR} ${WRKSRC}/bin ${MKDIR} ${WRKSRC}/obj .include diff --git a/print/cups-samba/Makefile b/print/cups-samba/Makefile index 1bc768c821ae..4acbb478e998 100644 --- a/print/cups-samba/Makefile +++ b/print/cups-samba/Makefile @@ -1,46 +1,41 @@ -# ex:ts=8 -*-mode: makefile-*- -# -# New ports collection makefile for: cups-samba -# Date created: 2004-02-10 -# Whom: John Merryweather Cooper -# +# Created by: John Merryweather Cooper # $FreeBSD$ -# PORTNAME= cups-samba PORTVERSION= 6.0 PORTREVISION= 7 CATEGORIES= print net MASTER_SITES= ${MASTER_SITE_EASYSW} MASTER_SITE_SUBDIR=cups/windows DISTNAME= cups-windows-${PORTVERSION}-source MAINTAINER= mwisnicki+freebsd@gmail.com COMMENT= The Common UNIX Printing System: MS Windows client drivers RUN_DEPENDS= smbspool:${PORTSDIR}/${SAMBA_PORT} \ ${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base SAMBA_PORT?= net/samba36 NO_BUILD= yes NO_WRKSUBDIR= yes DATADIR= ${PREFIX}/share/cups DRIVER_FILES= cups6.inf cups6.ini cupsps6.dll cupsui6.dll SUB_FILES= pkg-message +NO_STAGE= yes pre-install: ${MKDIR} ${DATADIR}/drivers do-install: cd ${WRKSRC} && \ for DRVFILE in ${DRIVER_FILES}; do \ ${INSTALL_DATA} ${WRKSRC}/cups-windows-${PORTVERSION}/i386/$${DRVFILE} ${DATADIR}/drivers; \ done post-install: @${CAT} ${PKGMESSAGE} .include diff --git a/print/cups-smb-backend/Makefile b/print/cups-smb-backend/Makefile index 40f0c50e6d6c..166eb9be094f 100644 --- a/print/cups-smb-backend/Makefile +++ b/print/cups-smb-backend/Makefile @@ -1,26 +1,27 @@ # Created by: Andrew Pantyukhin # $FreeBSD$ PORTNAME= cups-smb-backend PORTVERSION= 1.0 PORTREVISION= 6 CATEGORIES= print MASTER_SITES= # empty DISTFILES= # empty MAINTAINER= c.petrik.sosa@gmail.com COMMENT= CUPS backend for printing to Windows servers RUN_DEPENDS= smbspool:${PORTSDIR}/net/${SAMBA_PORT} \ ${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base NO_BUILD= yes PLIST_FILES= libexec/cups/backend/smb SAMBA_PORT?= samba36 SUB_FILES= pkg-message +NO_STAGE= yes do-install: ${LN} -fs ${PREFIX}/bin/smbspool ${PREFIX}/libexec/cups/backend/smb @${CAT} ${PKGMESSAGE} .include diff --git a/print/cups/Makefile b/print/cups/Makefile index cc26100b5a47..c23f3a6b7f5f 100644 --- a/print/cups/Makefile +++ b/print/cups/Makefile @@ -1,20 +1,21 @@ # Created by: Alan Eldridge # $FreeBSD$ PORTNAME= cups PORTVERSION= 1.5.4 CATEGORIES= print MASTER_SITES= # empty DISTFILES= # empty MAINTAINER= c.petrik.sosa@gmail.com COMMENT= Common UNIX Printing System: Metaport to install complete system BUILD_DEPENDS= espgs:${PORTSDIR}/${PKGCATEGORY}/cups-pstoraster \ cupsd:${PORTSDIR}/${PKGCATEGORY}/cups-base RUN_DEPENDS:= ${BUILD_DEPENDS} NO_BUILD= yes NO_INSTALL= yes +NO_STAGE= yes .include diff --git a/print/deforaos-pdfviewer/Makefile b/print/deforaos-pdfviewer/Makefile index 08fe56be2ee7..ee55a857d5d0 100644 --- a/print/deforaos-pdfviewer/Makefile +++ b/print/deforaos-pdfviewer/Makefile @@ -1,26 +1,27 @@ # Created by: Olivier Cochard-Labbe # $FreeBSD$ PORTNAME= pdfviewer PORTVERSION= 0.0.1 CATEGORIES= print MASTER_SITES= http://www.defora.org/os/download/download/3686/ DISTNAME= PDFViewer-${PORTVERSION} PKGNAMEPREFIX= deforaos- MAINTAINER= olivier@cochard.me COMMENT= DeforaOS desktop PDF viewer LICENSE= GPLv3 LIB_DEPENDS= System:${PORTSDIR}/devel/deforaos-libsystem \ Desktop:${PORTSDIR}/x11/deforaos-libdesktop \ poppler-glib:${PORTSDIR}/graphics/poppler-glib MAKE_ARGS+= PREFIX=${PREFIX} USES= pkgconfig USE_GNOME= gtk20 desktopfileutils PLIST_FILES= bin/pdfviewer \ share/applications/pdfviewer.desktop +NO_STAGE= yes .include diff --git a/print/detex/Makefile b/print/detex/Makefile index fba8fe0ed241..915f46cf7dff 100644 --- a/print/detex/Makefile +++ b/print/detex/Makefile @@ -1,21 +1,22 @@ # Created by: David O'Brien (obrien@NUXI.com) # $FreeBSD$ PORTNAME= detex PORTVERSION= 2.8 CATEGORIES= print MASTER_SITES= http://www.cs.purdue.edu/homes/trinkle/detex/ EXTRACT_SUFX= .tar MAINTAINER= ports@FreeBSD.org COMMENT= Strips TeX/LaTeX codes from a file MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DNO_MALLOC_DECL -DHAVE_STRING_H" MAN1= detex.1 PLIST_FILES= bin/detex +NO_STAGE= yes do-install: ${INSTALL_PROGRAM} ${WRKSRC}/detex ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${MAN1}l ${MANPREFIX}/man/man1/${MAN1} .include diff --git a/print/dk-acroread8/Makefile b/print/dk-acroread8/Makefile index aa9446a06ee5..a7e0f33d63d2 100644 --- a/print/dk-acroread8/Makefile +++ b/print/dk-acroread8/Makefile @@ -1,15 +1,12 @@ -# New ports collection makefile for: dk-acroread8 -# Date created: 27 December 2007 -# Whom: hrs -# +# Created by: hrs # $FreeBSD$ -# PKGNAMEPREFIX= dk- MASTERDIR= ${.CURDIR}/../../print/acroread8 DISTINFO_FILE= ${.CURDIR}/distinfo ADOBE_LANG= DAN +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/dot2tex/Makefile b/print/dot2tex/Makefile index af779b297ac1..2fd896bbf35f 100644 --- a/print/dot2tex/Makefile +++ b/print/dot2tex/Makefile @@ -1,25 +1,22 @@ -# New ports collection makefile for: dot2tex -# Date created: 2010-09-14 -# Whom: Romain Tartiere -# +# Created by: Romain Tartiere # $FreeBSD$ -# PORTNAME= dot2tex PORTVERSION= 2.8.7 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} MAINTAINER= romain@FreeBSD.org COMMENT= A Graphviz to LaTeX converter RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pyparsing.py:${PORTSDIR}/devel/py-parsing \ dot:${PORTSDIR}/graphics/graphviz USE_PYDISTUTILS=yes USE_PYTHON= yes # The .tar.gz sucks! USE_ZIP= yes +NO_STAGE= yes .include diff --git a/print/dvi2tty/Makefile b/print/dvi2tty/Makefile index 4938f7155546..cb3998ccf7e4 100644 --- a/print/dvi2tty/Makefile +++ b/print/dvi2tty/Makefile @@ -1,30 +1,27 @@ -# New ports collection makefile for: dvi2tty -# Date created: 17th February 1997 -# Whom: Joel Sutton -# +# Created by: Joel Sutton # $FreeBSD$ -# PORTNAME= dvi2tty PORTVERSION= 5.3.4 CATEGORIES= print MASTER_SITES= http://www.mesa.nl/pub/dvi2tty/ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= A dvi-file previewer for text only devices CONFLICTS= ja-dvi2tty-[0-9]* MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${STRIP}" MAN1= disdvi.1 dvi2tty.1 PLIST_FILES= bin/disdvi bin/dvi2tty +NO_STAGE= yes do-install: .for name in disdvi dvi2tty ${INSTALL_PROGRAM} ${WRKSRC}/${name} ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${name}.1 ${MANPREFIX}/man/man1 .endfor .include diff --git a/print/dvipdfmx/Makefile b/print/dvipdfmx/Makefile index d8d2f3d1de71..7b8d8c870ef0 100644 --- a/print/dvipdfmx/Makefile +++ b/print/dvipdfmx/Makefile @@ -1,48 +1,49 @@ # Created by: Shen Chuan-Hsing # $FreeBSD$ PORTNAME= dvipdfmx PORTVERSION= 20110311 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \ http://project.ktug.or.kr/dvipdfmx/snapshot/latest/ \ http://project.ktug.or.kr/dvipdfmx/snapshot/archive/ MASTER_SITE_SUBDIR= dviware/dvipdfmx DIST_SUBDIR= dvipdfmx MAINTAINER= hrs@FreeBSD.org COMMENT= Dvipdfm with Asian languages by CID-keyed font technology support LICENSE= GPLv2 # (or later) LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ paper:${PORTSDIR}/print/libpaper RUN_DEPENDS= ${ADOBECMAPDIR}/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps USE_TEX= tetex base texmf GNU_CONFIGURE= yes CONFIGURE_ARGS= --datadir=${LOCALBASE}/share PLIST_SUB= DVIPDFMXDIR=${DVIPDFMXDIR} \ FONTMAPDIR=${FONTMAPDIR} \ GLYPHMAPDIR=${GLYPHMAPDIR} \ FONTCMAPDIR=${FONTCMAPDIR} \ MKTEXLSR=${MKTEXLSR} \ ADOBECMAPDIR=${ADOBECMAPDIR} MAN1= extractbb.1 DVIPDFMXDIR= ${TEXMFDIR}/dvipdfmx FONTMAPDIR= ${TEXMFDIR}/fonts/map/dvipdfmx GLYPHMAPDIR= ${TEXMFDIR}/fonts/map/glyphlist FONTCMAPDIR= ${TEXMFDIR}/fonts/cmap ADOBECMAPDIR= ${LOCALBASE}/share/fonts/adobe-cmaps MKTEXLSR= ${LOCALBASE}/bin/mktexlsr +NO_STAGE= yes post-install: ${MKDIR} ${LOCALBASE}/${FONTCMAPDIR} ${LN} -s -f ${ADOBECMAPDIR} \ ${LOCALBASE}/${FONTCMAPDIR}/adobe-cmaps ${MKTEXLSR} ${PREFIX}/${TEXMFDIR} .include diff --git a/print/dvips/Makefile b/print/dvips/Makefile index d884ada4ce10..d7522e17d2b2 100644 --- a/print/dvips/Makefile +++ b/print/dvips/Makefile @@ -1,38 +1,35 @@ -# New ports collection makefile for: dvips -# Date created: 30 September 1994 -# Whom: jmz -# +# Created by: jmz # $FreeBSD$ -# PORTNAME= dvips PORTVERSION= 5.76 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= jmz DISTNAME= dvips576 MAINTAINER= gabor@FreeBSD.org COMMENT= Convert a TeX DVI file to PostScript CONFLICTS= *teTeX* WRKSRC= ${WRKDIR}/dvips576/dvips IS_INTERACTIVE= yes MAN1= dvips.1 afm2tfm.1 +NO_STAGE= yes pre-install: @${MKDIR} ${PREFIX}/share/texmf post-install: @${MKDIR} ${PREFIX}/share/texmf/fonts/vf ${PREFIX}/share/texmf/fonts/tfm ${PREFIX}/share/texmf/tex/latex @${INSTALL_DATA} ${WRKDIR}/dvips576/dvips/*.sty ${PREFIX}/share/texmf/tex/latex @${INSTALL_DATA} ${WRKDIR}/dvips576/PSlatex/*.sty ${PREFIX}/share/texmf/tex/latex @${INSTALL_DATA} ${WRKDIR}/dvips576/PStfms/*.tfm ${PREFIX}/share/texmf/fonts/tfm @${INSTALL_DATA} ${WRKDIR}/dvips576/PSvfs/*.vf ${PREFIX}/share/texmf/fonts/vf @if [ -f ${WRKDIR}/post-install ]; then ${SH} ${WRKDIR}/post-install; fi pre-clean: @${RM} -f ${WRKDIR}/post-install .include diff --git a/print/dvips2ascii/Makefile b/print/dvips2ascii/Makefile index 99ba600ab18d..14684abca5b7 100644 --- a/print/dvips2ascii/Makefile +++ b/print/dvips2ascii/Makefile @@ -1,26 +1,23 @@ -# New ports collection makefile for: dvips2ascii -# Date created: 7 Aug 1997 -# Whom: eserte@cs.tu-berlin.de -# +# Created by: eserte@cs.tu-berlin.de # $FreeBSD$ -# 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 PLIST_FILES= bin/dvips2ascii +NO_STAGE= yes do-build: ${MV} ${WRKSRC}/dvips2ascii ${WRKSRC}/dvips2ascii.orig ${SED} -e 's;#!.*perl;#!${PERL};' \ < ${WRKSRC}/dvips2ascii.orig > ${WRKSRC}/dvips2ascii do-install: ${INSTALL_SCRIPT} ${WRKSRC}/dvips2ascii ${PREFIX}/bin .include diff --git a/print/dvipsk-tetex/Makefile b/print/dvipsk-tetex/Makefile index 9aa68a4038e8..33eeb4ac9ce5 100644 --- a/print/dvipsk-tetex/Makefile +++ b/print/dvipsk-tetex/Makefile @@ -1,100 +1,101 @@ # $FreeBSD$ PORTNAME= dvipsk-tetex PORTVERSION= 5.95a PORTREVISION= 7 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \ ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/dvips/:1 MASTER_SITE_SUBDIR= obsolete/systems/unix/teTeX/3.0/distrib DISTNAME= ${TETEX_SRC} DIST_SUBDIR= teTeX MAINTAINER= hrs@FreeBSD.org COMMENT= Convert a TeX DVI file to PostScript LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ wwwcore.1:${PORTSDIR}/www/libwww \ t1.5:${PORTSDIR}/devel/t1lib USE_TEX= base texmf PLIST_SUB= TEXMFDIR=${TEXMFDIR} \ TEXMFDISTDIR=${TEXMFDISTDIR} \ TEXMFCONFIGDIR=${TEXMFCONFIGDIR} \ MKTEXLSR=${MKTEXLSR} PATCH_WRKSRC= ${WRKDIR}/${TETEX_SRC} BUILD_WRKSRC= ${WRKDIR}/${DISTNAME}/texk/dvipsk INSTALL_WRKSRC= ${WRKDIR}/${DISTNAME}/texk/dvipsk GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-multiplatform \ --without-texinfo \ --without-texi2html \ --without-dialog \ --with-system-ncurses --with-system-zlib \ --with-system-wwwlib --with-libwww-libdir=${LIBWWW_PREFIX}/lib \ --with-libwww-include=${LIBWWW_PREFIX}/include/w3c-libwww \ --with-system-pnglib --with-pnglib-libdir=${LIBPNG_PREFIX}/lib \ --with-pnglib-include=${LIBPNG_PREFIX}/include \ --with-system-t1lib --with-t1lib-libdir=${LIBT1_PREFIX}/lib \ --with-t1lib-include=${LIBT1_PREFIX}/include \ --without-xdvik --without-oxdvik CONFLICTS= *-teTeX-[0-9]* \ ja-ptex-*-[0-9]* \ dvips-[0-9]* \ *-dvips-[0-9]* \ *-dvipsk-[0-9]* \ texlive-[0-9]* tex-web2c-[0-9]* \ tex-kpathsea-[0-9]* tex-xdvik-[0-9]* \ tex-dvipsk-[0-9]* tex-dvipdfmx-[0-9]* MAN1= dvips.1 afm2tfm.1 MLINKS= dvips.1 odvips.1 INFO= dvips .if defined(WITH_LETTERSIZE) FLAVOR+= letter PAPERSIZE= letter .else PAPERSIZE= a4 .endif TETEX_SRC= tetex-src-3.0 MKTEXLSR?= ${LOCALBASE}/bin/mktexlsr TEXMFDIR= share/texmf TEXMFLOCALDIR= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCALDIR}/ls-R TEXMFDISTDIR= share/texmf-dist TEXMFDIST_LSR= ${TEXMFDISTDIR}/ls-R TEXMFCONFIGDIR= share/texmf-config TEXMFCONFIG_LSR=${TEXMFCONFIGDIR}/ls-R TEXCONFIGBIN= ${LOCALBASE}/bin/texconfig-sys DVIPSDIR= ${LOCALBASE}/${TEXMFDIR}/dvips/config DVIPSCONFDIR= ${LOCALBASE}/${TEXMFCONFIGDIR}/dvips/config LIBPNG_PREFIX?= ${LOCALBASE} LIBWWW_PREFIX?= ${LOCALBASE} LIBT1_PREFIX?= ${LOCALBASE} LIBGD_PREFIX?= ${LOCALBASE} PKGINSTALL= ${WRKDIR}/pkg-install.sh PKGDEINSTALL= ${WRKDIR}/pkg-install.sh PKGINSTALL_SUB= PAPERSIZE=${PAPERSIZE} \ MKTEXLSR=${MKTEXLSR} \ DVIPSDIR=${DVIPSDIR} \ DVIPSCONFDIR=${DVIPSCONFDIR} \ TEXCONFIGBIN=${TEXCONFIGBIN} \ LOCALBASE=${LOCALBASE} # dvipsk is not compatible with -funroll-loops on 5.x CFLAGS:= ${CFLAGS:N-funroll-loops} +NO_STAGE= yes pre-build: ${SED} ${PKGINSTALL_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ < ${FILESDIR}/pkg-install.in > ${PKGINSTALL} ${CHMOD} 0755 ${PKGINSTALL} post-install: @${PKGINSTALL} ${PKGNAME} POST-INSTALL .include diff --git a/print/dviselect/Makefile b/print/dviselect/Makefile index 1d6018c36b6b..793a83b5b11d 100644 --- a/print/dviselect/Makefile +++ b/print/dviselect/Makefile @@ -1,25 +1,22 @@ -# New ports collection makefile for: dviselect -# Date created: 12 October 1994 -# Whom: jmz -# +# Created by: jmz # $FreeBSD$ -# PORTNAME= dviselect PORTVERSION= 1.3 PORTREVISION= 2 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= jmz DISTNAME= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Extract pages from DVI files SCRIPTS_ENV= CFLAGS="${CFLAGS}" MAN1= dviselect.1 PLIST_FILES= bin/dviselect +NO_STAGE= yes .include diff --git a/print/dvisvg/Makefile b/print/dvisvg/Makefile index 51f91e5b30b1..8d93161f9ce9 100644 --- a/print/dvisvg/Makefile +++ b/print/dvisvg/Makefile @@ -1,55 +1,51 @@ -# ex:ts=8 -# Ports collection makefile for: dvisvg -# Date created: Apr 15, 2005 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= dvisvg DISTVERSION= 0.7.1d PORTREVISION= 5 CATEGORIES= print MASTER_SITES= http://dvisvg.sourceforge.net/files/ MAINTAINER= ports@FreeBSD.org COMMENT= Converter from DVI to SVG WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} USE_GHOSTSCRIPT_RUN= yes USE_TEX= base texmf 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}/${TEXMFLOCAL}/dvisvg \ TEXMFLOCAL= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr PLIST_FILES= bin/dvisvg MAN1= dvisvg.1 +NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e "s,/usr/share/texmf,${LOCALBASE}/${TEXMFLOCAL}," ${WRKSRC}/version.h do-install: ${INSTALL_SCRIPT} ${WRKSRC}/dvisvg ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/dvisvg.man ${MAN1PREFIX}/man/man1/dvisvg.1 @${MKDIR} ${PREFIX}/${TEXMFLOCAL}/${PORTNAME} .for file in dvisvg.map font2svg.enc font2svg.ps ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/${TEXMFLOCAL}/${PORTNAME} @${ECHO_CMD} "${TEXMFLOCAL}/${PORTNAME}/${file}" >> ${TMPPLIST} .endfor @${ECHO_CMD} "@dirrm ${TEXMFLOCAL}/${PORTNAME}" >> ${TMPPLIST} @${ECHO_CMD} '@exec ${MKTEXLSR}' >> ${TMPPLIST} @${ECHO_CMD} '@unexec ${MKTEXLSR}' >> ${TMPPLIST} post-install: @${MKTEXLSR} .include diff --git a/print/easylatex/Makefile b/print/easylatex/Makefile index 7c1d9067be2a..2e66bb1d2a51 100644 --- a/print/easylatex/Makefile +++ b/print/easylatex/Makefile @@ -1,42 +1,39 @@ -# New ports collection makefile for: easylatex -# Date created: 2006-02-15 -# Whom: Nicola Vitale -# +# Created by: Nicola Vitale # $FreeBSD$ -# PORTNAME= easylatex PORTVERSION= 0.080 PORTREVISION= 0 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:${PORTSDIR}/devel/p5-Getopt-Declare NO_BUILD= yes USES= perl5 +NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's,/usr/lib/easylatex,${DATADIR},' \ ${WRKSRC}/${PORTNAME}.pl do-install: # script/data ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME} @${MKDIR} ${DATADIR} cd ${WRKSRC}/${PORTNAME} && ${COPYTREE_SHARE} . ${DATADIR} # docs, examples .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/TUTORIAL ${DOCSDIR} .endif .if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/demo.txt ${WRKSRC}/demo-no-graph.txt ${EXAMPLESDIR} .endif .include diff --git a/print/enscript-a4/Makefile b/print/enscript-a4/Makefile index 15868cff90df..3f7392a6ccc1 100644 --- a/print/enscript-a4/Makefile +++ b/print/enscript-a4/Makefile @@ -1,15 +1,12 @@ -# New ports collection makefile for: enscript (a4) -# Date created: 24 Jul, 1997 -# Whom: kline -# +# Created by: kline # $FreeBSD$ -# CONFLICTS= enscript-letter-* enscript-letterdj-* PAPERSIZE= a4 PS= A4 MASTERDIR= ${.CURDIR}/../enscript-letter +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/enscript-letter/Makefile b/print/enscript-letter/Makefile index 3af06d6d8aa8..78acb34ff343 100644 --- a/print/enscript-letter/Makefile +++ b/print/enscript-letter/Makefile @@ -1,37 +1,34 @@ -# New ports collection makefile for: enscript (letter) -# Date created: 24 Jul, 1997 -# Whom: kline -# +# Created by: kline # $FreeBSD$ -# PORTNAME= enscript PORTVERSION= 1.6.4 PORTREVISION= 5 CATEGORIES+= print MASTER_SITES= http://www.codento.com/people/mtr/genscript/ PKGNAMESUFFIX= -${PAPERSIZE} DISTNAME= enscript-${PORTVERSION} MAINTAINER?= rafan@FreeBSD.org COMMENT= ASCII to PostScript filter GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-nls --with-media=${PS} CONFLICTS?= enscript-a4-* enscript-letterdj-* INFO= enscript MAN1= diffpp.1 enscript.1 sliceprint.1 states.1 PAPERSIZE?= letter PS?= Letter .if (${PAPERSIZE} != a4 && ${PAPERSIZE} != letter && ${PAPERSIZE} != letterdj) +NO_STAGE= yes .BEGIN: @${ECHO} "Error: invalid value for PAPERSIZE: \"${PAPERSIZE}\"" @${ECHO} "Possible values are: a4, letter, or letterdj" @${FALSE} .endif .include diff --git a/print/enscript-letterdj/Makefile b/print/enscript-letterdj/Makefile index 47ed2a623cfe..94cc70fa362e 100644 --- a/print/enscript-letterdj/Makefile +++ b/print/enscript-letterdj/Makefile @@ -1,15 +1,12 @@ -# New ports collection makefile for: enscript (letterdj) -# Date created: 24 Jul, 1997 -# Whom: kline -# +# Created by: kline # $FreeBSD$ -# CONFLICTS= enscript-a4-* enscript-letter-* PAPERSIZE= letterdj PS= Letterdj MASTERDIR= ${.CURDIR}/../enscript-letter +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/enscriptfonts/Makefile b/print/enscriptfonts/Makefile index 1f45e2277b8b..34149f203b5d 100644 --- a/print/enscriptfonts/Makefile +++ b/print/enscriptfonts/Makefile @@ -1,33 +1,30 @@ -# New ports collection makefile for: enscriptfonts -# Date created: 15 June, 1998 -# Whom: kline -# +# Created by: kline # $FreeBSD$ -# PORTNAME= enscriptfonts PORTVERSION= 0.81 CATEGORIES= print MASTER_SITES= http://muuz.deadbbs.com/FreeBSD/xenscript/ DISTNAME= enscript_fonts-0.81 EXTRACT_SUFX= .tbz MAINTAINER= araujo@FreeBSD.org COMMENT= More than 120 free- and share-ware fonts to extend enscript-1.5 NO_WRKSUBDIR= YES NO_MANCOMPRESS= YES NO_BUILD= YES SUB_FILES+= pkg-message # user should choose their own version #RUN_DEPENDS= enscript:${PORTSDIR}/print/enscript-letter +NO_STAGE= yes do-install: @${MKDIR} ${PREFIX}/share/enscript/xenscript @${CP} -p ${WRKDIR}/* ${PREFIX}/share/enscript/xenscript post-install: @${CAT} ${PKGMESSAGE} .include diff --git a/print/epsonepl/Makefile b/print/epsonepl/Makefile index 11c4efb0498b..7b91fae18e9d 100644 --- a/print/epsonepl/Makefile +++ b/print/epsonepl/Makefile @@ -1,34 +1,31 @@ -# New ports collection makefile for: epsonepl -# Date created: 14 February 2003 -# Whom: Simon 'corecode' Schubert -# +# Created by: Simon 'corecode' Schubert # $FreeBSD$ -# PORTNAME= epsonepl PORTVERSION= 0.2.2 PORTREVISION= 4 CATEGORIES= print MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/GS-IJS%20Plugin%20v${PORTVERSION} DISTNAME= ${PORTNAME}ijs-${PORTVERSION} EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Printer filter for EPSON EPL-5700L etc USE_GHOSTSCRIPT_RUN= yes LIB_DEPENDS= ijs.1:${PORTSDIR}/print/libijs MAKEFILE= ${FILESDIR}/Makefile +NO_STAGE= yes post-extract: @cd ${WRKSRC} && ${LS} ijs* | ${GREP} -v ${PORTNAME} | ${XARGS} ${RM} post-install: @${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.conf.sample ${PREFIX}/etc @${MKDIR} ${DATADIR} @${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.apsfilter ${DATADIR} @${SED} -e 's#%%PREFIX%%#${PREFIX}#' ${PKGMESSAGE} .include diff --git a/print/es-acroread8/Makefile b/print/es-acroread8/Makefile index 5e9e9040afd5..f2e1bed1010b 100644 --- a/print/es-acroread8/Makefile +++ b/print/es-acroread8/Makefile @@ -1,15 +1,12 @@ -# New ports collection makefile for: es-acroread8 -# Date created: 27 December 2007 -# Whom: hrs -# +# Created by: hrs # $FreeBSD$ -# PKGNAMEPREFIX= es- MASTERDIR= ${.CURDIR}/../../print/acroread8 DISTINFO_FILE= ${.CURDIR}/distinfo ADOBE_LANG= ESP +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/examplep/Makefile b/print/examplep/Makefile index ced9e89e1137..c8ba5c6e40c8 100644 --- a/print/examplep/Makefile +++ b/print/examplep/Makefile @@ -1,47 +1,45 @@ -# New ports collection makefile for: examplep -# Date created: 2012-05-11 -# Whom: Hiroto Kagotani -# +# Created by: Hiroto Kagotani # $FreeBSD$ PORTNAME= examplep PORTVERSION= 0.04 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/latex2e/contrib/ DISTNAME= ${PORTNAME} MAINTAINER= hiroto.kagotani@gmail.com COMMENT= LaTeX style files for typesetting verbatim source code listings WRKSRC= ${WRKDIR}/${PORTNAME} USE_ZIP= yes USE_TEX= latex PLIST= ${WRKDIR}/pkg-plist TEXMFDIR= share/texmf-local MKTEXLSR= ${LOCALBASE}/bin/mktexlsr CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME} CLASS_FILES= ${PORTNAME}.sty codep.sty verbfwr.sty +NO_STAGE= yes do-build: pre-install: ${RM} -f ${PLIST} .for F in ${CLASS_FILES} ${ECHO_CMD} "${CLASSDIR}/${F}" >> ${PLIST} .endfor ${ECHO_CMD} "@dirrm ${CLASSDIR}" >> ${PLIST} ${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST} ${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST} do-install: @${MKDIR} ${PREFIX}/${CLASSDIR} ${ECHO_CMD} ${CLASS_FILES} ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} post-install: ${MKTEXLSR} .include diff --git a/print/fi-acroread8/Makefile b/print/fi-acroread8/Makefile index ce421bb4720d..b6c20fb40b6e 100644 --- a/print/fi-acroread8/Makefile +++ b/print/fi-acroread8/Makefile @@ -1,15 +1,12 @@ -# New ports collection makefile for: fi-acroread8 -# Date created: 27 December 2007 -# Whom: hrs -# +# Created by: hrs # $FreeBSD$ -# PKGNAMEPREFIX= fi- MASTERDIR= ${.CURDIR}/../../print/acroread8 DISTINFO_FILE= ${.CURDIR}/distinfo ADOBE_LANG= SUO +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/flpsed/Makefile b/print/flpsed/Makefile index d1c2503af113..bca46b2dbe4a 100644 --- a/print/flpsed/Makefile +++ b/print/flpsed/Makefile @@ -1,50 +1,47 @@ -# New ports collection makefile for: flpsed -# Date created: 6 January 2005 -# Whom: Fernan Aguero -# +# Created by: Fernan Aguero # $FreeBSD$ -# PORTNAME= flpsed PORTVERSION= 0.7.0 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://www.ecademix.com/JohannesHofmann/ MAINTAINER= bf@FreeBSD.org COMMENT= WYSIWYG Postscript annotator LIB_DEPENDS+= fltk.1:${PORTSDIR}/x11-toolkits/fltk GNU_CONFIGURE= yes USE_GHOSTSCRIPT=yes USE_GMAKE= yes PLIST_FILES= bin/flpsed MAN1= flpsed.1 PORTDOCS= README +NO_STAGE= yes post-configure: @${FIND} -X ${WRKSRC} -type f -name Makefile | ${XARGS} \ ${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/flpsed ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/flpsed.1 ${MANPREFIX}/man/man1 .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif 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 7a46d994e7f3..66c618fa9e77 100644 --- a/print/font-amsfonts/Makefile +++ b/print/font-amsfonts/Makefile @@ -1,32 +1,29 @@ -# New ports collection makefile for: font-amsfonts -# Date created: June 13, 2011 -# Whom: hrs -# +# Created by: hrs # $FreeBSD$ -# PORTNAME= amsfonts PORTVERSION= 3.02 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= hrs PKGNAMEPREFIX= font- DIST_SUBDIR= teTeX MAINTAINER= hrs@FreeBSD.org COMMENT= Computer Modern and standard fonts for TeX PLIST_SUB= FONTSDIR=${FONTSDIR} NO_BUILD= yes FONTSDIR= share/fonts/${PORTNAME} +NO_STAGE= yes do-install: ${MKDIR} ${PREFIX}/${FONTSDIR} cd ${PREFIX}/${FONTSDIR} && ${TAR} -x -z -U --strip-components 1 -f \ ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${FONTSDIR} ${CHMOD} -R go-w ${PREFIX}/${FONTSDIR} .include diff --git a/print/font2svg/Makefile b/print/font2svg/Makefile index a8fa44cc0ccc..25303225aea7 100644 --- a/print/font2svg/Makefile +++ b/print/font2svg/Makefile @@ -1,37 +1,33 @@ -# ex:ts=8 -# Ports collection makefile for: font2svg -# Date created: Jan 10, 2003 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= font2svg PORTVERSION= 1.0 PORTREVISION= 4 CATEGORIES= print MASTER_SITES= http://www.gdv.uni-hannover.de/~peinecke/font2svg/ MAINTAINER= ports@FreeBSD.org COMMENT= All font to svg-font converter RUN_DEPENDS= bash:${PORTSDIR}/shells/bash USE_GHOSTSCRIPT_RUN= yes NO_BUILD= yes PLIST_FILES= bin/font2svg %%DATADIR%%/encodings %%DATADIR%%/font2svg.ps PLIST_DIRS= %%DATADIR%% +NO_STAGE= yes 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 ${PREFIX}/bin/font2svg @${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/encodings ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/font2svg.ps ${DATADIR} .include diff --git a/print/fontforge/Makefile b/print/fontforge/Makefile index 0b4ac6ccc3aa..5db4461954ae 100644 --- a/print/fontforge/Makefile +++ b/print/fontforge/Makefile @@ -1,148 +1,149 @@ # Created by: KANOU Hiroki # $FreeBSD$ PORTNAME= fontforge DISTVERSION= 20120731-b PORTREVISION= 2 CATEGORIES= print MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source \ SF/freetype/${PORTNAME}/${PORTVERSION}:freetype \ http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/freetype2/:freetype \ http://www.funet.fi/pub/mirrors/ftp.freetype.org/freetype2/:freetype \ http://ftp.sunet.se/pub/text-processing/freetype/freetype2/:freetype \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/freetype/&,}:freetype \ ftp://ftp.freetype.org/freetype/freetype2/:freetype DISTFILES= ${PORTNAME}_full-${DISTVERSION}.tar.bz2 MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Type 1/TrueType/OpenType/bitmap font editor LIB_DEPENDS= uninameslist:${PORTSDIR}/textproc/libuninameslist \ tiff:${PORTSDIR}/graphics/tiff \ jpeg:${PORTSDIR}/graphics/jpeg \ png15:${PORTSDIR}/graphics/png \ gif:${PORTSDIR}/graphics/giflib \ xml2:${PORTSDIR}/textproc/libxml2 \ spiro:${PORTSDIR}/graphics/libspiro USE_BZIP2= yes USES= gettext iconv USE_XORG= x11 xi ice xkbui USE_GMAKE= yes PATCH_STRIP= -l OPTIONS_DEFINE= DOCS MULTILAYER FREETYPE PLUGINS PYTHON CAIRO PANGO OPTIONS_DEFAULT= DOCS MULTILAYER PLUGINS MULTILAYER_DESC= type3/SVG multilayer font support +NO_STAGE= yes .include .if ${PORT_OPTIONS:MDOCS} DOC_VERSION= ${DISTVERSION} MASTER_SITES+= SF/${PORTNAME}/${PORTNAME}-docs:docs DOCFILES= ${PORTNAME}_htdocs-${DOC_VERSION}.tar.bz2 DISTFILES+= ${DOCFILES:C/$/:docs/} .endif .if ${PORT_OPTIONS:MMULTILAYER} WITH_TYPE3_MULTILAYER= --enable-type3 .else WITH_TYPE3_MULTILAYER= --disable-type3 .endif .if ${PORT_OPTIONS:MFREETYPE} FREETYPE_VERSION= 2.4.11 FREETYPE_SRC= freetype-${FREETYPE_VERSION}.tar.bz2 DISTFILES+= ${FREETYPE_SRC:C/$/:freetype/} WITH_FREETYPE_SRC= --enable-freetype --with-freetype-bytecode \ --with-freetype-src=${WRKDIR}/freetype-${FREETYPE_VERSION} LIB_DEPENDS+= freetype:${PORTSDIR}/print/freetype2 .else WITH_FREETYPE_SRC= --disable-freetype --without-freetype-bytecode \ --without-freetype-src .endif CONFIGURE_ARGS= ${WITH_TYPE3_MULTILAYER} --enable-devicetables ${WITH_FREETYPE_SRC} \ --enable-pasteafter --enable-tilepath CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= yes GNU_CONFIGURE= yes USE_AUTOTOOLS= libtool MAN1= fontforge.1 fontimage.1 fontlint.1 sfddiff.1 .if ${PORT_OPTIONS:MPLUGINS} PLIST_SUB+= NO_PLUGINS="" .else PLIST_SUB+= NO_PLUGINS="@comment " .endif .if ${PORT_OPTIONS:MPYTHON} USE_PYTHON= yes ONLY_FOR_ARCHS= i386 ONLY_FOR_ARCHS_REASON= Python on non-i386 systems doesn't link with Fontforge (issues with use of Python's .a file) CONFIGURE_ARGS+= --with-python LDFLAGS+= -lutil .else CONFIGURE_ARGS+= --without-python .endif .if ${PORT_OPTIONS:MCAIRO} LIB_DEPENDS+= cairo:${PORTSDIR}/graphics/cairo CONFIGURE_ARGS+= --with-cairo .else CONFIGURE_ARGS+= --without-cairo .endif .if ${PORT_OPTIONS:MPANGO} USE_GNOME+= pango CONFIGURE_ARGS+= --with-pango .else CONFIGURE_ARGS+= --without-pango .endif pre-everything:: .if !${PORT_OPTIONS:MMULTILAYER} @${ECHO_MSG} "If your machine has small memory and you have to edit fonts with a lot" @${ECHO_MSG} "of glyphs, you can save memory by enabling the MULTILAYER option." @${ECHO_MSG} "Enabling multilayer editing increases memory consumption per glyph." @${ECHO_MSG} "" .endif .if ${PORT_OPTIONS:MDOCS} post-extract: ${MKDIR} ${WRKDIR}/html ${WRKSRC}/cidmap for doc in ${DOCFILES} ; \ do ${TAR} -xjC ${WRKDIR}/html -f ${DISTDIR}/$${doc} ; \ done # The 20080607 and up versions of fontforge's documentation doesn't contain the cidmaps, # but I'm leaving this here just in case they are added back in a later version. # ${TAR} -xzC ${WRKSRC}/cidmap -f ${WRKDIR}/html/cidmaps.tgz # ${RM} ${WRKDIR}/html/cidmaps.tgz .endif post-patch: @${CHMOD} +x ${WRKSRC}/configure .if ${PORT_OPTIONS:MPLUGINS} post-build: cd ${WRKSRC}/plugins; ${GMAKE} .endif post-install: ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR} .if ${PORT_OPTIONS:MPLUGINS} ${MKDIR} ${PREFIX}/share/fontforge/plugins (cd ${WRKSRC}/plugins; ${INSTALL_DATA} .libs/* ${PREFIX}/share/fontforge/plugins) .endif .if ${PORT_OPTIONS:MDOCS} # Ditto the above note in post-extract for these comments # ${MKDIR} ${DOCSDIR}/flags ${INSTALL_DATA} ${WRKDIR}/html/*.* ${DOCSDIR} # ${INSTALL_DATA} ${WRKDIR}/html/flags/*.* ${DOCSDIR}/flags .endif .include diff --git a/print/foo2zjs/Makefile b/print/foo2zjs/Makefile index a3af76252a4a..4c645ecf70bb 100644 --- a/print/foo2zjs/Makefile +++ b/print/foo2zjs/Makefile @@ -1,132 +1,133 @@ # Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= foo2zjs PORTVERSION= 20110609 PORTREVISION= 2 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \ ${MASTER_SITE_LOCAL:S,$,acm/${PORTNAME}/,} MAINTAINER= acm@FreeBSD.org COMMENT= Driver for printers that use the ZjStream wire protocol LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-base RUN_DEPENDS= ${LOCALBASE}/share/foomatic/db/oldprinterids:${PORTSDIR}/print/foomatic-db \ foomatic-rip:${PORTSDIR}/print/foomatic-filters PROJECTHOST= bsdistfiles USE_GHOSTSCRIPT=yes USE_GMAKE= yes SUB_FILES= pkg-message MAN1= arm2hpdl.1 \ foo2hiperc-wrapper.1 \ foo2hiperc.1 \ foo2hp.1 \ foo2hp2600-wrapper.1 \ foo2lava-wrapper.1 \ foo2lava.1 \ foo2oak-wrapper.1 \ foo2oak.1 \ foo2qpdl-wrapper.1 \ foo2qpdl.1 \ foo2slx-wrapper.1 \ foo2slx.1 \ foo2xqx-wrapper.1 \ foo2xqx.1 \ foo2zjs-pstops.1 \ foo2zjs-wrapper.1 \ foo2zjs.1 \ hipercdecode.1 \ lavadecode.1 \ oakdecode.1 \ opldecode.1 \ printer-profile.1 \ qpdldecode.1 \ slxdecode.1 \ usb_printerid.1 \ xqxdecode.1 \ zjsdecode.1 \ EXTRAFILES= msexpand getweb XML_FILES= driver/foo2hiperc.xml \ driver/foo2hp.xml \ driver/foo2lava.xml \ driver/foo2oak.xml \ driver/foo2oak-z1.xml \ driver/foo2qpdl.xml \ driver/foo2slx.xml \ driver/foo2xqx.xml \ driver/foo2zjs.xml \ printer/Generic-OAKT_Printer.xml \ printer/Generic-ZjStream_Printer.xml \ printer/HP-Color_LaserJet_1500.xml \ printer/HP-Color_LaserJet_1600.xml \ printer/HP-Color_LaserJet_2600n.xml \ printer/HP-Color_LaserJet_CP1215.xml \ printer/HP-LaserJet_1000.xml \ printer/HP-LaserJet_1005.xml \ printer/HP-LaserJet_1018.xml \ printer/HP-LaserJet_1020.xml \ printer/HP-LaserJet_1022.xml \ printer/HP-LaserJet_M1005_MFP.xml \ printer/HP-LaserJet_M1120_MFP.xml \ printer/HP-LaserJet_P1005.xml \ printer/HP-LaserJet_P1006.xml \ printer/HP-LaserJet_P1007.xml \ printer/HP-LaserJet_P1008.xml \ printer/HP-LaserJet_P1505.xml \ printer/HP-LaserJet_P2014.xml \ printer/KONICA_MINOLTA-magicolor_2480_MF.xml \ printer/KONICA_MINOLTA-magicolor_2490_MF.xml \ printer/KONICA_MINOLTA-magicolor_2530_DL.xml \ printer/Kyocera-KM-1635.xml \ printer/Kyocera-KM-2035.xml \ printer/Lexmark-C500.xml \ printer/Minolta-Color_PageWorks_Pro_L.xml \ printer/Minolta-magicolor_2200_DL.xml \ printer/Minolta-magicolor_2300_DL.xml \ printer/Minolta-magicolor_2430_DL.xml \ printer/Oki-C3100.xml \ printer/Oki-C3200.xml \ printer/Oki-C3300.xml \ printer/Oki-C3400.xml \ printer/Oki-C3530_MFP.xml \ printer/Oki-C5100.xml \ printer/Oki-C5200.xml \ printer/Oki-C5500.xml \ printer/Oki-C5600.xml \ printer/Oki-C5800.xml \ printer/Samsung-CLP-300.xml \ printer/Samsung-CLP-315.xml \ printer/Samsung-CLP-600.xml \ printer/Samsung-CLP-610.xml \ printer/Samsung-CLX-2160.xml \ printer/Samsung-CLX-3160.xml \ printer/Samsung-CLX-3175.xml \ printer/Xerox-Phaser_6110.xml \ printer/Xerox-Phaser_6115MFP.xml .for FILES in ${XML_FILES} EXTRACT_AFTER_ARGS+= --exclude '${FILES}' .endfor +NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|^CFLAGS|CFLAGS?|g' -e 's|^PREFIX|PREFIX?|g' ${WRKSRC}/icc2ps/Makefile post-install: @cd ${WRKSRC} && \ ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1/ && \ ${INSTALL_SCRIPT} ${EXTRAFILES} ${PREFIX}/bin/ .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for FILE in ChangeLog README manual.pdf ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} .endfor .endif @${CAT} ${PKGMESSAGE} .include diff --git a/print/foomatic-db-engine/Makefile b/print/foomatic-db-engine/Makefile index c57bf8384b64..6c902cf41854 100644 --- a/print/foomatic-db-engine/Makefile +++ b/print/foomatic-db-engine/Makefile @@ -1,51 +1,48 @@ -# New ports collection makefile for: foomatic-db-engine -# Date created: 07 July 2003 -# Whom: Martin Ranne -# +# Created by: Martin Ranne # $FreeBSD$ -# PORTNAME= engine PORTVERSION= 4.0.7 PORTEPOCH= 2 CATEGORIES= print MASTER_SITES= http://www.openprinting.org/download/foomatic/ \ ${MASTER_SITE_GOOGLE_CODE} \ ${MASTER_SITE_LOCAL:S,$,acm/foomatic/,} PKGNAMEPREFIX= foomatic-db- DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} DIST_SUBDIR= foomatic MAINTAINER= acm@FreeBSD.org COMMENT= Foomatic database engine BUILD_DEPENDS= curl:${PORTSDIR}/ftp/curl RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl PROJECTHOST= bsdistfiles USE_GNOME= libxml2 USES= perl5 USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= PERL=${PERL} LIBDIR=${PREFIX}/share/foomatic/ MAN1= foomatic-printjob.1 foomatic-ppdfile.1 foomatic-perl-data.1 \ foomatic-configure.1 foomatic-compiledb.1 foomatic-combo-xml.1 \ foomatic-ppd-options.1 MAN8= foomatic-preferred-driver.8 \ foomatic-kitload.8 foomatic-getpjloptions.8 \ foomatic-addpjloptions.8 +NO_STAGE= 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 post-install: .for file in foomatic-combo-xml foomatic-perl-data @${STRIP_CMD} ${PREFIX}/bin/${file} .endfor .include diff --git a/print/foomatic-db-hpijs/Makefile b/print/foomatic-db-hpijs/Makefile index c8d44298d4e0..3b989b075ecc 100644 --- a/print/foomatic-db-hpijs/Makefile +++ b/print/foomatic-db-hpijs/Makefile @@ -1,28 +1,25 @@ -# New ports collection makefile for: foomatic-db-hpijs -# Date created: 2005-09-17 -# Whom: Michael Nottebrock -# +# Created by: Michael Nottebrock # $FreeBSD$ -# PORTNAME= foomatic-db-hpijs PORTVERSION= 1.4 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR=lofi DISTNAME= ${PORTNAME}-${PORTVERSION}-1 MAINTAINER= ports@FreeBSD.org COMMENT= Foomatic data for the HPIJS printer drivers BUILD_DEPENDS= ${LOCALBASE}/share/foomatic/db/oldprinterids:${PORTSDIR}/print/foomatic-db RUN_DEPENDS= ${LOCALBASE}/share/foomatic/db/oldprinterids:${PORTSDIR}/print/foomatic-db GNU_CONFIGURE= yes USE_GMAKE= yes +NO_STAGE= yes 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 5f466d28bbc8..0f4ce6cd2fbd 100644 --- a/print/foomatic-db/Makefile +++ b/print/foomatic-db/Makefile @@ -1,37 +1,34 @@ -# New ports collection makefile for: foomatic-db -# Date created: 01 March 2003 -# Whom: Dima Dorfman -# +# Created by: Dima Dorfman # $FreeBSD$ -# PORTNAME= db PORTVERSION= 20090530 PORTREVISION= 3 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_LOCAL:S,$,acm/foomatic/,} \ ${MASTER_SITE_GOOGLE_CODE} PKGNAMEPREFIX= foomatic- DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${FOOMATICVER}-${PORTVERSION} DIST_SUBDIR= foomatic MAINTAINER= acm@FreeBSD.org COMMENT= Foomatic database LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \ curl:${PORTSDIR}/ftp/curl PROJECTHOST= bsdistfiles USE_GMAKE= yes USES= perl5 USE_AUTOTOOLS= automake:env autoconf GNU_CONFIGURE= yes FOOMATICVER= 4.0 WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} +NO_STAGE= yes pre-configure: @cd ${WRKSRC} && ${ACLOCAL} && ${AUTOCONF} .include diff --git a/print/foomatic-filters/Makefile b/print/foomatic-filters/Makefile index 61d522e86495..0f0113f25764 100644 --- a/print/foomatic-filters/Makefile +++ b/print/foomatic-filters/Makefile @@ -1,76 +1,77 @@ # Created by: Michael Nottebrock # $FreeBSD$ PORTNAME= foomatic-filters PORTVERSION= 4.0.7 PORTREVISION= 2 CATEGORIES= print MASTER_SITES= http://www.openprinting.org/download/foomatic/ MAINTAINER= acm@FreeBSD.org COMMENT= Foomatic wrapper scripts LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= perl5 USE_AUTOTOOLS= autoheader USE_GHOSTSCRIPT=yes GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_path_A2PS=${LOCALBASE}/bin/a2ps \ ac_cv_path_CUPS=${LOCALBASE}/libexec/cups \ ac_cv_path_CUPS_FILTERS=${LOCALBASE}/libexec/cups/filter \ ac_cv_path_CUPS_BACKENDS=${LOCALBASE}/libexec/cups/backend \ ac_cv_path_ENSCRIPT=${LOCALBASE}/bin/enscript \ ac_cv_path_MPAGE=${LOCALBASE}/bin/mpage \ 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 OPTIONS_DEFINE= A2PS CUPS_IMAGE MPAGE OPTIONS_RADIO= ENSCRIPT OPTIONS_RADIO_ENSCRIPT= ENSCRIPT_A4 ENSCRIPT_LETTER ENSCRIPT_LETTERDJ OPTIONS_DEFAULT= CUPS_IMAGE A2PS ENSCRIPT_A4 MPAGE CUPS_IMAGE_DESC= Install cups image utilities A2PS_DESC= Install a2ps convertor ENSCRIPT_A4_DESC= Install enscript convertor (A4) ENSCRIPT_LETTER_DESC= Install enscript convertor (letter) ENSCRIPT_LETTERDJ_DESC= Install enscript convertor (letterdj) MPAGE_DESC= Print multiple pages per sheet of paper MAN1= foomatic-rip.1 +NO_STAGE= yes .include .if ${PORT_OPTIONS:MCUPS_IMAGE} RUN_DEPENDS+= ${LOCALBASE}/lib/libcupsimage.so:${PORTSDIR}/print/cups-image .endif .if ${PORT_OPTIONS:MA2PS} RUN_DEPENDS+= a2ps:${PORTSDIR}/print/a2ps .endif .if ${PORT_OPTIONS:MENSCRIPT_A4} RUN_DEPENDS+= enscript:${PORTSDIR}/print/enscript-a4 .endif .if ${PORT_OPTIONS:MENSCRIPT_LETTER} RUN_DEPENDS+= enscript:${PORTSDIR}/print/enscript-letter .endif .if ${PORT_OPTIONS:MENSCRIPT_LETTERDJ} RUN_DEPENDS+= enscript:${PORTSDIR}/print/enscript-letterdj .endif .if ${PORT_OPTIONS:MMPAGE} RUN_DEPENDS+= mpage:${PORTSDIR}/print/mpage .endif post-patch: @${REINPLACE_CMD} -e 's|/bin/bash|${SH}|g' ${WRKSRC}/foomaticrip.c .include diff --git a/print/foxitreader/Makefile b/print/foxitreader/Makefile index 308edb5651db..aaa456040055 100644 --- a/print/foxitreader/Makefile +++ b/print/foxitreader/Makefile @@ -1,58 +1,59 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= foxitreader PORTVERSION= 1.1.0 #PORTREVISION= 0 CATEGORIES= print MASTER_SITES= http://cdn04.foxitsoftware.com/pub/foxit/%SUBDIR%/:reader,manual MASTER_SITE_SUBDIR= reader/desktop/linux/1.x/${PORTVERSION:R}/enu/:reader \ manual/enu/:manual DISTFILES= FoxitReader-${PORTVERSION}.tar.bz2:reader EXTRACT_ONLY= FoxitReader-${PORTVERSION}.tar.bz2 MAINTAINER= nivit@FreeBSD.org COMMENT= Free PDF document viewer for desktop Linux LICENSE_NAME= EULA LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell LICENSE_TEXT= http://www.foxitsoftware.com/pdf/desklinux/eula.htm NO_BUILD= yes PLIST_SUB= NLS="${NLS}" USE_BZIP2= yes USES= gettext USE_LINUX= yes USE_LINUX_APPS= cups-libs gtk2 WRKSRC= ${WRKDIR}/${PORTVERSION:R}-release +NO_STAGE= yes .include .if ${PORT_OPTIONS:MDOCS} DISTFILES+=FoxitReader${PORTVERSION:R}ForLinux_Manual.pdf:manual .endif .if ${PORT_OPTIONS:MNLS} NLS= "" .else NLS= "@comment " .endif do-install: cd ${WRKSRC} && ${MKDIR} ${DATADIR} && \ ${INSTALL_DATA} fpdfcjk.bin fum.fhd ${DATADIR} && \ ${INSTALL_PROGRAM} FoxitReader ${DATADIR} && \ ${LN} -s ${DATADIR}/FoxitReader ${PREFIX}/bin/FoxitReader .if ${PORT_OPTIONS:MNLS} .for locale in de fr ja zh_CN zh_TW ${INSTALL_DATA} ${WRKSRC}/po/${locale}/FoxitReader.mo ${PREFIX}/share/locale/${locale}/LC_MESSAGES/ .endfor .endif .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} && \ ${INSTALL_DATA} ${DISTDIR}/FoxitReader${PORTVERSION:R}ForLinux_Manual.pdf ${DOCSDIR} .endif .include diff --git a/print/fpdf/Makefile b/print/fpdf/Makefile index 9664a96a6554..277754068612 100644 --- a/print/fpdf/Makefile +++ b/print/fpdf/Makefile @@ -1,54 +1,51 @@ -# New ports collection makefile for: fpdf -# Date created: 21 March 2005 -# Whom: Thierry Thomas -# +# Created by: Thierry Thomas # $FreeBSD$ -# PORTNAME= fpdf PORTVERSION= 1.7 PORTEPOCH= 1 CATEGORIES= print www MASTER_SITES= http://www.fpdf.org/en/ DISTNAME= ${PORTNAME}${PORTVERSION:S|.||} EXTRACT_SUFX= .tgz MAINTAINER= thierry@FreeBSD.org COMMENT= A free PHP class to generate PDF files with pure PHP USE_PHP= zlib FETCH_CMD= ${FETCH_BINARY} -ARr -o ${DISTDIR}/${DISTFILES} USE_DOS2UNIX= yes NO_BUILD= 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 license.txt tutorial +NO_STAGE= yes 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} ${PREFIX}/${FPDF_DIR} ${INSTALL_DATA} ${WRKSRC}/fpdf.php ${PREFIX}/${FPDF_DIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} "font makefont" ${PREFIX}/${FPDF_DIR}/) .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} "${DOCS}" ${DOCSDIR}/) .endif post-install: @${ECHO_MSG} @${CAT} ${PKGMESSAGE} @${ECHO_MSG} .include diff --git a/print/freetype-tools/Makefile b/print/freetype-tools/Makefile index db5191003513..6877b3faee15 100644 --- a/print/freetype-tools/Makefile +++ b/print/freetype-tools/Makefile @@ -1,64 +1,61 @@ -# New ports collection makefile for: print/freetype-tools -# Date created: Jul 29, 2005 -# Whom: rafan@infor.org -# +# Created by: rafan@infor.org # $FreeBSD$ -# PORTNAME= freetype-tools PORTVERSION= 1.3.1 PORTREVISION= 9 CATEGORIES= print MASTER_SITES= SF/freetype/freetype/${PORTVERSION} \ http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/freetype1/ \ http://www.funet.fi/pub/mirrors/ftp.freetype.org/freetype1/ \ http://ftp.sunet.se/pub/text-processing/freetype/freetype1/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/freetype/&,} \ ftp://ftp.freetype.org/freetype/freetupe1/ DISTNAME= freetype-${PORTVERSION} MAINTAINER= rafan@FreeBSD.org COMMENT= Tools for FreeType 1 LIB_DEPENDS= ttf.4:${PORTSDIR}/print/freetype RUN_DEPENDS= t1asm:${PORTSDIR}/print/t1utils BUILD_DEPENDS:= ${RUN_DEPENDS} USE_TEX= base texmf USE_GMAKE= yes USE_AUTOTOOLS= libtool CONFIGURE_ARGS= --disable-nls --enable-static --enable-shared TEXMFMAIN= ${PREFIX}/share/texmf MAN1= ttf2bdf.1 ttf2tfm.1 ttf2pk.1 PORTSCOUT= limit:^1\. +NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \ ${WRKSRC}/configure @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ 's|LIBTOOL =.*|LIBTOOL = ${LIBTOOL}|' @${FIND} ${WRKSRC} -name '*.orig' -delete @${REINPLACE_CMD} -e 's|^PROGRAMS = t1asm|PROGRAMS =|' \ ${WRKSRC}/contrib/ttf2pfb/Makefile.in post-build: @cd ${WRKSRC}/contrib/ttf2bdf && ./configure --prefix=${PREFIX} && ${GMAKE} @cd ${WRKSRC}/contrib/ttf2pfb && ./configure --prefix=${PREFIX} && ${GMAKE} @cd ${WRKSRC}/contrib/ttf2pk && ./configure --prefix=${PREFIX} --with-kpathsea-dir=${LOCALBASE} && ${GMAKE} @cd ${WRKSRC}/contrib/ttfbanner && ./configure --prefix=${PREFIX} && ${GMAKE} do-install: @cd ${WRKSRC}/contrib/ttf2bdf && ${GMAKE} install @cd ${WRKSRC}/contrib/ttf2pfb && ${GMAKE} install @cd ${WRKSRC}/contrib/ttf2pk && ${GMAKE} install @cd ${WRKSRC}/contrib/ttfbanner && ${GMAKE} install @${MKDIR} ${TEXMFMAIN}/ttf2pk @for f in ${WRKSRC}/contrib/ttf2pk/data/*; do \ ${INSTALL_DATA} $$f ${TEXMFMAIN}/ttf2pk; \ done @${LN} -fs ${TEXMFMAIN}/ttf2pk ${TEXMFMAIN}/ttf2tfm .include diff --git a/print/freetype/Makefile b/print/freetype/Makefile index ea1440973e78..b16f67d0f433 100644 --- a/print/freetype/Makefile +++ b/print/freetype/Makefile @@ -1,36 +1,37 @@ # Created by: jseger@FreeBSD.org # $FreeBSD$ PORTNAME= freetype PORTVERSION= 1.3.1 PORTREVISION= 4 CATEGORIES= print MASTER_SITES= SF \ http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/freetype1/ \ http://www.funet.fi/pub/mirrors/ftp.freetype.org/freetype1/ \ http://ftp.sunet.se/pub/text-processing/freetype/freetype1/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/freetype/&,} \ ftp://ftp.freetype.org/freetype/freetupe1/ MAINTAINER= doceng@FreeBSD.org COMMENT= A free and portable TrueType font rendering engine USE_AUTOTOOLS= libtool USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-nls --enable-static --enable-shared PORTSCOUT= limit:^1\. +NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \ ${WRKSRC}/configure @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ 's|LIBTOOL =.*|LIBTOOL = ${LIBTOOL}|' # Older versions of freetype installed include files in ${PREFIX}/include # this is a compatibility hack for now #post-install: # ${LN} -fs ${PREFIX}/include/freetype/*.h ${PREFIX}/include .include diff --git a/print/freetype2/Makefile b/print/freetype2/Makefile index 46f1507f2f21..c8e966b4f7ca 100644 --- a/print/freetype2/Makefile +++ b/print/freetype2/Makefile @@ -1,57 +1,58 @@ # Created by: jseger@FreeBSD.org # $FreeBSD$ # $MCom: ports/print/freetype2/Makefile,v 1.28 2011/10/25 18:31:21 kwm Exp $ PORTNAME= freetype2 PORTVERSION= 2.5.0.1 CATEGORIES= print MASTER_SITES= SF/freetype/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/}/ \ http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/freetype2/ \ http://www.funet.fi/pub/mirrors/ftp.freetype.org/freetype2/ \ http://ftp.sunet.se/pub/text-processing/freetype/freetype2/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/freetype/&,} \ ftp://ftp.freetype.org/freetype/freetype2/ DISTNAME= ${PORTNAME:S/2//}-${PORTVERSION} MAINTAINER= gnome@FreeBSD.org COMMENT= Free and portable TrueType font rendering engine USE_AUTOTOOLS= libtool USE_BZIP2= yes USES= gmake MAKE_ENV= TOP="" USE_LDCONFIG= yes GNU_CONFIGURE= yes USE_GNOME= ltverhack:9 LIBTOOLFILES= builds/unix/configure CONFIGURE_WRKSRC= ${WRKSRC}/builds/unix OPTIONS_DEFINE= LCD_FILTERING PNG LCD_FILTERING_DESC?= Sub-pixel rendering (patented) PNG_DESC= Png compressed OpenType embedded bitmaps support +NO_STAGE= yes .include .if ${PORT_OPTIONS:MLCD_FILTERING} CFLAGS+= -DFT_CONFIG_OPTION_SUBPIXEL_RENDERING .endif .if ${PORT_OPTIONS:MPNG} LIB_DEPENDS+= libpng15.so:${PORTSDIR}/graphics/png .else CONFIGURE_ARGS+=--without-png .endif pre-patch: @${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \ ${WRKSRC}/builds/unix/install.mk pre-configure: @${REINPLACE_CMD} -e '/^LIBTOOL/s|LIBTOOL := $$(FT_LIBTOOL_DIR)/libtool|LIBTOOL := ${WRKDIR}/gnome-libtool|' \ ${WRKSRC}/builds/unix/unix-cc.in post-configure: @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \ ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} setup) .include diff --git a/print/frescobaldi/Makefile b/print/frescobaldi/Makefile index e48cb9d5b7fc..477d432b7566 100644 --- a/print/frescobaldi/Makefile +++ b/print/frescobaldi/Makefile @@ -1,25 +1,26 @@ # Created by: martin.dieringer@gmx.de # $FreeBSD$ PORTNAME= frescobaldi PORTVERSION= 2.0.8 PORTREVISION= 2 CATEGORIES= print kde MASTER_SITES= http://cloud.github.com/downloads/wbsoft/frescobaldi/ MAINTAINER= martin.dieringer@gmx.de COMMENT= Music score editor for lilypond LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual RUN_DEPENDS= lilypond:${PORTSDIR}/print/lilypond \ ${PYTHON_PKGNAMEPREFIX}poppler-qt4>=0:${PORTSDIR}/graphics/py-poppler-qt4 USES= gettext INSTALLS_ICONS= yes USE_KDE4= kdeprefix kdelibs pykde4_build pykde4_run USE_PYTHON= 2.6+ USE_PYDISTUTILS=yes +NO_STAGE= yes .include diff --git a/print/ft2demos/Makefile b/print/ft2demos/Makefile index ecef7daf7bda..39f201132980 100644 --- a/print/ft2demos/Makefile +++ b/print/ft2demos/Makefile @@ -1,35 +1,36 @@ # Created by: KANOU Hiroki # $FreeBSD$ PORTNAME= ft2demos PORTVERSION= 2.4.11 CATEGORIES= print MASTER_SITES= SF/freetype/freetype-demos/${PORTVERSION} \ RINGSERVER/graphics/freetype/freetype2 MAINTAINER= 5u623l20@gmail.com COMMENT= Demo programs for FreeType2 BUILD_DEPENDS+= ${FREETYPE_WRKSRC}/config.mk:${PORTSDIR}/print/freetype2:build LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 USE_BZIP2= yes USE_XORG= xext USE_GMAKE= yes USE_AUTOTOOLS= libtool:env MAKE_ENV= TOP_DIR="${FREETYPE_WRKSRC}" MAKE_ARGS= EXES="${FT_PROGRAMS}" X11_PATH="${LOCALBASE}" PLIST_FILES= ${FT_PROGRAMS:S,^,bin/,} FT_PROGRAMS= ftbench ftchkwd ftdiff ftdump ftgamma ftgrid ftlint ftmemchk \ ftmulti ftpatchk ftstring fttimer ftvalid ftview +NO_STAGE= yes .include FREETYPE_WRKSRC!= cd ${PORTSDIR}/print/freetype2; ${MAKE} -V WRKSRC do-install: @(cd ${WRKSRC}/bin/.libs/; ${INSTALL_PROGRAM} ${FT_PROGRAMS} ${PREFIX}/bin) .include diff --git a/print/ggv/Makefile b/print/ggv/Makefile index 2a82a495cb35..81faf10cbc37 100644 --- a/print/ggv/Makefile +++ b/print/ggv/Makefile @@ -1,29 +1,30 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ # $MCom: ports/print/ggv/Makefile,v 1.8 2007/09/24 19:40:45 mezz Exp $ PORTNAME= ggv PORTVERSION= 2.12.0 PORTREVISION= 9 CATEGORIES= print gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME 2 ghostscript viewer USE_BZIP2= yes INSTALLS_OMF= yes USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui desktopfileutils USES= gettext gmake pkgconfig USE_GHOSTSCRIPT=yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib GCONF_SCHEMAS= ggv.schemas +NO_STAGE= yes post-install: @-update-desktop-database > /dev/null .include diff --git a/print/ghostscript7-commfont/Makefile b/print/ghostscript7-commfont/Makefile index 09d0f9d0bdb8..e0be9cd334c0 100644 --- a/print/ghostscript7-commfont/Makefile +++ b/print/ghostscript7-commfont/Makefile @@ -1,43 +1,44 @@ # Created by: Tomokatsu SAITO # $FreeBSD$ PORTNAME= ghostscript PORTVERSION= 7.07 PORTREVISION= 12 CATEGORIES= print MASTER_SITES= # empty PKGNAMESUFFIX= 7-commfont DISTFILES= # empty MAINTAINER= doceng@FreeBSD.org COMMENT= Common files for Ghostscript 7.x CJK font support BUILD_DEPENDS= ${CMAPDIR}/ac15/cid2code.txt:${PORTSDIR}/print/adobe-cmaps RUN_DEPENDS= ${CMAPDIR}/ac15/cid2code.txt:${PORTSDIR}/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}" PKGMESSAGE= ${WRKDIR}/pkg-message DEPENDS_ARGS+= -DA4 # set these forcibly USE_GHOSTSCRIPT_RUN=7 CONFLICTS= ghostscript8-[0-9]* \ ghostscript8-nox11-[0-9]* \ ghostscript9-[0-9]* \ ghostscript9-nox11-[0-9]* \ ghostscript9-agpl-[0-9]* \ ghostscript9-agpl-nox11-[0-9]* CMAPDIR?= ${LOCALBASE}/share/fonts/adobe-cmaps GS_RESDIR?= share/ghostscript/Resource post-extract: apply-slist +NO_STAGE= yes post-install: @${CAT} ${PKGMESSAGE} .include diff --git a/print/ghostscript7-jpnfont/Makefile b/print/ghostscript7-jpnfont/Makefile index 4dd3b0eb5ca5..ae9fb8ab6473 100644 --- a/print/ghostscript7-jpnfont/Makefile +++ b/print/ghostscript7-jpnfont/Makefile @@ -1,26 +1,27 @@ # Created by: Mita Yoshio # $FreeBSD$ PORTNAME= ghostscript PORTVERSION= 7.07 PORTREVISION= 11 CATEGORIES= print japanese MASTER_SITES= # empty PKGNAMESUFFIX= 7-jpnfont DISTFILES= # empty MAINTAINER= doceng@FreeBSD.org COMMENT= Japanese font support for Ghostscript 7.x RUN_DEPENDS= ${LOCALBASE}/share/fonts/std.ja_JP/Ryumin-Light.gs7:${PORTSDIR}/japanese/font-std \ ${LOCALBASE}/share/ghostscript/Resource/CIDFont/Ryumin-Light:${PORTSDIR}/print/ghostscript7-commfont # set these forcibly USE_GHOSTSCRIPT_RUN= 7 NO_BUILD= yes DEPENDS_ARGS+= -DA4 +NO_STAGE= yes do-install: @${DO_NADA} .include diff --git a/print/ghostscript7-korfont/Makefile b/print/ghostscript7-korfont/Makefile index 486bc520d57f..44f4165e98c4 100644 --- a/print/ghostscript7-korfont/Makefile +++ b/print/ghostscript7-korfont/Makefile @@ -1,26 +1,27 @@ # Created by: Mita Yoshio # $FreeBSD$ PORTNAME= ghostscript PORTVERSION= 7.07 PORTREVISION= 7 CATEGORIES= print korean MASTER_SITES= # empty PKGNAMESUFFIX= 7-korfont DISTFILES= # empty MAINTAINER= doceng@FreeBSD.org COMMENT= Korean font support for Ghostscript 7.x RUN_DEPENDS= ${LOCALBASE}/share/fonts/CIDFont/Munhwa-Regular:${PORTSDIR}/korean/munhwafonts-cid \ ${LOCALBASE}/share/ghostscript/Resource/CIDFont/HYSMyeongJo-Medium:${PORTSDIR}/print/ghostscript7-commfont # set these forcibly USE_GHOSTSCRIPT_RUN= 7 NO_BUILD= yes DEPENDS_ARGS+= -DA4 +NO_STAGE= yes do-install: @${DO_NADA} .include diff --git a/print/ghostscript7-nox11/Makefile b/print/ghostscript7-nox11/Makefile index 0d4a87498e3a..6af0797258eb 100644 --- a/print/ghostscript7-nox11/Makefile +++ b/print/ghostscript7-nox11/Makefile @@ -1,8 +1,9 @@ # Created by: Nik Clayton # $FreeBSD$ WITHOUT_X11= yes MASTERDIR= ${.CURDIR}/../ghostscript7 +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/ghostscript7/Makefile b/print/ghostscript7/Makefile index 257df7adf4cb..60abe191a40d 100644 --- a/print/ghostscript7/Makefile +++ b/print/ghostscript7/Makefile @@ -1,179 +1,180 @@ # Created by: Andreas Klemm # $FreeBSD$ PORTNAME= ghostscript PORTVERSION= 7.07 PORTREVISION= 29 CATEGORIES= print MASTER_SITES= SF/ghostscript/gnu-gs/${PORTVERSION}:gs_srcs \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/gs${PORTVERSION:S/.//}/:gs_srcs \ ${MASTER_SITE_PORTS_JP:S/$/:ports_jp,ports_jp_gs/} MASTER_SITE_SUBDIR= \ ghostscript/:gs_srcs \ ./:ports_jp PKGNAMESUFFIX= 7 DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= doceng@FreeBSD.org COMMENT= Ghostscript 7.x PostScript interpreter LICENSE= GPLv2 LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ png15:${PORTSDIR}/graphics/png RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts CONFLICTS_INSTALL= \ gambc-[0-9]* \ ghostscript[89]-[0-9]* \ ghostscript[89]-nox11-[0-9]* \ ghostscript9-agpl-[0-9]* \ ghostscript9-agpl-nox11-[0-9]* USE_BZIP2= yes USE_GMAKE= yes USE_LDCONFIG= yes WANT_GNOME= yes # normazile WRKSRC so things like cups-pstoraster may work WRKSRC= ${WRKDIR}/${PORTNAME} GNU_CONFIGURE= yes CONFIGURE_ENV= ${MAKE_ENV} CONFIGURE_ARGS= --disable-compile-inits \ --with-ijs MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \ XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \ EXTRALIBS="${EXTRALIBS}" CPPFLAGS+= -fPIC -DUPD_SIGNAL=0 -I. -I${WRKSRC}/gimp-print \ -I${LOCALBASE}/include/libpng -I${LOCALBASE}/include \ -I${LOCALBASE}/include/libpng15 LDFLAGS+= ${XLDFLAGS} XCFLAGS= ${PTHREAD_CFLAGS} XLDFLAGS= -L${LOCALBASE}/lib -L${WRKSRC}/gimp-print ${PTHREAD_LIBS} PLIST_SUB= GS_VERSION="${PORTVERSION}" OPTIONS_DEFINE= X11 DOCS A4SIZE OPTIONS_DEFAULT=X11 DOCS A4SIZE NO_OPTIONS_SORT=yes A4SIZE_DESC= Set A4 (not Letter) as the default paper size MAN1= ansi2knr.1 dvipdf.1 font2c.1 gs.1 gslp.1 gsnd.1 pdf2dsc.1 \ pdf2ps.1 pdfopt.1 pf2afm.1 pfbtopfa.1 printafm.1 ps2ascii.1 \ ps2epsi.1 ps2pdf.1 ps2pdfwr.1 ps2ps.1 wftopfa.1 MLINKS= gslp.1 gsbj.1 \ gslp.1 gsdj.1 \ gslp.1 gsdj500.1 \ gslp.1 gslj.1 \ ps2pdf.1 ps2pdf12.1 \ ps2pdf.1 ps2pdf13.1 \ ps2ps.1 eps2eps.1 +NO_STAGE= yes post-extract-all: ${LN} -sf ${WRKDIR}/${DISTNAME} ${WRKDIR}/${PORTNAME} post-extract: post-extract-all .include "Makefile.drivers" .include .if ${PORT_OPTIONS:MX11} USE_GNOME= gtk12 .endif MASTERDIR?= ${.CURDIR} .include "${MASTERDIR}/files/Makefile.drivers_post" .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ ${OPTIONS_MULTI_X11: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:MA4SIZE} XCFLAGS+= -DA4 .endif # contributed uniprint profiles CONTRIB_UPP= lqx70ch.upp lqx70cl.upp lqx70cm.upp \ stc740ih.upp stc740p.upp stc740pl.upp .if ${PORT_OPTIONS:MX11} MAKE_ENV+= GS_SHLIB_VER="${SHLIB_VER}" SHLIB_VER= 1 PLIST_SUB+= SHLIB="" X11="" SHLIB_VER="${SHLIB_VER}" ALL_TARGET= so INSTALL_TARGET= soinstall .if ${PORT_OPTIONS:MGS_pcl3} ALL_TARGET+= pcl3opts .endif .else ALL_TARGET= all PLIST_SUB+= SHLIB="@comment " X11="@comment " .endif post-patch: ${REINPLACE_CMD} -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \ ${WRKSRC}/src/unix-gcc.mak ${REINPLACE_CMD} -e 's|\. de|\.|g' \ ${WRKSRC}/src/unixinst.mak ${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' \ ${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-su-install: ${MKDIR} ${DATADIR} ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR} post-install-docs: ${MKDIR} ${DOCSDIR} post-install: ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}/${PORTVERSION} .if ${PORT_OPTIONS:MX11} ${STRIP_CMD} ${PREFIX}/bin/gsc ${PREFIX}/bin/gsx ${LN} -sf gsc ${PREFIX}/bin/gs .else ${STRIP_CMD} ${PREFIX}/bin/gs .endif cd ${FILESDIR} \ && ${INSTALL_DATA} ${CONTRIB_UPP} ${DATADIR}/${PORTVERSION}/lib @${ECHO_MSG} @${CAT} ${PKGMESSAGE} @${ECHO_MSG} .if ${PORT_OPTIONS:MDOCS} post-install: post-install-docs .endif .include diff --git a/print/ghostscript8-nox11/Makefile b/print/ghostscript8-nox11/Makefile index d2ce0e8adf6d..d4121bbcfc44 100644 --- a/print/ghostscript8-nox11/Makefile +++ b/print/ghostscript8-nox11/Makefile @@ -1,8 +1,9 @@ # Created by: Nik Clayton # $FreeBSD$ OPTIONS_UNSET= X11 MASTERDIR= ${.CURDIR}/../ghostscript8 +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile index af7c3b602fdb..a6e93e94dc58 100644 --- a/print/ghostscript8/Makefile +++ b/print/ghostscript8/Makefile @@ -1,220 +1,221 @@ # Created by: Andreas Klemm # $FreeBSD$ PORTNAME= ghostscript PORTVERSION= 8.71 PORTREVISION= 13 CATEGORIES= print MASTER_SITES= http://downloads.ghostscript.com/public/:gs_srcs \ SF/ghostscript/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs${PORTVERSION:S/.//}/:gs_srcs \ http://www.humblesoft.com/pub/:epag MASTER_SITE_SUBDIR= ghostscript/:gs_srcs PKGNAMESUFFIX= 8 DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs ${EPAG_SRCS}:epag DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} EXTRACT_AFTER_ARGS= ${EXCLUDE_DIRS:S/^/--exclude /} MAINTAINER= doceng@FreeBSD.org COMMENT= Ghostscript 8.x PostScript interpreter LICENSE= GPLv3 LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2 \ jasper:${PORTSDIR}/graphics/jasper \ jbig2dec:${PORTSDIR}/graphics/jbig2dec \ jpeg:${PORTSDIR}/graphics/jpeg \ png15:${PORTSDIR}/graphics/png \ paper:${PORTSDIR}/print/libpaper \ tiff:${PORTSDIR}/graphics/tiff RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts CONFLICTS_INSTALL= \ gambc-[0-9]* \ ghostscript[79]-[0-9]* \ ghostscript[79]-nox11-[0-9]* \ ghostscript9-agpl-[0-9]* \ ghostscript9-agpl-nox11-[0-9]* USE_XZ= yes USES= gmake pkgconfig WANT_GNOME= yes USE_LDCONFIG= yes USE_AUTOTOOLS= autoconf GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \ XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \ EXTRALIBS="${EXTRALIBS}" \ SOC_LOADER="dxmainc.c" CONFIGURE_ENV= ${MAKE_ENV} CONFIGURE_ARGS= --disable-compile-inits \ --enable-contrib \ --enable-dynamic \ --with-ijs \ --with-jasper \ --with-libpaper \ --with-drivers="" CPPFLAGS+= -DUPD_SIGNAL=0 -I. \ -I${WRKSRC}/jasper/src/libjasper/include \ -I${LOCALBASE}/include/libpng15 \ -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib XCFLAGS= ${PTHREAD_CFLAGS} \ -DA4 XLDFLAGS= ${PTHREAD_LIBS} PLIST_SUB= GS_VERSION="${PORTVERSION}" \ CIDFONTDIR="${CIDFONTDIR:S,^${PREFIX}/,,}" SUB_FILES= pkg-message SUB_LIST= DATADIR=${DATADIR} PORTVERSION=${PORTVERSION} PKGMESSAGE= ${WRKDIR}/pkg-message OPTIONS_DEFINE= X11 DOCS CAIRO CUPS FONTCONFIG FT_BRIDGE GTK2 ICONV OPTIONS_DEFAULT=X11 DOCS CAIRO CUPS FONTCONFIG ICONV FONTCONFIG_DESC=Enable fontconfig support FT_BRIDGE_DESC= Enable FreeType Bridge support NO_OPTIONS_SORT=yes MAN1= dvipdf.1 font2c.1 gs.1 gslp.1 gsnd.1 \ pdf2dsc.1 pdf2ps.1 pdfopt.1 pf2afm.1 pfbtopfa.1 printafm.1 \ ps2ascii.1 ps2epsi.1 ps2pdf.1 ps2pdfwr.1 ps2ps.1 wftopfa.1 MLINKS= gslp.1 gsbj.1 \ gslp.1 gsdj.1 \ gslp.1 gsdj500.1 \ gslp.1 gslj.1 \ ps2pdf.1 ps2pdf12.1 \ ps2pdf.1 ps2pdf13.1 \ ps2ps.1 eps2eps.1 CIDFONTDIR= ${DATADIR}/${PORTVERSION}/Resource EXCLUDE_DIRS= jbig2dec jpeg expat jasper libpng tiff zlib +NO_STAGE= yes .include "Makefile.drivers" .include MASTERDIR?= ${.CURDIR} .include "${MASTERDIR}/files/Makefile.drivers_post" .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ ${OPTIONS_MULTI_X11:MGS_*:S/^GS_//} \ ${OPTIONS_GROUP_ICONV: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:MFONTCONFIG} LIB_DEPENDS+= fontconfig:${PORTSDIR}/x11-fonts/fontconfig CONFIGURE_ARGS+= --enable-fontconfig .else CONFIGURE_ARGS+= --disable-fontconfig .endif .if ${PORT_OPTIONS:MFT_BRIDGE} LIB_DEPENDS+= freetype:${PORTSDIR}/print/freetype2 MAKE_ENV+= FT_BRIDGE=1 FT_ROOT="${WRKSRC}/freetype" FT_LIB_EXT=".so" CPPFLAGS+= -I${LOCALBASE}/include/freetype2 PLIST_SUB+= FAPI="" .else PLIST_SUB+= FAPI="@comment " .endif ALL_TARGET= so INSTALL_TARGET= soinstall USE_LDCONFIG= yes PLIST_SUB+= SHLIB_VER="${PORTVERSION:R}" 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}|g ; \ s|%%GS_VERSION%%|${PORTVERSION}|g' \ ${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_MULTI_X11: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 ${MKDIR} ${WRKSRC}/bin .if ${PORT_OPTIONS:MFT_BRIDGE} ${MKDIR} ${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 .endif pre-su-install: ${MKDIR} ${DATADIR} post-install-docs: ${MKDIR} ${WRKSRC}/contrib/japanese ${INSTALL_DATA} ${WRKSRC}/contrib/japanese/doc/* ${WRKSRC}/contrib/japanese ${MKDIR} ${DOCSDIR} cd ${WRKSRC}/contrib && \ ${TAR} -cf - ${PORTDOC_FILES} | \ ( cd ${DOCSDIR} && ${TAR} -xof - ) .if ${PORT_OPTIONS:MFT_BRIDGE} post-install-fapi: ${INSTALL_DATA} ${WRKSRC}/lib/FAPIcidfmap \ ${WRKSRC}/lib/FAPIconfig ${WRKSRC}/lib/FAPIfontmap \ ${DATADIR}/${PORTVERSION}/Resource/Init post-install: post-install-fapi .endif post-install: ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}/${PORTVERSION} ${STRIP_CMD} ${PREFIX}/bin/gsc ${PREFIX}/bin/gsx ${LN} -sf gsc ${PREFIX}/bin/gs ${LN} -s -f ${LOCALBASE}/share/fonts/CIDFont ${CIDFONTDIR}/CIDFont @${ECHO_MSG} @${CAT} ${PKGMESSAGE} @${ECHO_MSG} .if ${PORT_OPTIONS:MDOCS} post-install: post-install-docs .endif .include diff --git a/print/ghostscript9-agpl-nox11/Makefile b/print/ghostscript9-agpl-nox11/Makefile index 2a5d7b6fe65e..0a22416ade5b 100644 --- a/print/ghostscript9-agpl-nox11/Makefile +++ b/print/ghostscript9-agpl-nox11/Makefile @@ -1,7 +1,8 @@ # $FreeBSD$ OPTIONS_UNSET= X11 MASTERDIR= ${.CURDIR}/../ghostscript9-agpl +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/ghostscript9-agpl/Makefile b/print/ghostscript9-agpl/Makefile index 600172f892ab..494bb389e394 100644 --- a/print/ghostscript9-agpl/Makefile +++ b/print/ghostscript9-agpl/Makefile @@ -1,203 +1,204 @@ # $FreeBSD$ PORTNAME= ghostscript PORTVERSION= 9.07 PORTREVISION= 3 CATEGORIES= print MASTER_SITES= http://downloads.ghostscript.com/public/:gs_srcs \ SF/ghostscript/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs${PORTVERSION:S/.//}/:gs_srcs \ http://www.humblesoft.com/pub/:epag MASTER_SITE_SUBDIR= ghostscript/:gs_srcs PKGNAMESUFFIX= 9-agpl DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs ${EPAG_SRCS}:epag DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} EXTRACT_AFTER_ARGS= ${EXCLUDE_DIRS:S/^/--exclude /} MAINTAINER= doceng@FreeBSD.org COMMENT= Ghostscript 9.x PostScript interpreter LICENSE= AGPLv3 LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2 \ idn:${PORTSDIR}/dns/libidn \ jbig2dec:${PORTSDIR}/graphics/jbig2dec \ jpeg:${PORTSDIR}/graphics/jpeg \ png15:${PORTSDIR}/graphics/png \ tiff:${PORTSDIR}/graphics/tiff \ lcms2:${PORTSDIR}/graphics/lcms2 \ paper:${PORTSDIR}/print/libpaper RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts CONFLICTS_INSTALL= \ gambc-[0-9]* \ ghostscript[789]-[0-9]* \ ghostscript[789]-nox11-[0-9]* USES= gmake pkgconfig:build USE_BZIP2= yes WANT_GNOME= yes USE_LDCONFIG= yes USE_AUTOTOOLS= autoconf GNU_CONFIGURE= yes MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \ XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \ EXTRALIBS="${EXTRALIBS}" \ SOC_LOADER="dxmainc.c" CONFIGURE_ENV= ${MAKE_ENV} CONFIGURE_ARGS= --disable-compile-inits \ --enable-contrib \ --enable-dynamic \ --with-system-libtiff \ --with-ijs \ --with-libidn \ --without-jasper \ --with-libpaper \ --with-drivers="" CPPFLAGS+= -DUPD_SIGNAL=0 -I. \ -I${WRKSRC}/lcms2/include \ -I${LOCALBASE}/include/libpng \ -I${WRKSRC}/openjpeg/libopenjpeg \ -I${WRKSRC}/openjpeg \ -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib XCFLAGS= ${PTHREAD_CFLAGS} \ -DA4 XLDFLAGS= ${PTHREAD_LIBS} PLIST_SUB= GS_VERSION="${PORTVERSION}" \ X11BITS=${X11BITS} SUB_FILES= pkg-message SUB_LIST= DATADIR=${DATADIR} PORTVERSION=${PORTVERSION} PKGMESSAGE= ${WRKDIR}/pkg-message OPTIONS_DEFINE= X11 DOCS CUPS FONTCONFIG ICONV GTK2 OPTIONS_DEFAULT=X11 DOCS CUPS FONTCONFIG ICONV FONTCONFIG_DESC=Enable fontconfig support NO_OPTIONS_SORT=yes MAN1= dvipdf.1 font2c.1 gs.1 gslp.1 gsnd.1 \ pdf2dsc.1 pdf2ps.1 pdfopt.1 pf2afm.1 pfbtopfa.1 printafm.1 \ ps2ascii.1 ps2epsi.1 ps2pdf.1 ps2pdfwr.1 ps2ps.1 \ wftopfa.1 MLINKS= gslp.1 gsbj.1 \ gslp.1 gsdj.1 \ gslp.1 gsdj500.1 \ gslp.1 gslj.1 \ ps2pdf.1 ps2pdf12.1 \ ps2pdf.1 ps2pdf13.1 \ ps2pdf.1 ps2pdf14.1 \ ps2ps.1 eps2eps.1 EXCLUDE_DIRS= freetype jbig2dec jpeg expat jasper lcms libpng tiff zlib +NO_STAGE= yes .include "Makefile.drivers" .include MASTERDIR?= ${.CURDIR} .include "${MASTERDIR}/files/Makefile.drivers_post" .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ ${OPTIONS_MULTI_X11:MGS_*:S/^GS_//} \ ${OPTIONS_GROUP_ICONV: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:MFONTCONFIG} LIB_DEPENDS+= fontconfig:${PORTSDIR}/x11-fonts/fontconfig CONFIGURE_ARGS+= --enable-fontconfig .else CONFIGURE_ARGS+= --disable-fontconfig .endif # FT_BRIDGE=1 by default LIB_DEPENDS+= freetype:${PORTSDIR}/print/freetype2 MAKE_ENV+= FT_BRIDGE=1 ALL_TARGET= so INSTALL_TARGET= soinstall USE_LDCONFIG= yes PLIST_SUB+= SHLIB_VER="${PORTVERSION:R}" 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}|g ; \ s|%%GS_VERSION%%|${PORTVERSION}|g' \ ${WRKSRC}/contrib/japanese/dmp_site.ps pre-build-drivers.mak: @${ECHO_CMD} '# automatically generated' > ${WRKSRC}/base/drivers.mak @${ECHO_CMD} 'DEVICE_DEVS=$${DISPLAY_DEV}' >> ${WRKSRC}/base/drivers.mak .for N in ${DEVS_LIST} @${ECHO_CMD} '${N:S/^/DEVICE_/:S/^DEVICE_DISPLAY_DEV/DISPLAY_DEV/}=' >> ${WRKSRC}/base/drivers.mak .endfor .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ ${OPTIONS_MULTI_X11: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 ${${N:S/^/DEVICE_/:S/^DEVICE_DISPLAY_DEV/DISPLAY_DEV/}:M${D}.dev} @${ECHO_CMD} '${N:S/^/DEVICE_/:S/^DEVICE_DISPLAY_DEV/DISPLAY_DEV/}+= $$(DD)${D}.dev' >> ${WRKSRC}/base/drivers.mak .endfor .endif .endif .endfor .endfor pre-build: pre-build-drivers.mak ${MKDIR} ${WRKSRC}/obj ${MKDIR} ${WRKSRC}/bin pre-install: cd ${WRKSRC}/Resource/Init && ${RM} -f \ gs_statd.ps.orig gs_ttf.ps.orig pdf_font.ps.orig pre-su-install: ${MKDIR} ${DATADIR} post-install-docs: ${MKDIR} ${WRKSRC}/contrib/japanese ${INSTALL_DATA} ${WRKSRC}/contrib/japanese/doc/* ${WRKSRC}/contrib/japanese ${MKDIR} ${DOCSDIR} cd ${WRKSRC}/contrib && \ ${TAR} -cf - ${PORTDOC_FILES} | \ ( cd ${DOCSDIR} && ${TAR} -xof - ) post-install: ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}/${PORTVERSION} ${STRIP_CMD} ${PREFIX}/bin/gsc ${PREFIX}/bin/gsx ${LN} -sf gsc ${PREFIX}/bin/gs ${LN} -s -f ${LOCALBASE}/share/fonts/CIDFont \ ${DATADIR}/${PORTVERSION}/Resource/CIDFont/fonts @${ECHO_MSG} @${CAT} ${PKGMESSAGE} @${ECHO_MSG} .if ${PORT_OPTIONS:MDOCS} post-install: post-install-docs .endif .include diff --git a/print/ghostscript9-nox11/Makefile b/print/ghostscript9-nox11/Makefile index 9aa91cda0c9f..5fa2e97ada04 100644 --- a/print/ghostscript9-nox11/Makefile +++ b/print/ghostscript9-nox11/Makefile @@ -1,7 +1,8 @@ # $FreeBSD$ OPTIONS_UNSET= X11 MASTERDIR= ${.CURDIR}/../ghostscript9 +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/ghostscript9/Makefile b/print/ghostscript9/Makefile index 0c4bff2f550d..519a4501b690 100644 --- a/print/ghostscript9/Makefile +++ b/print/ghostscript9/Makefile @@ -1,206 +1,207 @@ # $FreeBSD$ PORTNAME= ghostscript PORTVERSION= 9.06 PORTREVISION= 4 CATEGORIES= print MASTER_SITES= http://downloads.ghostscript.com/public/:gs_srcs \ SF/ghostscript/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs${PORTVERSION:S/.//}/:gs_srcs \ http://www.humblesoft.com/pub/:epag MASTER_SITE_SUBDIR= ghostscript/:gs_srcs PKGNAMESUFFIX= 9 DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs ${EPAG_SRCS}:epag DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} EXTRACT_AFTER_ARGS= ${EXCLUDE_DIRS:S/^/--exclude /} MAINTAINER= doceng@FreeBSD.org COMMENT= Ghostscript 9.x PostScript interpreter LICENSE= GPLv3 LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2 \ idn:${PORTSDIR}/dns/libidn \ jbig2dec:${PORTSDIR}/graphics/jbig2dec \ jpeg:${PORTSDIR}/graphics/jpeg \ png15:${PORTSDIR}/graphics/png \ tiff:${PORTSDIR}/graphics/tiff \ lcms2:${PORTSDIR}/graphics/lcms2 \ paper:${PORTSDIR}/print/libpaper RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts CONFLICTS_INSTALL= \ gambc-[0-9]* \ ghostscript[78]-[0-9]* \ ghostscript[78]-nox11-[0-9]* \ ghostscript9-agpl-[0-9]* \ ghostscript9-agpl-nox11-[0-9]* USES= gmake pkgconfig:build USE_BZIP2= yes WANT_GNOME= yes USE_LDCONFIG= yes USE_AUTOTOOLS= autoconf GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \ XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \ EXTRALIBS="${EXTRALIBS}" \ SOC_LOADER="dxmainc.c" CONFIGURE_ENV= ${MAKE_ENV} CONFIGURE_ARGS= --disable-compile-inits \ --enable-contrib \ --enable-dynamic \ --with-system-libtiff \ --with-ijs \ --with-libidn \ --without-jasper \ --with-libpaper \ --with-drivers="" CPPFLAGS+= -DUPD_SIGNAL=0 -I. \ -I${WRKSRC}/lcms/include \ -I${LOCALBASE}/include/libpng \ -I${WRKSRC}/openjpeg/libopenjpeg \ -I${WRKSRC}/openjpeg \ -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib XCFLAGS= ${PTHREAD_CFLAGS} \ -DA4 XLDFLAGS= ${PTHREAD_LIBS} PLIST_SUB= GS_VERSION="${PORTVERSION}" \ X11BITS=${X11BITS} SUB_FILES= pkg-message SUB_LIST= DATADIR=${DATADIR} PORTVERSION=${PORTVERSION} PKGMESSAGE= ${WRKDIR}/pkg-message OPTIONS_DEFINE= X11 DOCS CUPS FONTCONFIG ICONV GTK2 OPTIONS_DEFAULT=X11 DOCS CUPS FONTCONFIG ICONV FONTCONFIG_DESC=Enable fontconfig support NO_OPTIONS_SORT=yes MAN1= dvipdf.1 font2c.1 gs.1 gslp.1 gsnd.1 \ pdf2dsc.1 pdf2ps.1 pdfopt.1 pf2afm.1 pfbtopfa.1 printafm.1 \ ps2ascii.1 ps2epsi.1 ps2pdf.1 ps2pdfwr.1 ps2ps.1 \ wftopfa.1 MLINKS= gslp.1 gsbj.1 \ gslp.1 gsdj.1 \ gslp.1 gsdj500.1 \ gslp.1 gslj.1 \ ps2pdf.1 ps2pdf12.1 \ ps2pdf.1 ps2pdf13.1 \ ps2pdf.1 ps2pdf14.1 \ ps2ps.1 eps2eps.1 EXCLUDE_DIRS= freetype jbig2dec jpeg expat jasper lcms lcms2 libpng tiff zlib +NO_STAGE= yes .include "Makefile.drivers" .include MASTERDIR?= ${.CURDIR} .include "${MASTERDIR}/files/Makefile.drivers_post" .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ ${OPTIONS_MULTI_X11:MGS_*:S/^GS_//} \ ${OPTIONS_GROUP_ICONV: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:MFONTCONFIG} LIB_DEPENDS+= fontconfig:${PORTSDIR}/x11-fonts/fontconfig CONFIGURE_ARGS+= --enable-fontconfig .else CONFIGURE_ARGS+= --disable-fontconfig .endif # FT_BRIDGE=1 by default LIB_DEPENDS+= freetype:${PORTSDIR}/print/freetype2 MAKE_ENV+= FT_BRIDGE=1 ALL_TARGET= so INSTALL_TARGET= soinstall USE_LDCONFIG= yes PLIST_SUB+= SHLIB_VER="${PORTVERSION:R}" 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}|g ; \ s|%%GS_VERSION%%|${PORTVERSION}|g' \ ${WRKSRC}/contrib/japanese/dmp_site.ps pre-build-drivers.mak: @${ECHO_CMD} '# automatically generated' > ${WRKSRC}/base/drivers.mak @${ECHO_CMD} 'DEVICE_DEVS=$${DISPLAY_DEV}' >> ${WRKSRC}/base/drivers.mak .for N in ${DEVS_LIST} @${ECHO_CMD} '${N:S/^/DEVICE_/:S/^DEVICE_DISPLAY_DEV/DISPLAY_DEV/}=' >> ${WRKSRC}/base/drivers.mak .endfor .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ ${OPTIONS_MULTI_X11: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 ${${N:S/^/DEVICE_/:S/^DEVICE_DISPLAY_DEV/DISPLAY_DEV/}:M${D}.dev} @${ECHO_CMD} '${N:S/^/DEVICE_/:S/^DEVICE_DISPLAY_DEV/DISPLAY_DEV/}+= $$(DD)${D}.dev' >> ${WRKSRC}/base/drivers.mak .endfor .endif .endif .endfor .endfor pre-build: pre-build-drivers.mak ${MKDIR} ${WRKSRC}/obj ${MKDIR} ${WRKSRC}/bin pre-install: cd ${WRKSRC}/Resource/Init && ${RM} -f \ gs_statd.ps.orig gs_ttf.ps.orig pdf_font.ps.orig pre-su-install: ${MKDIR} ${DATADIR} post-install-docs: ${MKDIR} ${WRKSRC}/contrib/japanese ${INSTALL_DATA} ${WRKSRC}/contrib/japanese/doc/* ${WRKSRC}/contrib/japanese ${MKDIR} ${DOCSDIR} cd ${WRKSRC}/contrib && \ ${TAR} -cf - ${PORTDOC_FILES} | \ ( cd ${DOCSDIR} && ${TAR} -xof - ) post-install: ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}/${PORTVERSION} ${STRIP_CMD} ${PREFIX}/bin/gsc ${PREFIX}/bin/gsx ${LN} -sf gsc ${PREFIX}/bin/gs ${LN} -s -f ${LOCALBASE}/share/fonts/CIDFont \ ${DATADIR}/${PORTVERSION}/Resource/CIDFont/fonts @${ECHO_MSG} @${CAT} ${PKGMESSAGE} @${ECHO_MSG} .if ${PORT_OPTIONS:MDOCS} post-install: post-install-docs .endif .include diff --git a/print/ghostview/Makefile b/print/ghostview/Makefile index b165287cae7d..3e18b1796093 100644 --- a/print/ghostview/Makefile +++ b/print/ghostview/Makefile @@ -1,28 +1,29 @@ # Created by: jkh # $FreeBSD$ PORTNAME= ghostview PORTVERSION= 1.5 PORTREVISION= 3 CATEGORIES= print MASTER_SITES= http://ftp.gnu.org/old-gnu/ghostview/ \ http://ftp.sunet.se/pub/text-processing/postscript/interpreters/ghostscript/gnu/ghostview/ MAINTAINER= ports@FreeBSD.org COMMENT= X11 front-end for ghostscript, the GNU postscript previewer LICENSE= GPLv2 # (or later) USES= imake USE_XORG= xbitmaps xaw USE_GHOSTSCRIPT_RUN= yes CFLAGS+= -Wno-error=return-type MAN1= ghostview.1 PLIST_FILES= bin/ghostview \ lib/X11/app-defaults/Ghostview +NO_STAGE= yes post-install: @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include diff --git a/print/gimp-gutenprint/Makefile b/print/gimp-gutenprint/Makefile index 1a6bb4daad70..46342da9df13 100644 --- a/print/gimp-gutenprint/Makefile +++ b/print/gimp-gutenprint/Makefile @@ -1,22 +1,20 @@ -# New ports collection makefile for: gutenprint-gimp -# Date created: 2006-12-31 -# Whom: Michael Johnson -# +# Created by: Michael Johnson # $FreeBSD$ # $MCom: ports/print/gimp-gutenprint/Makefile,v 1.5 2007/10/24 21:05:40 ahze Exp $ PORTEPOCH= 0 PKGNAMEPREFIX= gimp- PKGNAMESUFFIX= # empty MAINTAINER= cmt@burggraben.net COMMENT= Gimp print plug-in LICENSE= GPLv2 MASTERDIR= ${.CURDIR}/../../print/gutenprint-base GUT_SLAVE= gimp PLIST= ${.CURDIR}/pkg-plist +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/gl2ps/Makefile b/print/gl2ps/Makefile index bc913719c77d..5b588b910b0a 100644 --- a/print/gl2ps/Makefile +++ b/print/gl2ps/Makefile @@ -1,41 +1,42 @@ # Created by: Igor Pokrovsky # $FreeBSD$ PORTNAME= gl2ps PORTVERSION= 1.3.8 CATEGORIES= print graphics MASTER_SITES= http://www.geuz.org/gl2ps/src/ EXTRACT_SUFX= .tgz MAINTAINER= araujo@FreeBSD.org COMMENT= A C library providing vector output for OpenGL application USE_GL= yes USE_XORG= x11 xmu xi USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source +NO_STAGE= yes pre-build: @${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/libgl2ps.so ${PREFIX}/lib ${LN} -s ${PREFIX}/lib/libgl2ps.so ${PREFIX}/lib/libgl2ps.so.1 ${INSTALL_DATA} ${WRKSRC}/libgl2ps.a ${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/gl2ps.h ${PREFIX}/include @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/gl2psTest.c ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/gl2psTestSimple.c ${EXAMPLESDIR} @${SED} -e 's|%%CC%%|${CC}|g; \ s|%%RM%%|${RM}|g; \ s|%%CFLAGS%%|${CFLAGS}|g; \ s|%%LOCALBASE%%|${LOCALBASE}|g' \ <${FILESDIR}/Makefile.ex >${EXAMPLESDIR}/Makefile .ifndef (NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/gl2ps.pdf ${DOCSDIR} .endif .include diff --git a/print/gnome-cups-manager/Makefile b/print/gnome-cups-manager/Makefile index 7a33c3a3c16c..4f4664492805 100644 --- a/print/gnome-cups-manager/Makefile +++ b/print/gnome-cups-manager/Makefile @@ -1,50 +1,51 @@ # Created by: Glenn Johnson # $FreeBSD$ # $MCom: ports/print/gnome-cups-manager/Makefile,v 1.8 2007/07/20 01:11:31 mezz Exp $ PORTNAME= gnome-cups-manager PORTVERSION= 0.31 PORTREVISION= 14 PORTEPOCH= 1 CATEGORIES= print gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Administration tool for cups LIB_DEPENDS= gnomecups-1.0.1:${PORTSDIR}/print/libgnomecups RUN_DEPENDS= gnomesu:${PORTSDIR}/security/libgnomesu USE_AUTOTOOLS= libtool USE_BZIP2= yes USE_GNOME= gnomeprefix gnomehack intlhack libgnomeprintui libgnomeui \ desktopfileutils USES= gettext gmake pkgconfig INSTALLS_ICONS= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +NO_STAGE= yes post-patch: @${SED} -e 's|%%PREFIX%%|${PREFIX}|' \ < ${FILESDIR}/gnome-cups-manager.desktop \ > ${WRKSRC}/gnome-cups-manager.desktop @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ 's|-D.*_DISABLE_DEPRECATED||g' @${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|g' \ ${WRKSRC}/libgnomecups/gnome-cups-ui-driver.c @${REINPLACE_CMD} -e 's|glib/gmacros.h>|glib.h>|g' \ -e 's|glib/gstrfuncs.h>|glib.h>|g' \ ${WRKSRC}/libgnomecups/gnome-cups-ui-init.h \ ${WRKSRC}/libgnomecups/gnome-cups-ui-print.h \ ${WRKSRC}/libgnomecups/gnome-cups-i18n.c \ ${WRKSRC}/libgnomecups/gnome-cups-ui-driver.c post-install: ${MKDIR} ${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/gnome-cups-manager.desktop \ ${PREFIX}/share/applications .include diff --git a/print/gnome-print/Makefile b/print/gnome-print/Makefile index 88f21b34fb9e..e8b7df6880d5 100644 --- a/print/gnome-print/Makefile +++ b/print/gnome-print/Makefile @@ -1,39 +1,36 @@ -# New ports collection makefile for: gnomeprint -# Date created: 15 Jan 1999 -# Whom: Vanilla I. Shu -# +# Created by: Vanilla I. Shu # $FreeBSD$ # $MCom: ports/print/gnome-print/Makefile,v 1.6 2007/09/24 19:40:45 mezz Exp $ -# PORTNAME= gnome-print PORTVERSION= 0.37 PORTREVISION= 12 CATEGORIES= print gnome MASTER_SITES= GNOME DISTNAME= gnome-print-${PORTVERSION} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Gnome print support library BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 USE_GHOSTSCRIPT_RUN= yes PLIST_SUB= VERSION=${PORTVERSION} USE_AUTOTOOLS= libtool USE_BZIP2= yes USE_GNOME= gnomehack gnomeprefix gnomehier gnomelibs gnomecanvas USES= gettext gmake perl5 USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +NO_STAGE= yes post-install: @${TOUCH} ${PREFIX}/etc/gnome/fonts/gnome-print-x11.fontmap .include diff --git a/print/gnome-specimen/Makefile b/print/gnome-specimen/Makefile index 4b9cadeb760f..be15d6856a17 100644 --- a/print/gnome-specimen/Makefile +++ b/print/gnome-specimen/Makefile @@ -1,35 +1,32 @@ -# New ports collection makefile for: gnome-specimen -# Date created: 2010-08-08 -# Whom: Steve Wills -# +# Created by: Steve Wills # $FreeBSD$ -# PORTNAME= gnome-specimen PORTVERSION= 0.4 PORTREVISION= 3 CATEGORIES= print MASTER_SITES= http://uwstopia.nl/geek/projects/gnome-specimen/releases/ MAINTAINER= swills@FreeBSD.org COMMENT= Gnome Specimen is a simple tool to preview and compare installed fonts GNU_CONFIGURE= yes USE_GNOME= pygnomedesktop GCONF_SCHEMAS= gnome-specimen.schemas USE_GMAKE= yes USE_PYTHON= yes USES= gettext USE_AUTOTOOLS= automake:env autoconf:env INSTALLS_ICONS= yes +NO_STAGE= yes .include pre-configure: ( cd ${WRKSRC} ; ${AUTORECONF} ; ${AUTOMAKE} ) post-configure: @${INSTALL_SCRIPT} ${AUTOMAKE_DIR}/py-compile ${WRKSRC} .include diff --git a/print/gnomephotoprinter/Makefile b/print/gnomephotoprinter/Makefile index da87b55dd247..d09c572e9199 100644 --- a/print/gnomephotoprinter/Makefile +++ b/print/gnomephotoprinter/Makefile @@ -1,21 +1,22 @@ # Created by: Alexander Nedotsukov # $FreeBSD$ PORTNAME= gnomephotoprinter PORTVERSION= 0.7.0 PORTREVISION= 9 CATEGORIES= print gnome MASTER_SITES= http://www.fogman.de/gpp/ DISTNAME= gpp-${PORTVERSION} DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Gnome Photo Printer is intended for printing photos in an easy way USE_GNOME= gnomehack gnomeprefix libgnomeui libglade2 libgnomeprintui \ gnomevfs2 USES= gettext gmake pkgconfig GNU_CONFIGURE= yes INSTALLS_ICONS= yes +NO_STAGE= yes .include diff --git a/print/gribouy/Makefile b/print/gribouy/Makefile index b8549d363c46..dce7e0baf0f9 100644 --- a/print/gribouy/Makefile +++ b/print/gribouy/Makefile @@ -1,20 +1,21 @@ # Created by: bland@FreeBSD.org # $FreeBSD$ PORTNAME= gribouy PORTVERSION= 0.0.8 PORTREVISION= 13 CATEGORIES= print gnome #MASTER_SITES= ${MASTER_SITE_SAVANNAH} #MASTER_SITE_SUBDIR= gribouy/unstable.pkg/${PORTVERSION:R} MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= bland MAINTAINER= gnome@FreeBSD.org COMMENT= Gribouy is a Type1 font editor USES= gmake pkgconfig USE_GNOME= gnomeprefix gnomehack libglade2 libgnomeui GNU_CONFIGURE= yes +NO_STAGE= yes .include diff --git a/print/gsfonts/Makefile b/print/gsfonts/Makefile index f9fb9e7d8b24..add7bc718dd2 100644 --- a/print/gsfonts/Makefile +++ b/print/gsfonts/Makefile @@ -1,53 +1,54 @@ # Created by: giffunip # $FreeBSD$ PORTNAME= gsfonts PORTVERSION= 8.11 PORTREVISION= 6 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= doceng@FreeBSD.org COMMENT= Standard Fonts for Ghostscript NO_WRKSUBDIR= yes NO_BUILD= yes PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}" OPTIONS_DEFINE= DOCS FONTSDIR= ${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 +NO_STAGE= yes do-install: ${MKDIR} ${FONTSDIR} cd ${WRKSRC}/fonts && \ ${INSTALL_DATA} fonts.dir COPYING \ *.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 .include .if ${PORT_OPTIONS:MDOCS} PORTDOCS= ChangeLog README README.tweaks TODO post-install: ${MKDIR} ${DOCSDIR} cd ${WRKSRC}/fonts && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif .include diff --git a/print/gspdf/Makefile b/print/gspdf/Makefile index 91c866e0aa7e..bc07c34256d7 100644 --- a/print/gspdf/Makefile +++ b/print/gspdf/Makefile @@ -1,21 +1,22 @@ # $FreeBSD$ PORTNAME= gspdf PORTVERSION= 0.5 CATEGORIES= print gnustep MASTER_SITES= ${MASTER_SITE_SAVANNAH} MASTER_SITE_SUBDIR= gap DISTNAME= GSPdf-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= A Postscript and Pdf Viewer for GNUstep USE_GNUSTEP= yes USE_GNUSTEP_BACK= yes USE_GNUSTEP_BUILD= yes USE_GNUSTEP_INSTALL= yes USE_GHOSTSCRIPT= yes MAKE_ENV+= GNUSTEP_INSTALLATION_DOMAIN=SYSTEM +NO_STAGE= yes .include diff --git a/print/gsview/Makefile b/print/gsview/Makefile index 5ba8559382b9..4ce6b517698a 100644 --- a/print/gsview/Makefile +++ b/print/gsview/Makefile @@ -1,59 +1,60 @@ # Created by: bf # $FreeBSD$ PORTNAME= gsview PORTVERSION= 4.9 PORTREVISION= 4 CATEGORIES= print MASTER_SITES= LOCAL/bf MAINTAINER= bf@FreeBSD.org COMMENT= A GUI to view, search, print, and convert PostScript and PDF documents USE_GNOME= gtk12 USE_GHOSTSCRIPT= yes RUN_DEPENDS+= epstool:${PORTSDIR}/graphics/epstool \ pstotext:${PORTSDIR}/print/pstotext NO_CDROM= Can only be distributed for free MAKE_ENV+= PTHREAD_LIBS=${PTHREAD_LIBS} PTHREAD_CFLAGS=${PTHREAD_CFLAGS} MAKE_JOBS_UNSAFE= yes MAN1= gsview.1 PLIST_FILES= bin/gsview \ bin/gsview-help \ etc/gsview/printer.ini PLIST_DIRS= etc/gsview PORTDOCS= gsview.css cdorder.txt regorder.txt Readme.htm LICENCE \ gvxct.htm gvxde.htm gvxen.htm gvxes.htm gvxfr.htm gvxgr.htm \ gvxit.htm gvxnl.htm gvxru.htm gvxse.htm gvxsk.htm SUB_FILES= pkg-message +NO_STAGE= yes post-patch: ${CP} ${WRKSRC}/srcunx/unx.mak ${WRKSRC}/Makefile ${REINPLACE_CMD} -e 's;malloc\.h;stdlib\.h;g' \ ${WRKSRC}/src/doc2html.c ${WRKSRC}/src/doc2ipf.c \ ${WRKSRC}/src/doc2xml.c ${REINPLACE_CMD} -e 's;mozilla;firefox3;g' \ ${WRKSRC}/srcunx/gvxhelp.txt do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/gsview ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/srcunx/gvxhelp.txt ${PREFIX}/bin/gsview-help ${INSTALL_MAN} ${WRKSRC}/srcunx/gsview.1 ${PREFIX}/man/man1 ${MKDIR} ${PREFIX}/etc/gsview/ ${INSTALL_DATA} ${WRKSRC}/src/printer.ini ${PREFIX}/etc/gsview/ .ifndef(NOPORTDOCS) ${MKDIR} ${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_MAN} gsview.css cdorder.txt regorder.txt \ Readme.htm LICENCE ${DOCSDIR} ) ${INSTALL_MAN} ${WRKSRC}/bin/*.htm ${DOCSDIR} .endif post-install: @${CAT} ${PKGMESSAGE} .include diff --git a/print/gtklp/Makefile b/print/gtklp/Makefile index 95eeec75fd30..a35e19365478 100644 --- a/print/gtklp/Makefile +++ b/print/gtklp/Makefile @@ -1,35 +1,36 @@ # Created by: Martin Klaffenboeck # $FreeBSD$ PORTNAME= gtklp PORTVERSION= 1.2.9 PORTREVISION= 1 DISTVERSIONSUFFIX= .src CATEGORIES= print MASTER_SITES= SF MAINTAINER= sylvio@FreeBSD.org COMMENT= GTK interface to cups LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-client WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES= pkgconfig USE_GNOME= gtk20 USE_OPENSSL= yes USE_AUTOTOOLS= automake:env GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib MAN1= gtklp.1 gtklpq.1 +NO_STAGE= yes .include .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .endif .include diff --git a/print/guitartex/Makefile b/print/guitartex/Makefile index 441b0b248442..df01a4316998 100644 --- a/print/guitartex/Makefile +++ b/print/guitartex/Makefile @@ -1,45 +1,46 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= guitartex PORTVERSION= 2.8.2 PORTREVISION= 3 CATEGORIES= print MASTER_SITES= SF/${PORTNAME}/GuitarTeX/GuitarTeX-${PORTVERSION} ## Hack just for this "fix version" DISTNAME= ${PORTNAME}-${PORTVERSION}-fix1 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= GuitarTeX converts the Chord format into "normal" LaTeX format RUN_DEPENDS= p5-Tk>=0:${PORTSDIR}/x11-toolkits/p5-Tk \ latex:${PORTSDIR}/print/latex USES= perl5 NO_BUILD= yes +NO_STAGE= yes do-configure: @${REINPLACE_CMD} -e 's!/usr/local/lib/guitartex!${DATADIR}!g' ${WRKSRC}/gtx2tex.pl @${REINPLACE_CMD} -e 's!/usr/local/lib/guitartex!${DATADIR}!g' ${WRKSRC}/guitartex.pl do-install: ${INSTALL} ${WRKSRC}/gtx2tex.pl ${PREFIX}/bin ${INSTALL} ${WRKSRC}/guitartex.pl ${PREFIX}/bin @${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/guitartex.conf ${DATADIR} @${MKDIR} ${DATADIR}/images ${INSTALL_DATA} ${WRKSRC}/images/* ${DATADIR}/images @${MKDIR} ${DATADIR}/language ${INSTALL_DATA} ${WRKSRC}/language/* ${DATADIR}/language/ @${MKDIR} ${DATADIR}/templates ${INSTALL_DATA} ${WRKSRC}/templates/* ${DATADIR}/templates post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @${CP} -Rp ${WRKSRC}/doc/* ${DOCSDIR} .endif @${CAT} ${PKGMESSAGE} .include diff --git a/print/gutenprint-base/Makefile b/print/gutenprint-base/Makefile index 6430772a38e6..4bf19e1ffc00 100644 --- a/print/gutenprint-base/Makefile +++ b/print/gutenprint-base/Makefile @@ -1,113 +1,114 @@ # Created by: dgilbert@velocet.ca # $FreeBSD$ # $MCom: ports/print/gutenprint-base/Makefile,v 1.8 2007/03/30 16:45:02 ahze Exp $ PORTNAME?= gutenprint PORTVERSION= 5.2.8 CATEGORIES= print MASTER_SITES= SF/gimp-print/gutenprint-5.2/${PORTVERSION} PKGNAMESUFFIX?= -base MAINTAINER= cmt@burggraben.net COMMENT= GutenPrint Printer Driver LICENSE= GPLv2 CONFLICTS= gimp-print-[0-9]* USE_BZIP2= yes USES= gettext gmake pkgconfig USE_GNOME= gnomehack gtk20 GNU_CONFIGURE= yes CONFIGURE_ARGS=--with-gimp=no --with-gimp2=no USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include -I${PREFIX}/include LDFLAGS+= -L${LOCALBASE}/lib -L${PREFIX}/lib +NO_STAGE= yes .include .if ${SLAVE_PORT}=="yes" LIB_DEPENDS+= gutenprintui2.1:${PORTSDIR}/print/gutenprint-base PKG_CONFIG?= ${LOCALBASE}/bin/pkg-config GUTENPRINTUI2_LIBS=`${PKG_CONFIG} --libs gutenprintui2` .else MAN1+= escputil.1 .endif .if defined(GUT_SLAVE) && ${GUT_SLAVE}=="gimp" LIB_DEPENDS+= gimp-2.0:${PORTSDIR}/graphics/gimp-app \ gutenprint.3:${PORTSDIR}/print/gutenprint-base CONFIGURE_ARGS=--with-gimp2=yes # Override CONFIGURE_ARGS BUILD_WRKSRC= ${WRKSRC}/src/gimp2 INSTALL_WRKSRC= ${WRKSRC}/src/gimp2 .else CONFIGURE_ARGS+=--without-gimp2 .endif .if defined(GUT_SLAVE) && ${GUT_SLAVE}=="cups" LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-client \ cupsimage.2:${PORTSDIR}/print/cups-image RUN_DEPENDS+= espgs:${PORTSDIR}/print/cups-pstoraster CONFIGURE_ARGS+= --with-cups=${PREFIX} \ --enable-cups-ppds \ --enable-cups-level3-ppds MAN8+= cups-calibrate.8 cups-genppd.8 cups-genppdupdate.8 BUILD_WRKSRC= ${WRKSRC}/src/cups INSTALL_WRKSRC= ${WRKSRC}/src/cups .else CONFIGURE_ARGS+= --without-cups .endif .if defined(GUT_SLAVE) && ${GUT_SLAVE}=="ijs" LIB_DEPENDS+= ijs.1:${PORTSDIR}/print/libijs CONFIGURE_ARGS+=--with-ijs=yes MAN1+= ijsgutenprint.1 BUILD_WRKSRC= ${WRKSRC}/src/ghost INSTALL_WRKSRC= ${WRKSRC}/src/ghost .else CONFIGURE_ARGS+=--without-ghostscript .endif .if defined(GUT_SLAVE) && ${GUT_SLAVE}=="foomatic" BUILD_DEPENDS+= foomatic-combo-xml:${PORTSDIR}/print/foomatic-db-engine RUN_DEPENDS+= foomatic-combo-xml:${PORTSDIR}/print/foomatic-db-engine \ foomatic-db>0:${PORTSDIR}/print/foomatic-db CONFIGURE_ARGS+=--with-foomatic=yes --with-foomatic3=yes BUILD_WRKSRC= ${WRKSRC}/src/foomatic INSTALL_WRKSRC= ${WRKSRC}/src/foomatic .else CONFIGURE_ARGS+=--without-foomatic .endif .if defined(NOPORTDOCS) CONFIGURE_ARGS+= --with-user-guide=no .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/lpstat|${LOCALBASE}/bin/lpstat|' \ ${WRKSRC}/src/gutenprintui2/plist.c .if ${SLAVE_PORT}=="no" || ${GUT_SLAVE}!="cups" @${REINPLACE_CMD} -e 's|cups ||' ${WRKSRC}/src/Makefile.in .endif .if ${SLAVE_PORT}=="yes" @${REINPLACE_CMD} -e 's|= escputil.1|= |' ${WRKSRC}/man/Makefile.in .endif @${REINPLACE_CMD} -e 's|%%GUTENPRINTUI2_LIBS%%|${GUTENPRINTUI2_LIBS}|' \ ${WRKSRC}/src/gimp2/Makefile.in @${REINPLACE_CMD} -e 's|$$libdir/gimp/1.2/plug-ins||g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|= $$(pkglibdir)|= ${PREFIX}/libexec/cups|' \ ${WRKSRC}/src/cups/Makefile.in pre-build: .if defined(GUT_SLAVE) && (${GUT_SLAVE}=="foomatic" || ${GUT_SLAVE}=="cups") @(cd ${WRKSRC}/src/xml && ${MAKE}) .endif post-install: .if ${SLAVE_PORT}=="yes" @(cd ${WRKSRC}/man && ${GMAKE} ${INSTALL_TARGET}) .endif .include diff --git a/print/gutenprint-cups/Makefile b/print/gutenprint-cups/Makefile index 26abb191aa4a..361918b1b5b4 100644 --- a/print/gutenprint-cups/Makefile +++ b/print/gutenprint-cups/Makefile @@ -1,22 +1,20 @@ -# New ports collection makefile for: gutenprint-cups -# Date created: 2007-03-27 -# Whom: Michael Johnson -# +# Created by: Michael Johnson # $FreeBSD$ # $MCom: ports/print/gutenprint-cups/Makefile,v 1.1 2007/03/30 16:42:47 ahze Exp $ PORTREVISION= 1 PORTEPOCH= 0 PKGNAMESUFFIX= -cups MAINTAINER= cmt@burggraben.net COMMENT= GutenPrint CUPS drivers LICENSE= GPLv2 MASTERDIR= ${.CURDIR}/../../print/gutenprint-base GUT_SLAVE= cups PLIST= ${.CURDIR}/pkg-plist +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/gutenprint-foomatic/Makefile b/print/gutenprint-foomatic/Makefile index aa57db7fcfa5..47b80bdc1b61 100644 --- a/print/gutenprint-foomatic/Makefile +++ b/print/gutenprint-foomatic/Makefile @@ -1,22 +1,20 @@ -# New ports collection makefile for: gutenprint-foomatic -# Date created: 2007-03-30 -# Whom: Michael Johnson -# +# Created by: Michael Johnson # $FreeBSD$ # $MCom: ports/print/gutenprint-foomatic/Makefile,v 1.1 2007/03/30 16:42:47 ahze Exp $ PORTREVISION= 1 PORTEPOCH= 0 PKGNAMESUFFIX= -foomatic MAINTAINER= cmt@burggraben.net COMMENT= GutenPrint Foomatic Drivers LICENSE= GPLv2 MASTERDIR= ${.CURDIR}/../../print/gutenprint-base GUT_SLAVE= foomatic PLIST= ${.CURDIR}/pkg-plist +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/gutenprint-ijs/Makefile b/print/gutenprint-ijs/Makefile index 241eb2652bde..722da36f96ff 100644 --- a/print/gutenprint-ijs/Makefile +++ b/print/gutenprint-ijs/Makefile @@ -1,21 +1,19 @@ -# New ports collection makefile for: gutenprint-ijs -# Date created: 2007-03-27 -# Whom: Michael Johnson -# +# Created by: Michael Johnson # $FreeBSD$ # $MCom: ports/print/gutenprint-ijs/Makefile,v 1.1 2007/03/30 16:42:47 ahze Exp $ PORTEPOCH= 0 PKGNAMESUFFIX= -ijs MAINTAINER= cmt@burggraben.net COMMENT= GutenPrint Ghostscript Drivers LICENSE= GPLv2 MASTERDIR= ${.CURDIR}/../../print/gutenprint-base GUT_SLAVE= ijs PLIST= ${.CURDIR}/pkg-plist +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/gutenprint/Makefile b/print/gutenprint/Makefile index a80ac94be6a0..364dc0324a0f 100644 --- a/print/gutenprint/Makefile +++ b/print/gutenprint/Makefile @@ -1,50 +1,47 @@ -# ports collection makefile for: gimp-print -# Date Created: 2002 01 02 -# Whom: dgilbert@velocet.ca -# +# Created by: dgilbert@velocet.ca # $FreeBSD$ # $MCom: ports/print/gutenprint/Makefile,v 1.8 2007/04/03 17:42:21 ahze Exp $ -# PORTNAME= gutenprint PORTVERSION= 5.2.8 CATEGORIES= print MASTER_SITES= # empty DISTFILES= # empty EXTRACT_ONLY= # empty MAINTAINER= cmt@burggraben.net COMMENT= The "meta-port" for GutenPrint RUN_DEPENDS= gutenprint-base>0:${PORTSDIR}/print/gutenprint-base OPTIONS_DEFINE= CUPS GIMP IJS FOOMATIC OPTIONS_DEFAULT= IJS CUPS_DESC= GutenPrint (gimp-print) Cups Drivers GIMP_DESC= GIMP Gutenprint printing plugin IJS_DESC= IJS GhostScript Drivers FOOMATIC_DESC= Foomatic data files NO_BUILD= yes +NO_STAGE= yes .include .if ${PORT_OPTIONS:MCUPS} RUN_DEPENDS+= gutenprint-cups>0:${PORTSDIR}/print/gutenprint-cups .endif .if ${PORT_OPTIONS:MGIMP} RUN_DEPENDS+= gimp-gutenprint>0:${PORTSDIR}/print/gimp-gutenprint .endif .if ${PORT_OPTIONS:MIJS} RUN_DEPENDS+= gutenprint-ijs>0:${PORTSDIR}/print/gutenprint-ijs .endif .if ${PORT_OPTIONS:MFOOMATIC} RUN_DEPENDS+= gutenprint-foomatic>0:${PORTSDIR}/print/gutenprint-foomatic .endif do-install: # empty .include diff --git a/print/gv/Makefile b/print/gv/Makefile index aa652df6ec9e..f5ead7f9f638 100644 --- a/print/gv/Makefile +++ b/print/gv/Makefile @@ -1,40 +1,41 @@ -# Created by: tg@freebsd.org +# Created by: tg@FreeBSD.org # $FreeBSD$ PORTNAME= gv PORTVERSION= 3.7.4 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= bf@FreeBSD.org COMMENT= A PostScript and PDF previewer LIB_DEPENDS= Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d USE_XORG= xpm ice sm xext xmu x11 USE_GHOSTSCRIPT= yes USES= iconv gmake perl5 USE_PERL5= build GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ENV += LDFLAGS="${LDFLAGS}" LIBS="${ICONV_LIB}" CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/X11 \ --enable-setenv-code \ --enable-SIGCHLD-fallback MAN1= gv.1 gv-update-userconfig.1 INFO= gv PLIST_FILES= bin/gv \ bin/gv-update-userconfig \ %%DATADIR%%/gv_system.ad \ %%DATADIR%%/safe-gs-workdir/.keep_me \ lib/X11/app-defaults/GV PLIST_DIRS= %%DATADIR%%/safe-gs-workdir \ %%DATADIR%% +NO_STAGE= yes post-install: @${TOUCH} ${DATADIR}/safe-gs-workdir/.keep_me .include diff --git a/print/harfbuzz/Makefile b/print/harfbuzz/Makefile index de46e1a39e02..61afdfb5924d 100644 --- a/print/harfbuzz/Makefile +++ b/print/harfbuzz/Makefile @@ -1,33 +1,34 @@ # Created by: Koop Mast # $FreeBSD$ PORTNAME= harfbuzz PORTVERSION= 0.9.19 CATEGORIES= print MASTER_SITES= http://www.freedesktop.org/software/harfbuzz/release/ MAINTAINER= kwm@FreeBSD.org COMMENT= OpenType text shaping engine LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \ icudata:${PORTSDIR}/devel/icu \ graphite2:${PORTSDIR}/graphics/graphite2 USE_BZIP2= yes USE_LDCONFIG= yes USES= gmake pathfix pkgconfig USE_GNOME= cairo glib20 ltverhack USE_AUTOTOOLS= libtool CONFIGURE_ARGS= --with-graphite2 +NO_STAGE= yes .include .if ${OSVERSION} < 1000024 EXTRA_PATCHES= ${PATCHDIR}/extra-src_hb-open-type-private.hh .endif post-patch: @${REINPLACE_CMD} -e 's|^build_old_libs=yes|build_old_libs=no|g' \ ${WRKDIR}/gnome-libtool .include diff --git a/print/hp2xx/Makefile b/print/hp2xx/Makefile index cff156dca901..d07ab9a932c6 100644 --- a/print/hp2xx/Makefile +++ b/print/hp2xx/Makefile @@ -1,42 +1,39 @@ -# New ports collection makefile for: hp2xx -# Date created: 17 Jan 1999 -# Whom: Lars Koeller -# +# Created by: Lars Koeller # $FreeBSD$ -# PORTNAME= hp2xx PORTVERSION= 3.4.4 PORTREVISION= 5 CATEGORIES= print x11 MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= A HPGL to vector- and raster formats converter and previewer for X11 LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ tiff.4:${PORTSDIR}/graphics/tiff WRKSRC= ${WRKDIR}/${DISTNAME}/sources MAKE_ENV= DEFINES="${CPPFLAGS}" ALL_LIBS="${LDFLAGS}" \ PREVIEWER="${PREVIEWER}" MAN1= hp2xx.1 INFO= hp2xx CPPFLAGS+= -DUNIX -I${LOCALBASE}/include LDFLAGS+= -lm -L${LOCALBASE}/lib -ltiff -lpng -lz .if defined(WITHOUT_X11) PKGNAMESUFFIX= -nox11 PREVIEWER= no_prev .else USE_XORG= x11 CPPFLAGS+= -DHAS_UNIX_X11 -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lX11 PREVIEWER= to_x11 .endif +NO_STAGE= yes .include diff --git a/print/hpijs/Makefile b/print/hpijs/Makefile index 85d043e833a9..dadc3079e66f 100644 --- a/print/hpijs/Makefile +++ b/print/hpijs/Makefile @@ -1,74 +1,75 @@ # $FreeBSD$ PORTNAME= hpijs PORTVERSION= 2.1.4 PORTREVISION= 6 CATEGORIES= print MASTER_SITES= SF/hpinkjet/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Drivers and support resources for HP Inkjet Printers LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg CONFLICTS= hplip-[0-9]* GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-dependency-tracking USE_GHOSTSCRIPT_RUN= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= CUPS DOCS FOOMATIC OPTIONS_DEFAULT= CUPS FOOMATIC FOOMATIC_DESC= Install foomatic-rip and PPD files +NO_STAGE= yes .include .if ${PORT_OPTIONS:MCUPS} || ${PORT_OPTIONS:MFOOMATIC} CONFLICTS+= foomatic-filters-* USES= perl5 CONFIGURE_ARGS+= --enable-foomatic-install PLIST_SUB+= FOOMATIC="" .else CONFIGURE_ARGS+= --disable-foomatic-install PLIST_SUB+= FOOMATIC="@comment " .endif .if ${PORT_OPTIONS:MCUPS} LIB_DEPENDS+= cups:${PORTSDIR}/print/cups-base CONFIGURE_ARGS+= --enable-cups-install PLIST_SUB+= CUPS="" .else CONFIGURE_ARGS+= --disable-cups-install PLIST_SUB+= CUPS="@comment " .endif .include post-patch: @${REINPLACE_CMD} -e 's|/usr/local/share/cups|${LOCALBASE}/share/cups|g ; \ s|/usr/lib/cups/filter|${LOCALBASE}/libexec/cups/filter|g' \ ${WRKSRC}/configure .if empty(PORT_OPTIONS:MCUPS) && empty(PORT_OPTIONS:MFOOMATIC) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hpijs ${PREFIX}/bin .else INSTALL_TARGET= install-exec install-foomatic .endif post-install: .if ${PORT_OPTIONS:MCUPS} @${LN} -s ${PREFIX}/bin/foomatic-rip ${LOCALBASE}/libexec/cups/filter/foomatic-rip @${LN} -s ${PREFIX}/share/ppd ${LOCALBASE}/share/cups/model/foomatic-ppds .endif .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/gs_hpijs.png ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/hpijs_readme.html ${DOCSDIR} .endif @${CAT} ${PKGMESSAGE} .include diff --git a/print/hplip-plugin/Makefile b/print/hplip-plugin/Makefile index f217d1d8f831..1c77355877d4 100644 --- a/print/hplip-plugin/Makefile +++ b/print/hplip-plugin/Makefile @@ -1,47 +1,48 @@ # Created by: amistry@am-productions.biz # $FreeBSD$ PORTNAME= hplip-plugin PORTVERSION= 3.13.6 CATEGORIES= print MASTER_SITES= http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/ DISTNAME= hplip-${DISTVERSION}-plugin EXTRACT_SUFX= .run MAINTAINER= amistry@am-productions.biz COMMENT= Binary plugin for some HP Printers and All-in-One devices RUN_DEPENDS= hp-plugin:${PORTSDIR}/print/hplip USE_PYTHON= yes NO_BUILD= yes RESTRICTED= User must accept the license terms NO_PACKAGE= ${RESTRICTED} IS_INTERACTIVE= yes WRKSRC= ${WRKDIR}/plugin_tmp ONLY_FOR_ARCHS= amd64 i386 +NO_STAGE= yes .include .if ${ARCH} == "i386" PLIST_SUB+= LINARCH="x86_32" .elif ${ARCH} == "amd64" PLIST_SUB+= LINARCH="x86_64" .endif do-extract: @${MKDIR} ${WRKDIR} @cd ${WRKDIR} && ${SH} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} --keep --noexec post-patch: # ${REINPLACE_CMD} -e 's|ok, ans = tui.enter_yes_no.*|ok, ans = 1, 1|' \ # ${WRKSRC}/plugin_install.py ${REINPLACE_CMD} -e 's|rules,||;s|rules_alt,||' ${WRKSRC}/plugin.spec ${REINPLACE_CMD} -e 's|/etc/hp|${PREFIX}&|g' \ ${WRKSRC}/plugin_install.py do-install: cd ${WRKSRC} && ${PYTHON_CMD} -B plugin_install.py .include diff --git a/print/hplip/Makefile b/print/hplip/Makefile index 21a4cfbc9efa..253da7bd5ca8 100644 --- a/print/hplip/Makefile +++ b/print/hplip/Makefile @@ -1,189 +1,190 @@ # Created by: amistry@am-productions.biz # $FreeBSD$ PORTNAME= hplip PORTVERSION= 3.13.6 CATEGORIES= print MASTER_SITES= SF MAINTAINER= makc@FreeBSD.org COMMENT= Drivers and utilities for HP Printers and All-in-One devices LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \ cupsdriver.1:${PORTSDIR}/print/cups-base \ cups.2:${PORTSDIR}/print/cups-client \ cupsimage.2:${PORTSDIR}/print/cups-image \ dbus-1.3:${PORTSDIR}/devel/dbus RUN_DEPENDS= espgs:${PORTSDIR}/print/cups-pstoraster \ foomatic-rip:${PORTSDIR}/print/foomatic-filters \ ${PYTHON_SITELIBDIR}/dbus/_dbus.py:${PORTSDIR}/devel/py-dbus \ xdg-open:${PORTSDIR}/devel/xdg-utils CONFLICTS_INSTALL= hpijs-[0-9]* USE_GHOSTSCRIPT_RUN= yes USE_PYTHON= 2.5+ USE_GNOME= pygobject USES= pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-foomatic-ppd-install \ --enable-foomatic-rip-hplip-install \ --enable-hpijs-install \ --with-cupsbackenddir=${PREFIX}/libexec/cups/backend \ --with-cupsfilterdir=${PREFIX}/libexec/cups/filter \ --with-icondir=${DESKTOPDIR} \ --with-systraydir=${PREFIX}/etc/xdg/autostart \ --with-hpppddir=${PREFIX}/share/ppd/HP \ --with-mimedir=${PREFIX}/etc/cups \ --with-docdir=${DOCSDIR} \ --with-drvdir=${PREFIX}/libexec/cups/driver \ --enable-libusb01_build CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} USE_LDCONFIG= yes SUB_FILES= pkg-message USE_DOS2UNIX= yes DOS2UNIX_REGEX=.+\.(c|cpp|h|py)$ FILES4FIX= Makefile.in \ base/codes.py \ base/g.py \ base/pkit.py \ base/status.py \ base/utils.py \ check.py \ fax/backend/hpfax.py \ hplip.list.in \ installer/core_install.py \ installer/dcheck.py \ installer/distros.dat \ io/hpmud/hp-mkuri.c \ prnt/cups.py \ prnt/hpcups/HPCupsFilter.cpp \ prnt/hpcups/Utils.cpp \ prnt/hpijs/globals.cpp \ prnt/hpijs/hpcupsfax.cpp \ prnt/hpijs/hpijs.cpp \ setup.py \ ui/devmgr4.py \ ui/setupform.py \ ui4/devmgr5.py OPTIONS_DEFINE= QT FAX SNMP SCAN XSANE DOCS OPTIONS_DEFAULT= QT QT_DESC= Graphical User Interface (Qt4) FAX_DESC= PC Send Fax support SNMP_DESC= Network/JetDirect support SCAN_DESC= Scanning support XSANE_DESC= Install XSane for scanning (requires SCAN) +NO_STAGE= yes .include USB_INCLUDE= /usr/include .if ${PORT_OPTIONS:MQT} RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui \ ${PYTHON_SITELIBDIR}/dbus/mainloop/qt.so:${PORTSDIR}/devel/py-qt4-dbussupport CONFIGURE_ARGS+= --enable-qt4 \ --enable-gui-build PLIST_SUB+= GUI="" .else CONFIGURE_ARGS+= --disable-qt4 \ --disable-gui-build PLIST_SUB+= GUI="@comment " .endif .if ${PORT_OPTIONS:MFAX} RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/reportlab/__init__.py:${PORTSDIR}/print/py-reportlab2 CONFIGURE_ARGS+= --enable-fax-build PLIST_SUB+= FAX="" .else CONFIGURE_ARGS+= --disable-fax-build PLIST_SUB+= FAX="@comment " .endif .if ${PORT_OPTIONS:MSNMP} USE_OPENSSL= yes LIB_DEPENDS+= netsnmp.30:${PORTSDIR}/net-mgmt/net-snmp CONFIGURE_ARGS+= --enable-network-build . if ${ARCH} == i386 # http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/144833 CONFIGURE_ENV+= LIBS="-lssp_nonshared" . endif .else CONFIGURE_ARGS+= --disable-network-build .endif .if ${PORT_OPTIONS:MSCAN} . if ${PORT_OPTIONS:MXSANE} RUN_DEPENDS+= xsane:${PORTSDIR}/graphics/xsane . endif LIB_DEPENDS+= sane.1:${PORTSDIR}/graphics/sane-backends RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/PIL/_imaging.so:${PORTSDIR}/graphics/py-imaging CONFIGURE_ARGS+= --enable-scan-build PLIST_SUB+= SCAN="" .else CONFIGURE_ARGS+= --disable-scan-build PLIST_SUB+= SCAN="@comment " .endif .if !${PORT_OPTIONS:MDOCS} CONFIGURE_ARGS+= --enable-doc-build=no .endif post-patch: ${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},g' \ -e 's|-ldld||g; s|-ldl||g' \ ${WRKSRC}/configure \ ${WRKSRC}/Makefile.in ${REINPLACE_CMD} -e '/[[:space:]]install-dist_rulesDATA/ s,install-dist_rulesDATA,,' \ -e '/[[:space:]]install-hplip_confDATA/ s,install-hplip_confDATA,,' \ -e '/[[:space:]]install-dist_hplip_LogDATA/ s,install-dist_hplip_LogDATA,,' \ -e '/[[:space:]]install-dist_cronDATA/ s,install-dist_cronDATA,,' \ -e '/[[:space:]]install-dist_halpreDATA/ s,install-dist_halpreDATA,,' \ -e '/[[:space:]]install-dist_hplip_stateDATA/ s,install-dist_hplip_stateDATA,,' \ -e '/[[:space:]]install-dist_hplip_tmpDATA/ s,install-dist_hplip_tmpDATA,,' \ -e '/[[:space:]]install-dist_rulessystemDATA/ s,install-dist_rulessystemDATA,,' \ ${WRKSRC}/Makefile.in ${REINPLACE_CMD} -e 's,/etc/hp,${PREFIX}&,g' \ -e 's,/etc/cups,${LOCALBASE}&,g' \ -e 's,/etc/init.d,${LOCALBASE}/etc/rc.d,g' \ -e 's,/etc/sane.d,${LOCALBASE}&,g' \ -e 's,/usr/share,${LOCALBASE}/share,g' \ -e 's,/usr/include,${LOCALBASE}/include,g' \ ${FILES4FIX:S,^,${WRKSRC}/,} ${REINPLACE_CMD} -e 's,%USB_INCLUDE%,${USB_INCLUDE},' \ ${WRKSRC}/installer/core_install.py cd ${WRKSRC} && \ ${REINPLACE_CMD} -e "s,^#!/usr/bin/python,#!/usr/bin/env python," \ base/magic.py \ config_usb_printer.py \ doctor.py \ logcapture.py \ makeuri.py \ setup.py \ ui/upgradeform.py \ uninstall.py \ upgrade.py .if !${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e '/[[:space:]]install-docDATA/ s|install-docDATA||' \ ${WRKSRC}/Makefile.in .endif post-install: .if ${PORT_OPTIONS:MQT} ${INSTALL_DATA} ${WRKSRC}/hplip-systray.desktop ${PREFIX}/etc/xdg/autostart/hplip-systray.desktop .endif ${MKDIR} ${PREFIX}/etc/hp ${INSTALL_DATA} ${WRKSRC}/hplip.conf ${PREFIX}/etc/hp/hplip.conf.sample if [ ! -f ${PREFIX}/etc/hp/hplip.conf ]; then \ ${INSTALL_DATA} ${PREFIX}/etc/hp/hplip.conf.sample \ ${PREFIX}/etc/hp/hplip.conf; \ fi @${CAT} ${PKGMESSAGE} .include diff --git a/print/hs-hscolour/Makefile b/print/hs-hscolour/Makefile index 1ecffa665643..3e8e0f8665da 100644 --- a/print/hs-hscolour/Makefile +++ b/print/hs-hscolour/Makefile @@ -1,18 +1,19 @@ # Created by: Giuseppe Pilichi aka Jacula Modyun # $FreeBSD$ PORTNAME= hscolour PORTVERSION= 1.20.3 PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= print haskell MAINTAINER= haskell@FreeBSD.org COMMENT= Colourise Haskell code LICENSE= GPLv2 EXECUTABLE= HsColour +NO_STAGE= yes .include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" .include diff --git a/print/html2latex/Makefile b/print/html2latex/Makefile index 7c3475c23a10..dac971c9cace 100644 --- a/print/html2latex/Makefile +++ b/print/html2latex/Makefile @@ -1,22 +1,19 @@ -# New ports collection makefile for: html2latex -# Date created: 29-March-1996 -# Whom: joerg -# +# Created by: joerg # $FreeBSD$ -# PORTNAME= html2latex PORTVERSION= 0.9c CATEGORIES= print # I can't seem to find the original dist site MASTER_SITES= ftp://ftp.interface-business.de/pub/outgoing/ EXTRACT_SUFX= .tar.Z MAINTAINER= joerg@FreeBSD.org COMMENT= Convert HTML document into LaTeX MAN1= html2latex.1 MANCOMPRESSED= yes PLIST_FILES= bin/html2latex +NO_STAGE= yes .include diff --git a/print/html2ps/Makefile b/print/html2ps/Makefile index c5830770967c..336a07f35dda 100644 --- a/print/html2ps/Makefile +++ b/print/html2ps/Makefile @@ -1,54 +1,55 @@ # Created by: Andreas Klemm # $FreeBSD$ PORTNAME= html2ps DISTVERSION= 1.0b7 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= print www perl5 MASTER_SITES= http://user.it.uu.se/~jan/ \ http://fossies.org/unix/www/ MAINTAINER= hrs@FreeBSD.org COMMENT= HTML to PostScript converter LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= mogrify:${PORTSDIR}/graphics/ImageMagick \ p5-libwww>=0:${PORTSDIR}/www/p5-libwww \ weblint++:${PORTSDIR}/www/weblint++ \ paperconf:${PORTSDIR}/print/libpaper NO_BUILD= yes USES= perl5 USE_GHOSTSCRIPT_RUN= yes SUB_FILES= html2psrc MAN1= html2ps.1 MAN5= html2psrc.5 PLIST_FILES= bin/html2ps \ etc/html2psrc \ %%DATADIR%%/html2ps.html \ %%DATADIR%%/hyphen.tex PLIST_DIRS= %%DATADIR%% +NO_STAGE= yes 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 ${PREFIX}/bin ${INSTALL_DATA} ${WRKDIR}/html2psrc ${PREFIX}/etc ${INSTALL_MAN} ${WRKSRC}/html2ps.1 ${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/html2psrc.5 ${MAN5PREFIX}/man/man5 @${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/html2ps.html ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/hyphen.tex ${DATADIR} .include diff --git a/print/hyperlatex/Makefile b/print/hyperlatex/Makefile index 6d3c320f8bdc..db144fa9c250 100644 --- a/print/hyperlatex/Makefile +++ b/print/hyperlatex/Makefile @@ -1,45 +1,42 @@ -# New ports collection makefile for: Hyperlatex -# Date created: 2 August 1994 -# Whom: Robert Withrow -# +# Created by: Robert Withrow # $FreeBSD$ -# PORTNAME= Hyperlatex DISTVERSION= 2.9a PORTREVISION= 4 CATEGORIES= print MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME:L}/2.9a MAINTAINER= ports@FreeBSD.org COMMENT= Produce HTML and printed documents from LaTeX source RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm USE_TEX= latex USE_EMACS= yes EMACS_PORT_NAME?= emacs21 LATEX_DIR= ${PREFIX}/share/texmf/tex/latex/hyperlatex HYPERLATEX_DIR= ${PREFIX}/share/hyperlatex +NO_STAGE= yes 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} ${HYPERLATEX_DIR} ${MKDIR} ${LATEX_DIR} ${INSTALL_SCRIPT} ${WRKSRC}/bin/hyperlatex ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/ps2image ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/normalize-eps.awk ${PREFIX}/bin/normalize-eps ${INSTALL_DATA} ${WRKSRC}/etc/hyperlatex.sty ${LATEX_DIR} cd ${WRKSRC}/hlx; for f in *.el *.elc *.hlx *.xbm *.awk ; do \ if [ -f $$f ]; then ${INSTALL_DATA} $$f ${HYPERLATEX_DIR}; fi; done .include diff --git a/print/ifxetex/Makefile b/print/ifxetex/Makefile index 11666a5b94d8..26d7dc87b9b4 100644 --- a/print/ifxetex/Makefile +++ b/print/ifxetex/Makefile @@ -1,45 +1,43 @@ -# New ports collection makefile for: ifxetex -# Date created: 2008-09-24 -# Whom: Martin Dieringer -# +# Created by: Martin Dieringer # $FreeBSD$ PORTNAME= ifxetex PORTVERSION= 20090124 PORTREVISION= 4 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/generic/ DISTNAME= ${PORTNAME} MAINTAINER= martin.dieringer@gmx.de COMMENT= The file ifxetex.sty tests whether XeTeX is being used WRKSRC= ${WRKDIR}/${PORTNAME} USE_ZIP= yes USE_TEX= latex PLIST= ${WRKDIR}/pkg-plist TEXMFDIR= share/texmf-local MKTEXLSR= ${LOCALBASE}/bin/mktexlsr CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME} CLASS_FILES= ${PORTNAME}.sty +NO_STAGE= yes do-build: cd ${WRKSRC} && latex ${PORTNAME}.ins pre-install: ${ECHO_CMD} "${CLASSDIR}/${CLASS_FILES}" > ${PLIST} ${ECHO_CMD} "@dirrm ${CLASSDIR}" >> ${PLIST} ${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST} ${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST} do-install: @${MKDIR} ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} post-install: ${MKTEXLSR} .include diff --git a/print/it-acroread8/Makefile b/print/it-acroread8/Makefile index 01ff869cad96..e1d60e1c5a77 100644 --- a/print/it-acroread8/Makefile +++ b/print/it-acroread8/Makefile @@ -1,15 +1,12 @@ -# New ports collection makefile for: it-acroread8 -# Date created: 27 December 2007 -# Whom: hrs -# +# Created by: hrs # $FreeBSD$ -# PKGNAMEPREFIX= it- MASTERDIR= ${.CURDIR}/../acroread8 DISTINFO_FILE= ${.CURDIR}/distinfo ADOBE_LANG= ITA +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/jabref/Makefile b/print/jabref/Makefile index b1f01dfc4133..fcf3bbf5f54a 100644 --- a/print/jabref/Makefile +++ b/print/jabref/Makefile @@ -1,42 +1,43 @@ # Created by: Fernan Aguero # $FreeBSD$ PORTNAME= jabref PORTVERSION= 2.9.2 PORTEPOCH= 1 CATEGORIES= print java editors MASTER_SITES= SF DISTNAME= JabRef-${PORTVERSION} EXTRACT_SUFX= .jar EXTRACT_ONLY= # MAINTAINER= mandree@FreeBSD.org COMMENT= BibTeX native bibliographic reference manager LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual PORTSCOUT= limit:.*[0-9]$$ USE_JAVA= yes JAVA_VERSION= 1.6+ NO_BUILD= yes DATADIR= ${JAVASHAREDIR}/${PORTNAME} icon= ${DATADIR}/${PORTNAME}-icon48x48.png SUB_FILES= ${PORTNAME}.sh ${PORTNAME}.desktop SUB_LIST= JARNAME=${PORTNAME}.jar USE_GNOME= desktopfileutils +NO_STAGE= yes do-install: ${MKDIR} ${DATADIR} ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${DATADIR}/${PORTNAME}.jar ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${FILESDIR}/JabRef-icon-48.png "${icon}" ${MKDIR} ${DESKTOPDIR} ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${DESKTOPDIR} -${LOCALBASE}/bin/update-desktop-database -q .include diff --git a/print/jadetex/Makefile b/print/jadetex/Makefile index 3f8ea9863384..b5a21181e1df 100644 --- a/print/jadetex/Makefile +++ b/print/jadetex/Makefile @@ -1,41 +1,38 @@ -# New ports collection makefile for: jadetex -# Date created: 5 December 1998 -# Whom: Sean Kelly -# +# Created by: Sean Kelly # $FreeBSD$ -# PORTNAME= jadetex PORTVERSION= 3.13 PORTREVISION= 8 CATEGORIES= print MASTER_SITES= SF MAINTAINER= doceng@FreeBSD.org COMMENT= A TeX backend for Jade, for typesetting SGML documents LIB_DEPENDS= png15:${PORTSDIR}/graphics/png USE_TEX= tex MAKE_JOBS_UNSAFE= yes MAKE_ENV= TEXMFCNF=${FILESDIR}:${TEXMFDIR}/web2c PLIST_SUB= TEXMFDIR=share/texmf MAN1= jadetex.1 pdfjadetex.1 TEXMFDIR?= ${LOCALBASE}/share/texmf +NO_STAGE= yes do-install: ${MKDIR} -m 555 ${TEXMFDIR}/tex/jadetex cd ${WRKSRC} && \ ${INSTALL_DATA} jadetex.fmt pdfjadetex.fmt ${TEXMFDIR}/web2c && \ ${INSTALL_DATA} dsssl.def jadetex.ltx ${TEXMFDIR}/tex/jadetex && \ ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1 ${LN} -sf ${LOCALBASE}/bin/etex ${PREFIX}/bin/jadetex ${LN} -sf ${LOCALBASE}/bin/pdfetex ${PREFIX}/bin/pdfjadetex post-install: ${LOCALBASE}/bin/mktexlsr ${TEXMFDIR} .include diff --git a/print/kde4-print-manager/Makefile b/print/kde4-print-manager/Makefile index 773253f26608..24323c1a3509 100644 --- a/print/kde4-print-manager/Makefile +++ b/print/kde4-print-manager/Makefile @@ -1,20 +1,21 @@ # $FreeBSD$ PORTNAME= print-manager PORTVERSION= ${KDE4_VERSION} CATEGORIES= print kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Printer manager for KDE 4 LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-client USES= cmake:outsource USE_KDE4= kdehier kdelibs kdeprefix automoc4 USE_QT4= network qmake_build moc_build uic_build rcc_build USE_XZ= yes +NO_STAGE= yes .include diff --git a/print/kde_poster/Makefile b/print/kde_poster/Makefile index 0ac63e41a093..91cad060db59 100644 --- a/print/kde_poster/Makefile +++ b/print/kde_poster/Makefile @@ -1,33 +1,30 @@ -# New ports collection makefile for: poster -# Date created: 7 March 2008 -# Whom: Bruce M. Simpson -# +# Created by: Bruce M. Simpson # $FreeBSD$ -# PORTNAME= kde_poster PORTVERSION= 1.0 CATEGORIES= print kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= printing PKGNAMESUFFIX?= # empty DISTNAME= poster MAINTAINER= ports@FreeBSD.org COMMENT= KDE version of the poster utility USE_BZIP2= yes USE_GMAKE= yes ALL_TARGET= poster WRKSRC= ${WRKDIR}/${DISTNAME}-20060221 CONFLICTS?= poster-[0-9]* MAN1= poster.1 PLIST_FILES= bin/poster +NO_STAGE= yes do-install: @${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin @${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.1 ${PREFIX}/man/man1/ .include diff --git a/print/kover/Makefile b/print/kover/Makefile index b1d415fb9e89..a6f8abbbd4de 100644 --- a/print/kover/Makefile +++ b/print/kover/Makefile @@ -1,30 +1,31 @@ # Created by: Markus Brueffer # $FreeBSD$ PORTNAME= kover PORTVERSION= 6 CATEGORIES= print kde MASTER_SITES= http://lisas.de/kover/ MAINTAINER= ports@FreeBSD.org COMMENT= WYSIWYG CD cover printer LICENSE= GPLv2 LIB_DEPENDS= cddb:${PORTSDIR}/audio/libcddb \ cdio:${PORTSDIR}/sysutils/libcdio USE_BZIP2= yes USE_KDE4= automoc4 kdehier kdeprefix kdelibs sharedmime USE_QT4= corelib dbus gui network svg xml \ qmake_build uic_build rcc_build USE_PERL5= build USES= cmake gettext perl5 pkgconfig MAN1= kover.1 +NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e \ '/libcdio/s|>=.*)|)|' ${WRKSRC}/src/CMakeLists.txt .include diff --git a/print/kpdftool/Makefile b/print/kpdftool/Makefile index 932145187df1..80ff746ea242 100644 --- a/print/kpdftool/Makefile +++ b/print/kpdftool/Makefile @@ -1,31 +1,32 @@ # Created by: Yuan, Jue # $FreeBSD$ PORTNAME= kpdftool PORTVERSION= 0.23.1 PORTREVISION= 3 CATEGORIES= print MASTER_SITES= http://www.kde-apps.org/CONTENT/content-files/ DISTFILES= 33194-${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= makc@FreeBSD.org COMMENT= Simple utility to manipulate PS and PDF files RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick USE_ZIP= yes USE_QT4= qt3support moc_build porting_build qmake_build uic3_build USE_GHOSTSCRIPT_RUN= yes DESKTOP_ENTRIES= "KPDFTool" "${COMMENT}" "kpdftool" \ "kpdftool" "Qt;Utility;" false +NO_STAGE= yes do-configure: cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin cd ${WRKSRC}/icons && ${COPYTREE_SHARE} hicolor ${PREFIX}/share/icons/ .include diff --git a/print/latex-aa/Makefile b/print/latex-aa/Makefile index 8021c2669d35..844c7292d4df 100644 --- a/print/latex-aa/Makefile +++ b/print/latex-aa/Makefile @@ -1,47 +1,44 @@ -# New ports collection makefile for: print/latex-aa -# Date created: 13 November 2007 -# Whom: Koji Yokota (yokota@res.otaru-uc.ac.jp) -# +# Created by: Koji Yokota (yokota@res.otaru-uc.ac.jp) # $FreeBSD$ -# PORTNAME= latex-aa PORTVERSION= 6.1 PORTREVISION= 3 CATEGORIES= print astro science MASTER_SITES= ftp://ftp.edpsciences.org/pub/aa/ DISTNAME= aa-package DIST_SUBDIR= latex MAINTAINER= yokota@res.otaru-uc.ac.jp COMMENT= LaTeX class for submission to "Astronomy and Astrophysics" NO_BUILD= yes NO_WRKSUBDIR= yes USE_GHOSTSCRIPT_BUILD= yes USE_TEX= latex dvipsk texhash TEXHASHDIRS= ${TEXMFDIR} AADIR= tex/latex/aa AABIBDIR= bibtex/bst/aa AADOCSDIR= doc/latex/aa DOCFILES= aa.dem aa.dvi aa.pdf aadoc.pdf readme.html readme.txt +NO_STAGE= yes pre-install: ( cd ${WRKSRC}/${DISTNAME} && \ latex aa.dem && latex aa.dem && dvips aa.dvi && ps2pdf aa.ps ) do-install: ( cd ${WRKSRC}/${DISTNAME} && \ ${COPYTREE_SHARE} "aa.cls" ${PREFIX}/${TEXMFDIR}/${AADIR} ) ( cd ${WRKSRC}/${DISTNAME}/bibtex/ && \ ${COPYTREE_SHARE} "aa.bst" ${PREFIX}/${TEXMFDIR}/${AABIBDIR} ) .if !defined(NOPORTDOCS) ( cd ${WRKSRC}/${DISTNAME} && \ ${COPYTREE_SHARE} "${DOCFILES}" ${PREFIX}/${TEXMFDIR}/${AADOCSDIR} ) .endif post-install: ${MKTEXLSR} ${PREFIX}/${TEXMFDIR} .include diff --git a/print/latex-aastex/Makefile b/print/latex-aastex/Makefile index 5d4cced6ffe6..50f8f30a4dca 100644 --- a/print/latex-aastex/Makefile +++ b/print/latex-aastex/Makefile @@ -1,54 +1,51 @@ -# New ports collection makefile for: print/latex-aastex -# Date created: 14 November 2007 -# Whom: Koji Yokota (yokota@res.otaru-uc.ac.jp) -# +# Created by: Koji Yokota (yokota@res.otaru-uc.ac.jp) # $FreeBSD$ -# PORTNAME= latex-aastex PORTVERSION= 5.2 PORTREVISION= 3 CATEGORIES= print astro science MASTER_SITES= ftp://ftp.iop.org/pub/journals/ DISTNAME= aastex${PORTVERSION:S/.//} DIST_SUBDIR= latex MAINTAINER= yokota@res.otaru-uc.ac.jp COMMENT= LaTeX class for American Astronomical Society (AAS) journals USE_GHOSTSCRIPT=yes USE_TEX= latex dvipsk NO_BUILD= yes NO_WRKSUBDIR= yes TEXMFDIR= share/texmf CLSDIR= tex/latex/aastex DOCSDIR= doc/latex/aastex CLSFILES= aastex.cls DVIDOCS= sample.dvi table.dvi PSDOCS= aasguide.ps aassymbols.ps TXTDOCS= README MKTEXLSR= ${LOCALBASE}/bin/mktexlsr +NO_STAGE= yes pre-install: .for _DVIDOC in ${DVIDOCS} ( cd ${WRKSRC}/${DISTNAME} && \ dvips ${_DVIDOC} && ps2pdf ${_DVIDOC:S/.dvi/.ps/} ) .endfor .for _PSDOC in ${PSDOCS} ( cd ${WRKSRC}/${DISTNAME} && \ ps2pdf ${_PSDOC} ) .endfor do-install: ( cd ${WRKSRC}/${DISTNAME} && \ ${COPYTREE_SHARE} "${CLSFILES}" ${PREFIX}/${TEXMFDIR}/${CLSDIR} ) .if !defined(NOPORTDOCS) ( cd ${WRKSRC}/${DISTNAME} && \ ${COPYTREE_SHARE} "${DVIDOCS} ${DVIDOCS:S/.dvi/.pdf/} ${PSDOCS:S/.ps/.dvi/} ${PSDOCS:S/.ps/.pdf/} ${TXTDOCS}" ${PREFIX}/${TEXMFDIR}/${DOCSDIR} ) .endif post-install: ${MKTEXLSR} ${PREFIX}/${TEXMFDIR} .include diff --git a/print/latex-acm/Makefile b/print/latex-acm/Makefile index 1dd616953a50..123d82d5427a 100644 --- a/print/latex-acm/Makefile +++ b/print/latex-acm/Makefile @@ -1,60 +1,57 @@ -# New ports collection makefile for: latex-acm -# Date created: Jan 25 2011 -# Whom: Eygene Ryabinkin -# +# Created by: Eygene Ryabinkin # $FreeBSD$ -# PORTNAME= latex-acm PORTVERSION= 1.1 CATEGORIES= print MASTER_SITES= http://www.acm.org/publications/latex_style/ \ http://dist.codelabs.ru/fbsd/latex-acm/ DISTFILES= acm-small-v1-1.zip \ acm-large-v1-1.zip MAINTAINER= rea@FreeBSD.org COMMENT= LaTeX styles for ACM journals USE_ZIP= yes USE_TEX= latex NO_BUILD= yes TEXMFLOCAL= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr LATEXDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//} BIBTEXDIR= ${TEXMFLOCAL}/bibtex/bst/${PORTNAME:S/^latex-//} WRKSRC= ${WRKDIR} CLASS_FILES= acmlarge.cls acmsmall.cls STYLE_FILES= algorithm2e.sty BIB_FILES= acmlarge.bst acmsmall.bst PORTEXAMPLES= acmlarge-sample.tex acmlarge-sample.pdf acmlarge-sample.bbl \ acmlarge-mouse.eps acmlarge-mouse.pdf acmlarge-sam.bib \ acmsmall-sample.tex acmsmall-sample.pdf acmsmall-sample.bbl \ acmsmall-mouse.eps acmsmall-mouse.pdf acmsmall-sam.bib PORTDOCS= acmlarge-guide.pdf acmsmall-guide.pdf PLIST_FILES= ${CLASS_FILES:S@^@${LATEXDIR}/@} \ ${STYLE_FILES:S@^@${LATEXDIR}/@} \ ${BIB_FILES:S@^@${BIBTEXDIR}/@} PLIST_DIRS= ${LATEXDIR} ${BIBTEXDIR} PLIST_SUB= MKTEXLSR=${MKTEXLSR} \ TEXMFLOCAL=${TEXMFLOCAL} +NO_STAGE= yes do-install: ${MKDIR} ${PREFIX}/${LATEXDIR} ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${LATEXDIR} ${INSTALL_DATA} ${STYLE_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${LATEXDIR} ${MKDIR} ${PREFIX}/${BIBTEXDIR} ${INSTALL_DATA} ${BIB_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${BIBTEXDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${DOCSDIR} .endif .if !defined(NOPORTEXAMPLES) ${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S@^@${WRKSRC}/@} ${EXAMPLESDIR} .endif .include diff --git a/print/latex-arydshln/Makefile b/print/latex-arydshln/Makefile index 4a6e1ee2a264..745720cae41e 100644 --- a/print/latex-arydshln/Makefile +++ b/print/latex-arydshln/Makefile @@ -1,64 +1,62 @@ -# New ports collection makefile for: latex-arydshln -# Date created: 24 Jan 2004 -# Whom: hrs@FreeBSD.org -# +# Created by: hrs@FreeBSD.org # $FreeBSD$ PORTNAME= latex-arydshln PORTVERSION= 1.71.20040831 PORTREVISION= 6 CATEGORIES= print MASTER_SITES= ftp://ftp.ctan.org/tex-archive/%SUBDIR%/ \ ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/latex/contrib/arydshln DISTFILES= README arydshln-man.pdf arydshln.dtx arydshln.ins arydshln.pdf DIST_SUBDIR= ${PORTNAME} MAINTAINER= hrs@FreeBSD.org COMMENT= A LaTeX package that draws dash-lines in array/tabular USE_TEX= latex PLIST= ${WRKDIR}/pkg-plist TEXMFLOCAL= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEX_BIN= ${LOCALBASE}/bin/etex YES_CMD= /usr/bin/yes WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//} CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//} CLASS_FILES= arydshln.dtx arydshln.ins arydshln.sty arydshln-man.tex DOC_FILES= README arydshln-man.pdf +NO_STAGE= yes do-extract: ${MKDIR} ${WRKSRC} cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC} do-build: cd ${WRKSRC} && ${YES_CMD} | ${TEX_BIN} arydshln.ins (for F in ${CLASS_FILES}; do \ ${ECHO_CMD} "${CLASSDIR}/$${F}"; \ done;\ ${ECHO_CMD} "@dirrm ${CLASSDIR}" ) > ${PLIST} .if !defined(NOPORTDOCS) (for F in ${DOC_FILES}; do \ ${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \ done;\ ${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" ) >> ${PLIST} .endif ${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST} ${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST} do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR} .endif post-install: @${MKTEXLSR} .include diff --git a/print/latex-auto-greek/Makefile b/print/latex-auto-greek/Makefile index d094d54a70a9..561003fe8b6f 100644 --- a/print/latex-auto-greek/Makefile +++ b/print/latex-auto-greek/Makefile @@ -1,80 +1,78 @@ -# New ports collection makefile for: latex-auto-greek -# Date created: 13 March 2005 -# Whom: EelVex -# +# Created by: EelVex # $FreeBSD$ PORTNAME= latex-auto-greek PORTVERSION= 1.0b PORTREVISION= 4 CATEGORIES= print MASTER_SITES= http://waterdeep.physics.upatras.gr/~eelvex/files/ MAINTAINER= mplekos@physics.upatras.gr COMMENT= A LaTeX package for switching between greek/latintext automatically USE_TEX= latex NO_BUILD= YES PLIST_SUB= TEXMFDIST=${TEXMFDIST} UPDMAP=${UPDMAP} \ CLASSDIR=${CLASSDIR} FMTUTIL=${FMTUTIL} \ MKTEXLSR=${MKTEXLSR} AFFONTDIR=${AFFONTDIR} \ PFFONTDIR=${PFFONTDIR} TFFONTDIR=${TFFONTDIR} \ ENCDIR=${ENCDIR} PSMAPDIR=${PSMAPDIR} \ UPDMAP_FILE=${UPDMAP_FILE} HYPHDIR=${HYPHDIR} TEXMFDIST= share/texmf-dist TEXMFCONFIG= share/texmf-config MKTEXLSR= ${LOCALBASE}/bin/mktexlsr UPDMAP= ${LOCALBASE}/bin/updmap-sys FMTUTIL= ${LOCALBASE}/bin/fmtutil-sys CLASSDIR= ${TEXMFDIST}/tex/latex/${PORTNAME:S/^latex-//} FONTDIR= ${TEXMFDIST}/fonts TRFONTDIR= ${FONTDIR}/truetype/public/${PORTNAME:S/^latex-//} PFFONTDIR= ${FONTDIR}/type1/public/${PORTNAME:S/^latex-//} AFFONTDIR= ${FONTDIR}/afm/public/${PORTNAME:S/^latex-//} TFFONTDIR= ${FONTDIR}/tfm/public/${PORTNAME:S/^latex-//} PSMAPDIR= ${FONTDIR}/map/dvips/${PORTNAME:S/^latex-//} ENCDIR= ${FONTDIR}/enc/dvips/${PORTNAME:S/^latex-//} HYPHDIR= ${TEXMFDIST}/tex/generic/hyphen/ WRKSRC= ${WRKDIR}/ DOC_FILES= README ag-test.tex ag-test.dvi UPDMAP_FILE= ${TEXMFCONFIG}/web2c/updmap.cfg CLASS_FILES= auto-greek.sty updmap.inc ot1grcouri.fd ot1grarial.fd ot1grtimes.fd grushyph.tex PFFONT_FILES= *.pfb AFFONT_FILES= *.afm TFFONT_FILES= *.tfm PSMAP_FILES= greek.map ENC_FILES= greek.enc HYPH_FILES= grushyph.tex MAP_INC= updmap.inc +NO_STAGE= yes do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} ${MKDIR} ${PREFIX}/${PFFONTDIR} ${MKDIR} ${PREFIX}/${AFFONTDIR} ${MKDIR} ${PREFIX}/${TFFONTDIR} ${MKDIR} ${PREFIX}/${PSMAPDIR} ${MKDIR} ${PREFIX}/${ENCDIR} ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${PFFONT_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${PFFONTDIR} ${INSTALL_DATA} ${AFFONT_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${AFFONTDIR} ${INSTALL_DATA} ${TFFONT_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${TFFONTDIR} ${INSTALL_DATA} ${PSMAP_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${PSMAPDIR} ${INSTALL_DATA} ${ENC_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${ENCDIR} ${CAT} ${MAP_INC:S@^@${WRKSRC}/@} >> ${PREFIX}/${UPDMAP_FILE} ${CP} ${PREFIX}/${HYPHDIR}/hyphen.tex ${PREFIX}/${HYPHDIR}/hyphen.tex.old ${INSTALL_DATA} ${HYPH_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${HYPHDIR}/hyphen.tex .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR} .endif post-install: ${MKTEXLSR} ${UPDMAP} ${FMTUTIL} --byfmt latex ${FMTUTIL} --byfmt pdflatex .include diff --git a/print/latex-beamer/Makefile b/print/latex-beamer/Makefile index f30ab7983e3b..ba471e2a3e70 100644 --- a/print/latex-beamer/Makefile +++ b/print/latex-beamer/Makefile @@ -1,61 +1,62 @@ # $FreeBSD$ PORTNAME= latex-beamer PORTVERSION= 3.07 PORTREVISION= 5 CATEGORIES= print MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Version%20${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= A LaTeX class to create a beamer presentation RUN_DEPENDS= ${LOCALBASE}/${TEXMFDIR}/tex/latex/pgf/basiclayer/pgf.sty:${PORTSDIR}/print/latex-pgf USE_TEX= latex NO_BUILD= YES PLIST= ${WRKDIR}/pkg-plist TEXMFDIR= share/texmf TEXMFDIR_LSR= ${LOCALBASE}/${TEXMFDIR}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME:S/^latex-//} CLASS_SUBDIRS= base emulation emacs examples extensions lyx themes DOC_SUBDIRS= AUTHORS ChangeLog FILES INSTALL README TODO \ doc solutions +NO_STAGE= yes pre-install: ${RM} -f ${PLIST} ${TOUCH} ${PLIST} cd ${WRKSRC} && ( \ ${FIND} ${CLASS_SUBDIRS} -type f | \ ${SED} -e "s%^%${CLASSDIR:S,^${PREFIX}/,,}/%"; \ ${FIND} ${CLASS_SUBDIRS} -type d | \ ${SORT} -r | ${SED} -e "s,^,@dirrm ${CLASSDIR:S,^${PREFIX}/,,}/,"; \ ) >> ${PLIST} .if !defined(NOPORTDOCS) cd ${WRKSRC} && ( \ ${FIND} ${DOC_SUBDIRS} -type f | \ ${SED} -e "s%^%${DOCSDIR:S,^${PREFIX}/,,}/%"; \ ${FIND} ${DOC_SUBDIRS} -type d | \ ${SORT} -r | ${SED} -e "s%^%@dirrm ${DOCSDIR:S,^${PREFIX}/,,}/%"; \ ${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}"; \ ) >> ${PLIST} .endif ${ECHO_CMD} "@unexec ${MKTEXLSR} ${PREFIX}/${TEXMFDIR}" >> ${PLIST} ${ECHO_CMD} "@exec ${MKTEXLSR} ${PREFIX}/${TEXMFDIR}" >> ${PLIST} do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} ( cd ${WRKSRC} && ${TAR} cf - ${CLASS_SUBDIRS} ) | \ ( cd ${PREFIX}/${CLASSDIR} && ${TAR} xf - ) .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ( cd ${WRKSRC} && ${TAR} cf - ${DOC_SUBDIRS} ) | \ ( cd ${DOCSDIR} && ${TAR} xf - ) .endif post-install: ${MKTEXLSR} ${PREFIX}/${TEXMFDIR} .include diff --git a/print/latex-biblatex/Makefile b/print/latex-biblatex/Makefile index 32f20dc7dd4c..a96c62df9f48 100644 --- a/print/latex-biblatex/Makefile +++ b/print/latex-biblatex/Makefile @@ -1,98 +1,99 @@ # Created by: vj562001@yahoo.de # $FreeBSD$ PORTNAME= biblatex PORTVERSION= 0.9e CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/latex/exptl PKGNAMEPREFIX= latex- DISTNAME= ${PORTNAME} MAINTAINER= idolum@users.sourceforge.net COMMENT= Reimplementation of the LaTeX bibliographic facilities RUN_DEPENDS= ${LOCALBASE}/${TEXMFLOCAL}/tex/latex/etoolbox/etoolbox.sty:${PORTSDIR}/print/latex-etoolbox USE_ZIP= YES USE_TEX= latex NO_BUILD= YES PLIST= ${WRKDIR}/pkg-plist TEXMFLOCAL= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEX_BIN= ${LOCALBASE}/bin/latex CLASSNAME= ${PORTNAME} CLASSDIR= ${TEXMFLOCAL}/tex/latex/${CLASSNAME} BSTDIR= ${TEXMFLOCAL}/bibtex/bst/biblatex CSFDIR= ${TEXMFLOCAL}/bibtex/csf/biblatex DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} CLASS_FILES= biblatex.cfg biblatex.def biblatex.sty blx-compat.def blx-natbib.def DOC_FILES= README RELEASE doc/biblatex.pdf doc/biblatex.tex BST_FILES= biblatex.bst WRKSRC= ${WRKDIR}/${CLASSNAME} OPTIONS_DEFINE= BIBTEXT8_CSF DOCS BIBTEXT8_CSF_DESC= BibTeX8 sort definition files +NO_STAGE= yes .include pre-install: (for F in ${CLASS_FILES}; do \ ${ECHO_CMD} "${CLASSDIR}/$${F}"; \ done;) > ${PLIST} (for F in `${LS} -F ${WRKSRC}/latex | ${GREP} "/"`; do \ for G in `${LS} ${WRKSRC}/latex/$${F}`; do \ ${ECHO_CMD} "${CLASSDIR}/$${F}$${G}"; \ done; \ ${ECHO_CMD} "@dirrm ${CLASSDIR}/$${F}"; \ done;) >> ${PLIST} ${ECHO_CMD} "@dirrm ${CLASSDIR}" >> ${PLIST} (for F in ${BST_FILES}; do \ ${ECHO_CMD} "${BSTDIR}/$${F}"; \ done;) >> ${PLIST} ${ECHO_CMD} "@dirrm ${BSTDIR}" >> ${PLIST} .if ${PORT_OPTIONS:MBIBTEXT8_CSF} (for F in `${LS} -F ${WRKSRC}/bibtex/csf`; do \ ${ECHO_CMD} "${CSFDIR}/$${F}"; \ done;) >> ${PLIST} ${ECHO_CMD} "@dirrm ${CSFDIR}" >> ${PLIST} .endif .if ${PORT_OPTIONS:MDOCS} (for F in ${DOC_FILES:S,^doc/,,}; do \ ${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \ done;) >> ${PLIST} ${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" >> ${PLIST} (for F in `${LS} ${WRKSRC}/doc/examples`; do \ ${ECHO_CMD} "${EXAMPLESDIR:S,^${PREFIX}/,,}/$${F}"; \ done;) >> ${PLIST} ${ECHO_CMD} "@dirrm ${EXAMPLESDIR:S,^${PREFIX}/,,}" >> ${PLIST} .endif ${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST} ${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST} do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} (cd ${WRKSRC}/latex/ && ${COPYTREE_SHARE} \* ${PREFIX}/${CLASSDIR}) ${MKDIR} ${PREFIX}/${BSTDIR} ${INSTALL_DATA} ${BST_FILES:S@^@${WRKSRC}/bibtex/bst/@} ${PREFIX}/${BSTDIR} .if ${PORT_OPTIONS:MBIBTEXT8_CSF} ${MKDIR} ${PREFIX}/${CSFDIR} (cd ${WRKSRC}/bibtex/csf && ${COPYTREE_SHARE} \* ${PREFIX}/${CSFDIR}) .endif .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR} (cd ${WRKSRC}/doc/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) .endif post-install: ${MKTEXLSR} .include diff --git a/print/latex-biblist/Makefile b/print/latex-biblist/Makefile index 9def8047c4d8..e6b140fee187 100644 --- a/print/latex-biblist/Makefile +++ b/print/latex-biblist/Makefile @@ -1,59 +1,57 @@ -# New ports collection makefile for: latex-biblist -# Date created: 24 Jan 2004 -# Whom: hrs@FreeBSD.org -# +# Created by: hrs@FreeBSD.org # $FreeBSD$ PORTNAME= latex-biblist PORTVERSION= 1.4.19920113 PORTREVISION= 5 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/latex209/contrib/biblist DISTFILES= ${DOC_FILES} ${CLASS_FILES} DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= #empty MAINTAINER= hrs@FreeBSD.org COMMENT= A LaTeX package for printing all of a BibTeX database entries USE_TEX= latex NO_BUILD= YES PLIST= ${WRKDIR}/pkg-plist TEXMFLOCAL= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEX_BIN= ${LOCALBASE}/bin/latex CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//} CLASS_FILES= biblist.sty biblist.gde biblist.bst-dist DOC_FILES= README +NO_STAGE= yes pre-install: (for F in ${CLASS_FILES}; do \ ${ECHO_CMD} "${CLASSDIR}/$${F}"; \ done;\ ${ECHO_CMD} "@dirrm ${CLASSDIR}" ) > ${PLIST} .if !defined(NOPORTDOCS) (for F in ${DOC_FILES}; do \ ${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \ done;\ ${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" ) >> ${PLIST} .endif ${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST} ${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST} do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${CLASS_FILES:S@^@${DISTDIR}/${DIST_SUBDIR}/@} ${PREFIX}/${CLASSDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES:S@^@${DISTDIR}/${DIST_SUBDIR}/@} ${DOCSDIR} .endif post-install: ${MKTEXLSR} .include diff --git a/print/latex-bytefield/Makefile b/print/latex-bytefield/Makefile index eb705eaf3b25..91d03107efea 100644 --- a/print/latex-bytefield/Makefile +++ b/print/latex-bytefield/Makefile @@ -1,51 +1,49 @@ -# New ports collection makefile for: latex-bytefield -# Date created: 24 Jan 2004 -# Whom: hrs@FreeBSD.org -# +# Created by: hrs@FreeBSD.org # $FreeBSD$ PORTNAME= latex-bytefield PORTVERSION= 1.2.20050731 PORTREVISION= 6 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/latex/contrib/bytefield DISTFILES= bytefield.dtx bytefield.ins ${PORTDOCS} DIST_SUBDIR= ${PORTNAME} MAINTAINER= hrs@FreeBSD.org COMMENT= A LaTeX package that utilization diagram of data fields USE_TEX= latex PLIST_SUB= TEXMFDIR=${TEXMFDIR} MKTEXLSR=${MKTEXLSR} \ CLASSDIR=${CLASSDIR} TEXMFDIR= share/texmf TEXMFDIR_LSR= ${LOCALBASE}/${TEXMFDIR}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEX_BIN= ${LOCALBASE}/bin/etex CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME:S/^latex-//} WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//} CLASS_FILES= bytefield.dtx bytefield.sty bytefield.ins PORTDOCS= README bytefield.pdf example.pdf example.tex +NO_STAGE= yes do-extract: ${MKDIR} ${WRKSRC} cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${DISTFILES} ${WRKSRC} do-build: cd ${WRKSRC} && ${TEX_BIN} bytefield.ins do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${DOCSDIR} .endif post-install: @${MKTEXLSR} ${TEXMFDIR} .include diff --git a/print/latex-caption/Makefile b/print/latex-caption/Makefile index 12b8a29bb085..9a76f1a51cdc 100644 --- a/print/latex-caption/Makefile +++ b/print/latex-caption/Makefile @@ -1,64 +1,62 @@ -# New ports collection makefile for: latex-caption -# Date created: 24 Jan 2004 -# Whom: hrs@FreeBSD.org -# +# Created by: hrs@FreeBSD.org # $FreeBSD$ PORTNAME= latex-caption PORTVERSION= 3.1.20100114 PORTREVISION= 2 CATEGORIES= print MASTER_SITES= ftp://ftp.ctan.org/tex-archive/%SUBDIR%/ \ ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/latex/contrib/caption DISTFILES= ${SRC_FILES} ${PORTDOCS} DIST_SUBDIR= ${PORTNAME} MAINTAINER= hrs@FreeBSD.org COMMENT= A LaTeX package that supports customization of captions USE_TEX= latex PLIST_SUB= MKTEXLSR=${MKTEXLSR} \ TEXMFDIR=${TEXMFDIR} TEXMFDIR= share/texmf TEXMF_LSR= ${LOCALBASE}/${TEXMFDIR}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEX_BIN= ${LOCALBASE}/bin/etex YES_CMD= /usr/bin/yes CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME:S/^latex-//} WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//} PLIST_FILES= ${SRC_FILES:S,^,${CLASSDIR}/,} \ ${CLASS_FILES:S,^,${CLASSDIR}/,} SRC_FILES= caption.dtx caption2.dtx caption.ins \ ltcaption.dtx subcaption.dtx CLASS_FILES= caption.sty caption2.sty caption3.sty \ ltcaption.sty subcaption.sty PORTDOCS= README caption.pdf caption2.pdf \ ltcaption.pdf subcaption.pdf \ caption-eng.pdf caption-deu.pdf caption-rus.pdf \ caption-eng.tex caption-deu.tex caption-rus.tex \ cat.eps elephant.eps +NO_STAGE= yes do-extract: ${MKDIR} ${WRKSRC} cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC} do-build: cd ${WRKSRC} && ${YES_CMD} | ${TEX_BIN} caption.ins do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${SRC_FILES:S@^@${WRKSRC}/@} \ ${CLASS_FILES:S@^@${WRKSRC}/@} \ ${PREFIX}/${CLASSDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${DOCSDIR} .endif post-install: @${MKTEXLSR} ${LOCALBASE}/${TEXMFDIR} .include diff --git a/print/latex-chapterfolder/Makefile b/print/latex-chapterfolder/Makefile index 54d5f6e613cf..68e6423d9eb1 100644 --- a/print/latex-chapterfolder/Makefile +++ b/print/latex-chapterfolder/Makefile @@ -1,61 +1,59 @@ -# New ports collection makefile for: latex-chapterfolder -# Date created: 16 July 2011 -# Whom: hrs -# +# Created by: hrs # $FreeBSD$ PORTNAME= chapterfolder PORTVERSION= 2.0.20051124 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ftp://ftp.ctan.org/tex-archive/%SUBDIR%/ \ ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/latex/contrib/${PORTNAME} PKGNAMEPREFIX= latex- DISTFILES= ${SRC_FILES} ${PORTDOCS} DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= A LaTeX package that ties section structures and folders USE_TEX= latex PLIST_SUB= MKTEXLSR=${MKTEXLSR} \ TEXMFDIR=${TEXMFDIR} TEXMFDIR= share/texmf TEXMF_LSR= ${LOCALBASE}/${TEXMFDIR}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEX_BIN= ${LOCALBASE}/bin/etex YES_CMD= /usr/bin/yes CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= ${SRC_FILES:S,^,${CLASSDIR}/,} \ ${CLASS_FILES:S,^,${CLASSDIR}/,} PLIST_DIRS= ${CLASSDIR} SRC_FILES= chapterfolder.dtx chapterfolder.ins CLASS_FILES= chapterfolder.sty PORTDOCS= chapterfolder.pdf +NO_STAGE= yes do-extract: ${MKDIR} ${WRKSRC} cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${DISTFILES} ${WRKSRC} do-build: cd ${WRKSRC} && ${YES_CMD} | ${TEX_BIN} chapterfolder.ins do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} cd ${WRKSRC} && \ ${INSTALL_DATA} ${SRC_FILES} ${CLASS_FILES} \ ${PREFIX}/${CLASSDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} cd ${WRKSRC} && \ ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif post-install: @${MKTEXLSR} ${LOCALBASE}/${TEXMFDIR} .include diff --git a/print/latex-circ/Makefile b/print/latex-circ/Makefile index 96199372ff1f..52deaf26699e 100644 --- a/print/latex-circ/Makefile +++ b/print/latex-circ/Makefile @@ -1,84 +1,81 @@ -# New ports collection makefile for: latex-circ -# Date created: 2005-07-20 -# Whom: Nicola Vitale -# +# Created by: Nicola Vitale # $FreeBSD$ -# PORTNAME= circ PORTVERSION= 1.0f PORTREVISION= 6 CATEGORIES= print MASTER_SITES= ftp://cam.ctan.org/tex-archive/macros/generic/diagrams/ \ http://theory.uwinnipeg.ca/scripts/CTAN/macros/generic/diagrams/ PKGNAMEPREFIX= latex- DISTNAME= ${PORTNAME} MAINTAINER= nivit@FreeBSD.org COMMENT= A LaTeX package for typesetting circuit diagrams USE_ZIP= yes USE_TEX= latex # We need to install in the global texmf-local directory PREFIX= ${LOCALBASE} TEXMFLOCAL= ${LOCALBASE}/share/texmf-local TEXMFLOCAL_DOC= ${TEXMFLOCAL}/doc TEXMFLOCAL_LSR= ${TEXMFLOCAL}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEX_CMD= ${LOCALBASE}/bin/latex PLIST_SUB= MKTEXLSR=${MKTEXLSR} CIRC_INS= circ.ins CIRC_DRV= circ.drv CIRC_DOC= circ.dvi circ.pdf FIND_CLASS= -type f \( -name "*.sty" -or -name "*.def" \) FIND_FONTS_PK= -type f -name "*.*pk" FIND_FONTS_MF= -type f -name "*.mf" FIND_FONTS_TFM= -type f -name "*.tfm" CLASS_DIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME} FONTS_PK_DIR= ${TEXMFLOCAL}/fonts/pk/${PORTNAME} FONTS_MF_DIR= ${TEXMFLOCAL}/fonts/source/${PORTNAME} FONTS_TFM_DIR= ${TEXMFLOCAL}/fonts/tfm/${PORTNAME} +NO_STAGE= yes .include do-build: @cd ${WRKSRC}; \ ${TEX_CMD} ${CIRC_INS}; do-install: @cd ${WRKSRC}; \ ${MKDIR} ${CLASS_DIR}; \ CLASSES=$$(${FIND} . ${FIND_CLASS} ); \ for CLASS in $${CLASSES}; do \ ${INSTALL_DATA} $${CLASS} ${CLASS_DIR}/$${CLASS}; \ done; \ ${TEX_CMD} ${CIRC_DRV} && ${TEX_CMD} ${CIRC_DRV} && ${TEX_CMD} ${CIRC_DRV}; \ ${MKDIR} ${FONTS_PK_DIR} ${FONTS_MF_DIR} ${FONTS_TFM_DIR}; \ FONTS_PK=$$(${FIND} . ${FIND_FONTS_PK} ); \ for PK in $${FONTS_PK}; do \ ${INSTALL_DATA} $${PK} ${FONTS_PK_DIR}/$${PK}; \ done; \ FONTS_MF=$$(${FIND} . ${FIND_FONTS_MF} ); \ for MF in $${FONTS_MF}; do \ ${INSTALL_DATA} $${MF} ${FONTS_MF_DIR}/$${MF}; \ done; \ FONTS_TFM=$$(${FIND} . ${FIND_FONTS_TFM} ); \ for TFM in $${FONTS_TFM}; do \ ${INSTALL_DATA} $${TFM} ${FONTS_TFM_DIR}/$${TFM}; \ done; .if !defined(NOPORTDOCS) @cd ${WRKSRC}; \ ${MKDIR} ${TEXMFLOCAL_DOC}/${PORTNAME}; \ for doc in ${CIRC_DOC}; do \ ${INSTALL_DATA} $${doc} ${TEXMFLOCAL_DOC}/${PORTNAME}/$${doc}; \ done .endif post-install: @${MKTEXLSR} .include diff --git a/print/latex-cjk/Makefile b/print/latex-cjk/Makefile index 499caec6a529..64e6942fc74b 100644 --- a/print/latex-cjk/Makefile +++ b/print/latex-cjk/Makefile @@ -1,145 +1,146 @@ # Created by: Jing-Tang Keith Jang (keith@FreeBSD.org) # $FreeBSD$ PORTNAME= latex-cjk PORTVERSION= 4.8.2 PORTREVISION= 6 CATEGORIES= print chinese japanese korean MASTER_SITES= http://cjk.ffii.org/ \ ftp://freebsd.csie.ntu.edu.tw/users/rafan/ DISTNAME= cjk-${PORTVERSION} DISTFILES= ${DISTNAME}.tar.gz MAINTAINER= rafan@FreeBSD.org COMMENT= A LaTeX2e macro package which enables the use of CJK scripts RUN_DEPENDS= zh-arphicttf>=0:${PORTSDIR}/chinese/arphicttf \ ttf2pk:${PORTSDIR}/print/freetype-tools BUILD_DEPENDS:= ${RUN_DEPENDS} \ ${LOCALBASE}/share/ttf2pt1/maps/cugb.map:${PORTSDIR}/chinese/ttf2pt1 \ ttf2pt1:${PORTSDIR}/print/ttf2pt1 LIB_DEPENDS= ttf:${PORTSDIR}/print/freetype USE_GMAKE= yes USE_TEX= tetex latex MAN1= bg5conv.1 cef5conv.1 cefconv.1 cefsconv.1 extconv.1 \ hbf2gf.1 sjisconv.1 SUB_FILES= pkg-deinstall pkg-install pkg-message SUB_LIST= TEXMFDIR=${TEXMFDIR_REL} PLIST_SUB= TEXMFDIR=${TEXMFDIR_REL} INSTALL_DIR= ${INSTALL} -d -m 0755 -o root -g wheel WRKFONTDIR= ${WRKDIR}/fonts OPTIONS_DEFINE= CCMAP DVIPDFMX UTF8ARPHIC DOCS NLS OPTIONS_DEFAULT= CCMAP DVIPDFMX UTF8ARPHIC CCMAP_DESC= CCT CCMap package (for PDFTeX's CID support) DVIPDFMX_DESC= Install and configure DVIPDFMx for CJK UTF8ARPHIC_DESC= Arphic free fonts in UTF-8 (no Type 1) +NO_STAGE= yes .include .if ${PORT_OPTIONS:MCCMAP} MASTER_SITES+= http://ftp.intron.ac/pub/FreeBSD/local-distfiles/:cct DISTFILES+= cct-20060219-ccmap.tar.gz:cct PLIST_SUB+= CCMAP="" .else PLIST_SUB+= CCMAP="@comment " .endif .if ${PORT_OPTIONS:MDVIPDFMX} USE_TEX+= dvipdfmx # Configuration is done by "pkg-install" .endif .if ${PORT_OPTIONS:MUTF8ARPHIC} PLIST_SUB+= UTF8ARPHIC="" .else PLIST_SUB+= UTF8ARPHIC="@comment " .endif post-extract: @${RM} -f ${WRKSRC}/Makefile post-patch: # be compatible with Debian @${CP} -p ${WRKSRC}/texinput/Bg5/c00kai.fd ${WRKSRC}/texinput/Bg5/c00bkai.fd @${REINPLACE_CMD} -e 's,c00kai.fd,c00bkai.fd,; s,{kai},{bkai},' ${WRKSRC}/texinput/Bg5/c00bkai.fd .if ${PORT_OPTIONS:MCCMAP} @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},' ${WRKDIR}/ccmap/make.sh .endif @${FIND} -E ${WRKSRC} ${WRKDIR}/ccmap -regex '.*.(orig|bak)' -delete pre-su-install: ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL post-install: .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR}) .endif .if ${PORT_OPTIONS:MNLS} ${MKDIR} ${EXAMPLESDIR} (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) .endif # Install Arphic fonts for Type 3 or DVIPDFMx @${ECHO_CMD} "Generating Arphic fonts' TFM files..." ${SETENV} LOCALBASE=${LOCALBASE} ${SH} ${SCRIPTDIR}/installtfm.sh \ arb5sung arb5sung.ttf UBig5 ${SETENV} LOCALBASE=${LOCALBASE} ${SH} ${SCRIPTDIR}/installtfm.sh \ arb5kai arb5kai.ttf UBig5 ${SETENV} LOCALBASE=${LOCALBASE} ${SH} ${SCRIPTDIR}/installtfm.sh \ argbsung argbsung.ttf UGB ${SETENV} LOCALBASE=${LOCALBASE} ${SH} ${SCRIPTDIR}/installtfm.sh \ argbkai argbkai.ttf UGB # Install Arphic fonts for Type 1 and PDFTeX @${ECHO_CMD} "Generating Type 1 Arphic fonts..." ${MKDIR} ${WRKFONTDIR} ${ECHO} -n "" > ${WRKFONTDIR}/CJK-type1.map ${ECHO} -n "" > ${WRKFONTDIR}/CJK-pdftex.map cd ${WRKFONTDIR} && ${SETENV} LOCALBASE=${LOCALBASE} ${SH} \ ${SCRIPTDIR}/installt1enc.sh arb5sung arb5sung.ttf Bg5 cd ${WRKFONTDIR} && ${SETENV} LOCALBASE=${LOCALBASE} ${SH} \ ${SCRIPTDIR}/installt1enc.sh arb5kai arb5kai.ttf Bg5 cd ${WRKFONTDIR} && ${SETENV} LOCALBASE=${LOCALBASE} ${SH} \ ${SCRIPTDIR}/installt1enc.sh argbsung argbsung.ttf GB cd ${WRKFONTDIR} && ${SETENV} LOCALBASE=${LOCALBASE} ${SH} \ ${SCRIPTDIR}/installt1enc.sh argbkai argbkai.ttf GB # Install package ccmap .if ${PORT_OPTIONS:MCCMAP} @${ECHO_CMD} "Installing ccmap..." ${MKTEXLSR} cd ${WRKDIR}/ccmap && ${SH} make.sh && ${COPYTREE_SHARE} \* ${CJKDIR}/ccmap .endif # Install Arphic fonts in Unicode separation for Type 3 or DVIPDFMx .if ${PORT_OPTIONS:MUTF8ARPHIC} @${ECHO_CMD} "Generating Arphic fonts' TFM files in Unicode..." ${SETENV} LOCALBASE=${LOCALBASE} ${SH} ${SCRIPTDIR}/installtfm.sh \ arb5sungu arb5sung.ttf Unicode ${SETENV} LOCALBASE=${LOCALBASE} ${SH} ${SCRIPTDIR}/installtfm.sh \ arb5kaiu arb5kai.ttf Unicode ${SETENV} LOCALBASE=${LOCALBASE} ${SH} ${SCRIPTDIR}/installtfm.sh \ argbsungu argbsung.ttf Unicode ${SETENV} LOCALBASE=${LOCALBASE} ${SH} ${SCRIPTDIR}/installtfm.sh \ argbkaiu argbkai.ttf Unicode .endif # Mapping files for updmap(1) and PDFTeX ${INSTALL_DIR} ${CJKMAPDIR} ${INSTALL_DATA} ${WRKFONTDIR}/CJK-type1.map ${CJKMAPDIR} ${INSTALL_DATA} ${WRKFONTDIR}/CJK-pdftex.map ${CJKMAPDIR} # Final ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL ${CAT} ${PKGMESSAGE} .include "../../print/latex-cjk/Makefile.common" .include diff --git a/print/latex-csquotes/Makefile b/print/latex-csquotes/Makefile index ebead4ab3c59..b98c9e7c2cc2 100644 --- a/print/latex-csquotes/Makefile +++ b/print/latex-csquotes/Makefile @@ -1,64 +1,62 @@ -# New ports collection makefile for: latex-csquotes -# Date created: 31 Aug 2008 -# Whom: vj562001@yahoo.de -# +# Created by: vj562001@yahoo.de # $FreeBSD$ PORTNAME= csquotes PORTVERSION= 5.0b CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/latex/contrib PKGNAMEPREFIX= latex- DISTNAME= ${PORTNAME} MAINTAINER= idolum@users.sourceforge.net COMMENT= Context sensitive quotation facilities RUN_DEPENDS= ${LOCALBASE}/${TEXMFLOCAL}/tex/latex/etoolbox/etoolbox.sty:${PORTSDIR}/print/latex-etoolbox USE_ZIP= YES USE_TEX= latex NO_BUILD= YES PLIST= ${WRKDIR}/pkg-plist TEXMFLOCAL= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEX_BIN= ${LOCALBASE}/bin/latex CLASSNAME= ${PORTNAME} CLASSDIR= ${TEXMFLOCAL}/tex/latex/${CLASSNAME} DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} CLASS_FILES= csquotes.sty csquotes.def csquotes.cfg csq-compat.def DOC_FILES= RELEASE README csquotes.pdf csquotes.tex WRKSRC= ${WRKDIR}/${CLASSNAME} +NO_STAGE= yes pre-install: (for F in ${CLASS_FILES}; do \ ${ECHO_CMD} "${CLASSDIR}/$${F}"; \ done;) > ${PLIST} ${ECHO_CMD} "@dirrm ${CLASSDIR}" >> ${PLIST} .if !defined(NOPORTDOCS) (for F in ${DOC_FILES}; do \ ${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \ done;\ ${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" ) >> ${PLIST} .endif ${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST} ${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST} do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR} .endif post-install: ${MKTEXLSR} .include diff --git a/print/latex-etoolbox/Makefile b/print/latex-etoolbox/Makefile index c352a8f2e4fb..1bee9040c9d4 100644 --- a/print/latex-etoolbox/Makefile +++ b/print/latex-etoolbox/Makefile @@ -1,60 +1,61 @@ # Created by: vj562001@yahoo.de # $FreeBSD$ PORTNAME= etoolbox DISTVERSION= 2.1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/latex/contrib PKGNAMEPREFIX= latex- DISTNAME= ${PORTNAME} DIST_SUBDIR= ${PORTNAME}/${DISTVERSION} MAINTAINER= idolum@users.sourceforge.net COMMENT= A toolbox providing programming facilities for LaTeX USE_ZIP= YES USE_TEX= latex NO_BUILD= YES PLIST= ${WRKDIR}/pkg-plist TEXMFLOCAL= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEX_BIN= ${LOCALBASE}/bin/latex CLASSNAME= ${PORTNAME} CLASSDIR= ${TEXMFLOCAL}/tex/latex/${CLASSNAME} DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} CLASS_FILES= etoolbox.sty etoolbox.def DOC_FILES= README etoolbox.pdf etoolbox.tex WRKSRC= ${WRKDIR}/${CLASSNAME} +NO_STAGE= yes pre-install: (for F in ${CLASS_FILES}; do \ ${ECHO_CMD} "${CLASSDIR}/$${F}"; \ done;) > ${PLIST} ${ECHO_CMD} "@dirrm ${CLASSDIR}" >> ${PLIST} .if !defined(NOPORTDOCS) (for F in ${DOC_FILES}; do \ ${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \ done;\ ${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" ) >> ${PLIST} .endif ${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST} ${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST} do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR} .endif post-install: ${MKTEXLSR} .include diff --git a/print/latex-feynmf/Makefile b/print/latex-feynmf/Makefile index 5ad99dbee1ac..ef9cb41de4da 100644 --- a/print/latex-feynmf/Makefile +++ b/print/latex-feynmf/Makefile @@ -1,68 +1,66 @@ -# New ports collection makefile for: latex-feynmf -# Date created: 24 Jan 2004 -# Whom: hrs@FreeBSD.org -# +# Created by: hrs@FreeBSD.org # $FreeBSD$ PORTNAME= latex-feynmf PORTVERSION= 1.08.19961202 PORTREVISION= 8 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/latex/contrib/feynmf DISTFILES= ${PORTDOCS} Makefile feynmf.pl \ feynmf.dtx feynmf.ins feynmf209.ins \ manpics.1 manpics.2 manpics.3 manpics.mp DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= #empty MAINTAINER= hrs@FreeBSD.org COMMENT= A LaTeX package for drawing of Feynman diagrams USE_TEX= latex PLIST_SUB= TEXMFDIR=${TEXMFDIR} MKTEXLSR=${MKTEXLSR} \ CLASSDIR=${CLASSDIR} FONTDIR=${FONTDIR} MPDIR=${MPDIR} TEXMFDIR= share/texmf MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEX_BIN= ${LOCALBASE}/bin/etex CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME:S/^latex-//} FONTDIR= ${TEXMFDIR}/fonts/source/public/${PORTNAME:S/^latex-//} MPDIR= ${TEXMFDIR}/metapost/${PORTNAME:S/^latex-//} PORTDOCS= Announce COPYING Feynman.Diagrams README \ Tutorial manual.ps template.tex CLASS_FILES= feynmf.dtx feynmf.ins feynmf209.ins \ feynmf.sty feynmp.sty SCRIPT_FILES= feynmf.pl FONT_FILES= feynmf.mf MP_FILES= feynmp.mp manpics.mp manpics.1 manpics.2 manpics.3 +NO_STAGE= yes do-extract: ${MKDIR} ${WRKSRC} cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC} do-build: cd ${WRKSRC} && ${TEX_BIN} feynmf.ins do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} ${MKDIR} ${PREFIX}/${FONTDIR} ${INSTALL_DATA} ${FONT_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${FONTDIR} ${MKDIR} ${PREFIX}/${MPDIR} ${INSTALL_DATA} ${MP_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${MPDIR} ${MKDIR} ${PREFIX}/bin ${INSTALL_SCRIPT} ${SCRIPT_FILES:S@^@${WRKSRC}/@} ${PREFIX}/bin .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${DOCSDIR} .endif post-install: ${MKTEXLSR} ${PREFIX}/${TEXMFDIR} .include diff --git a/print/latex-ifluatex/Makefile b/print/latex-ifluatex/Makefile index 92ddd95981b4..1127acfbd6e2 100644 --- a/print/latex-ifluatex/Makefile +++ b/print/latex-ifluatex/Makefile @@ -1,47 +1,48 @@ # $FreeBSD$ PORTNAME= latex-ifluatex PORTVERSION= 1.3 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/latex/contrib/oberdiek DISTFILES= ifluatex.dtx ${DOC_FILES} DIST_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= LaTeX package that provides the \ifluatex switch USE_TEX= latex PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR} \ CLASSDIR=${CLASSDIR} TEXMFLOCAL= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEX_BIN= ${LOCALBASE}/bin/etex CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//} WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//} CLASS_FILES= ifluatex.dtx ifluatex.sty DOC_FILES= ifluatex.pdf +NO_STAGE= yes do-extract: ${MKDIR} ${WRKSRC} cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC} do-build: cd ${WRKSRC} && ${TEX_BIN} ifluatex.dtx do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR} .endif post-install: @${MKTEXLSR} .include diff --git a/print/latex-keystroke/Makefile b/print/latex-keystroke/Makefile index 6b3c32c67d2c..105c07402989 100644 --- a/print/latex-keystroke/Makefile +++ b/print/latex-keystroke/Makefile @@ -1,47 +1,45 @@ -# New ports collection makefile for: latex-keystroke -# Date created: 24 Jan 2004 -# Whom: hrs@FreeBSD.org -# +# Created by: hrs@FreeBSD.org # $FreeBSD$ PORTNAME= latex-keystroke PORTVERSION= 1.0.20001109 PORTREVISION= 5 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/latex/contrib/keystroke DISTFILES= ${DOC_FILES} ${CLASS_FILES} DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= #empty MAINTAINER= hrs@FreeBSD.org COMMENT= A LaTeX package for the graphical representation of the keys USE_TEX= latex NO_BUILD= YES PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR} \ CLASSDIR=${CLASSDIR} TEXMFLOCAL= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//} DOC_FILES= README CLASS_FILES= key-test.pdf key-test.tex keystroke.sty \ keystroke_left.eps keystroke_left.pdf keystroke_middle.eps \ keystroke_middle.pdf keystroke_right.eps keystroke_right.pdf +NO_STAGE= yes do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${CLASS_FILES:S@^@${DISTDIR}/${DIST_SUBDIR}/@} ${PREFIX}/${CLASSDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES:S@^@${DISTDIR}/${DIST_SUBDIR}/@} ${DOCSDIR} .endif post-install: ${MKTEXLSR} .include diff --git a/print/latex-logpap/Makefile b/print/latex-logpap/Makefile index 1bca41398c80..b415621af8ac 100644 --- a/print/latex-logpap/Makefile +++ b/print/latex-logpap/Makefile @@ -1,54 +1,52 @@ -# New ports collection makefile for: latex-logpap -# Date created: 14 Feb 2004 -# Whom: hrs@FreeBSD.org -# +# Created by: hrs@FreeBSD.org # $FreeBSD$ PORTNAME= latex-logpap PORTVERSION= 0.6.20040201 PORTREVISION= 6 CATEGORIES= print MASTER_SITES= ftp://ftp.ctan.org/tex-archive/%SUBDIR%/ \ ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/latex/contrib/logpap DISTFILES= ${DOC_FILES} logpap.dtx logpap.ins DIST_SUBDIR= ${PORTNAME} MAINTAINER= hrs@FreeBSD.org COMMENT= A LaTeX package for drawing logarithmic graph paper PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR} \ CLASSDIR=${CLASSDIR} USE_TEX= latex USE_GMAKE= YES TEXMFLOCAL= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEX_BIN= ${LOCALBASE}/bin/etex YES_CMD= /usr/bin/yes CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//} WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//} CLASS_FILES= logpap.dtx logpap.ins logpap.sty example.tex DOC_FILES= README example.pdf +NO_STAGE= yes do-extract: ${MKDIR} ${WRKSRC} cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC} do-build: cd ${WRKSRC} && ${YES_CMD} | ${TEX_BIN} logpap.ins do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR} .endif post-install: @${MKTEXLSR} .include diff --git a/print/latex-logreq/Makefile b/print/latex-logreq/Makefile index 22a7ed093200..7d23caf88658 100644 --- a/print/latex-logreq/Makefile +++ b/print/latex-logreq/Makefile @@ -1,71 +1,69 @@ -# New ports collection makefile for: latex-logreq -# Date created: 15 Aug 2010 -# Whom: idolum@users.sourceforge.net -# +# Created by: idolum@users.sourceforge.net # $FreeBSD$ PORTNAME= logreq PORTVERSION= 1.0 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/latex/contrib PKGNAMEPREFIX= latex- DISTNAME= ${PORTNAME} MAINTAINER= idolum@users.sourceforge.net COMMENT= Support for automation of the LaTeX workflow RUN_DEPENDS= ${LOCALBASE}/${TEXMFLOCAL}/tex/latex/etoolbox/etoolbox.sty:${PORTSDIR}/print/latex-etoolbox USE_ZIP= YES USE_TEX= latex NO_BUILD= YES PLIST= ${WRKDIR}/pkg-plist TEXMFLOCAL= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEX_BIN= ${LOCALBASE}/bin/latex CLASSNAME= ${PORTNAME} CLASSDIR= ${TEXMFLOCAL}/tex/latex/${CLASSNAME} DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} CLASS_FILES= logreq.def logreq.sty DOC_FILES= README WRKSRC= ${WRKDIR}/${CLASSNAME} +NO_STAGE= yes pre-install: (for F in ${CLASS_FILES}; do \ ${ECHO_CMD} "${CLASSDIR}/$${F}"; \ done;) > ${PLIST} ${ECHO_CMD} "@dirrm ${CLASSDIR}" >> ${PLIST} .if !defined(NOPORTDOCS) (for F in ${DOC_FILES}; do \ ${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \ done;\ ${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" ) >> ${PLIST} (for F in `${LS} ${WRKSRC}/examples`; do \ ${ECHO_CMD} "${EXAMPLESDIR:S,^${PREFIX}/,,}/$${F}"; \ done;) >> ${PLIST} ${ECHO_CMD} "@dirrm ${EXAMPLESDIR:S,^${PREFIX}/,,}" >> ${PLIST} .endif ${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST} ${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST} do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR} (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) .endif post-install: ${MKTEXLSR} .include diff --git a/print/latex-ltablex/Makefile b/print/latex-ltablex/Makefile index 74ed6d174b5e..7473cb7ce4fa 100644 --- a/print/latex-ltablex/Makefile +++ b/print/latex-ltablex/Makefile @@ -1,47 +1,48 @@ # $FreeBSD$ PORTNAME= ltablex PORTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= print # As of 2012-08-24, some mirrors are returning a tarball with a # different checksum, so I am mirroring it locally instead. # MASTER_SITES= ${MASTER_SITE_TEX_CTAN} # MASTER_SITE_SUBDIR= macros/latex/contrib MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= rakuco/latex PKGNAMEPREFIX= latex- DIST_SUBDIR= latex MAINTAINER= rakuco@FreeBSD.org COMMENT= Combines the features of both the tabularx and longtable packages USE_ZIP= YES USE_TEX= latex NO_BUILD= YES PLIST_SUB= MKTEXLSR=${MKTEXLSR} \ CLASSDIR=${CLASSDIR} \ TEXMFDIR=${TEXMFDIR} TEXMFDIR= share/texmf MKTEXLSR= ${LOCALBASE}/bin/mktexlsr CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME} CLASS_FILES= ltablex.sty PORTDOCS= ltablex.pdf ltablex.tex WRKSRC= ${WRKDIR}/${PORTNAME} +NO_STAGE= yes do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${DOCSDIR} .endif post-install: ${MKTEXLSR} ${PREFIX}/${TEXMFDIR} .include diff --git a/print/latex-mathabx/Makefile b/print/latex-mathabx/Makefile index f5e76be42fd0..126d45bdecd9 100644 --- a/print/latex-mathabx/Makefile +++ b/print/latex-mathabx/Makefile @@ -1,81 +1,79 @@ -# New ports collection makefile for: latex-mathabx -# Date created: 24 Jan 2004 -# Whom: hrs@FreeBSD.org -# +# Created by: hrs@FreeBSD.org # $FreeBSD$ PORTNAME= latex-mathabx PORTVERSION= 1.0.20050518 PORTREVISION= 4 CATEGORIES= print MASTER_SITES= http://auemath.aichi-edu.ac.jp/~khotta/ghost/abx/ DISTFILES= mathabx${EXTRACT_SUFX} abxtype1${EXTRACT_SUFX} MAINTAINER= hrs@FreeBSD.org COMMENT= Math series, aka mathabx MetaFont fontset for TeX/LaTeX USE_ZIP= YES USE_TEX= latex NO_BUILD= YES PLIST_SUB= TEXMFLOCALDIR=${TEXMFLOCALDIR} \ MKTEXLSR=${MKTEXLSR} \ UPDMAP_SYS="${UPDMAP_SYS}" \ CLASSDIR=${CLASSDIR} MFDIR=${MFDIR} \ TYPE1DIR=${TYPE1DIR} DVIPSDIR=${DVIPSDIR} WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//} TEXMFDIR= share/texmf TEXMFLOCALDIR= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCALDIR}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr UPDMAP_SYS= ${SETENV} PATH=${LOCALBASE}/bin:$${PATH} \ ${LOCALBASE}/bin/updmap-sys CLASSDIR= ${TEXMFLOCALDIR}/tex/latex/${PORTNAME:S/^latex-//} CLASS_FILES= mathabx.dcl mathabx.sty mathabx.tex testmac.tex MFDIR= ${TEXMFLOCALDIR}/fonts/source/public/${PORTNAME:S/^latex-//} MF_FILES= matha10.mf matha12.mf matha5.mf matha6.mf matha7.mf \ matha8.mf matha9.mf mathacnt.mf mathadrv.mf matharrw.mf \ mathastr.mf mathastrotest10.mf mathastrotestdrv.mf \ mathasym.mf mathb10.mf mathb12.mf mathb5.mf \ mathb6.mf mathb7.mf mathb8.mf mathb9.mf mathbase.mf \ mathbdel.mf mathbdrv.mf mathbigs.mf mathbsym.mf mathc10.mf \ mathcall.mf mathcallgreek.mf mathcdrv.mf mathfine.mf \ mathgrey.mf mathhbrw.mf mathineq.mf \ mathltlk.mf mathmbcb.mf mathprmt.mf mathsmsy.mf mathsubs.mf \ mathsymb.mf mathu10.mf mathudrv.mf mathusym.mf \ mathux10.mf mathuxdrv.mf mathx10.mf mathx12.mf mathx5.mf \ mathx6.mf mathx7.mf mathx8.mf mathx9.mf mathxdrv.mf maydigit.mf TYPE1DIR= ${TEXMFLOCALDIR}/fonts/type1/${PORTNAME:S/^latex-//} TYPE1_FILES= matha10.pfb matha12.pfb matha5.pfb matha6.pfb matha7.pfb \ matha8.pfb matha9.pfb mathastrotest10.pfb \ mathb10.pfb mathb12.pfb mathb5.pfb \ mathb6.pfb mathb7.pfb mathb8.pfb mathb9.pfb mathc10.pfb \ mathu10.pfb mathux10.pfb mathx10.pfb mathx12.pfb \ mathx5.pfb mathx6.pfb mathx7.pfb mathx8.pfb mathx9.pfb DVIPSDIR= ${TEXMFLOCALDIR}/fonts/map/dvips/mathabx DVIPS_FILES= mathabx.map +NO_STAGE= yes do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${WRKSRC}/mathtest.tex\ ${CLASS_FILES:S@^@${WRKSRC}/texinputs/@}\ ${PREFIX}/${CLASSDIR} ${MKDIR} ${PREFIX}/${MFDIR} ${INSTALL_DATA} ${MF_FILES:S@^@${WRKSRC}/source/@}\ ${PREFIX}/${MFDIR} ${MKDIR} ${PREFIX}/${TYPE1DIR} ${INSTALL_DATA} ${TYPE1_FILES:S@^@${WRKDIR}/abxtype1/pfb/@}\ ${PREFIX}/${TYPE1DIR} ${MKDIR} ${PREFIX}/${DVIPSDIR} ${INSTALL_DATA} ${DVIPS_FILES:S@^@${WRKDIR}/abxtype1/map/@}\ ${PREFIX}/${DVIPSDIR} post-install: ${MKTEXLSR} ${UPDMAP_SYS} --enable Map=mathabx.map .include diff --git a/print/latex-nomencl/Makefile b/print/latex-nomencl/Makefile index 7732a9501556..86d5740fbe64 100644 --- a/print/latex-nomencl/Makefile +++ b/print/latex-nomencl/Makefile @@ -1,59 +1,57 @@ -# New ports collection makefile for: latex-nomencl -# Date created: 31 July 2011 -# Whom: hrs -# +# Created by: hrs # $FreeBSD$ PORTNAME= nomencl PORTVERSION= 4.2.20050922 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ftp://ftp.ctan.org/tex-archive/%SUBDIR%/ \ ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/latex/contrib/${PORTNAME} PKGNAMEPREFIX= latex- DISTFILES= ${SRC_FILES} ${PORTDOCS} DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= A LaTeX package to generate a nomenclature using MakeIndex USE_TEX= latex PLIST_SUB= MKTEXLSR=${MKTEXLSR} \ TEXMFDIR=${TEXMFDIR} TEXMFDIR= share/texmf TEXMF_LSR= ${LOCALBASE}/${TEXMFDIR}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEX_BIN= ${LOCALBASE}/bin/etex YES_CMD= /usr/bin/yes CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= ${SRC_FILES:S,^,${CLASSDIR}/,} \ ${CLASS_FILES:S,^,${CLASSDIR}/,} SRC_FILES= nomencl.dtx nomencl.ins CLASS_FILES= nomencl.sty PORTDOCS= README nomencl.pdf +NO_STAGE= yes do-extract: ${MKDIR} ${WRKSRC} cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${DISTFILES} ${WRKSRC} do-build: cd ${WRKSRC} && ${YES_CMD} | ${TEX_BIN} nomencl.ins do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} cd ${WRKSRC} && \ ${INSTALL_DATA} ${SRC_FILES} ${CLASS_FILES} \ ${PREFIX}/${CLASSDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif post-install: @${MKTEXLSR} ${LOCALBASE}/${TEXMFDIR} .include diff --git a/print/latex-pgf/Makefile b/print/latex-pgf/Makefile index 9cd3ac49e4f4..7771bd9f6aaf 100644 --- a/print/latex-pgf/Makefile +++ b/print/latex-pgf/Makefile @@ -1,54 +1,52 @@ -# New ports collection makefile for: latex-pgf -# Date created: 24 Jan 2004 -# Whom: hrs@FreeBSD.org -# +# Created by: hrs@FreeBSD.org # $FreeBSD$ PORTNAME= pgf PORTVERSION= 2.10 CATEGORIES= print MASTER_SITES= SF/pgf/pgf/version%20${PORTVERSION} PKGNAMEPREFIX= latex- DISTNAME= ${PORTNAME}_${PORTVERSION}.tds MAINTAINER= hrs@FreeBSD.org COMMENT= A LaTeX package for TeX Portable Graphic Format NO_BUILD= YES USE_ZIP= YES USE_TEX= latex PLIST_SUB= MKTEXLSR=${MKTEXLSR} \ CLASSDIR=${CLASSDIR} \ TEXMFDIR=${TEXMFDIR} PORTDOCS= AUTHORS ChangeLog FILES INSTALL README TODO images licenses \ macros pgfmanual.pdf text-en version-for-dvipdfm \ version-for-dvipdfmx version-for-dvips \ version-for-pdftex version-for-tex4ht version-for-vtex \ version-for-xetex TEXMFDIR= share/texmf TEXMFDIR_LSR= ${LOCALBASE}/${TEXMFDIR}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr CLASSDIR= ${TEXMFDIR}/tex +NO_STAGE= yes do-install: .for C in generic latex plain ${MKDIR} ${PREFIX}/${CLASSDIR}/${C} ${CP} -R ${WRKDIR}/tex/${C}/${PORTNAME} \ ${PREFIX}/${CLASSDIR}/${C}/ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${CLASSDIR}/${C}/${PORTNAME} .endfor ${MKDIR} ${PREFIX}/${CLASSDIR}/context/third ${CP} -R ${WRKDIR}/tex/context/third/${PORTNAME} \ ${PREFIX}/${CLASSDIR}/context/third/ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${CLASSDIR}/context/third/${PORTNAME} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${CP} -R ${WRKDIR}/doc/generic/pgf/* ${DOCSDIR} ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} .endif post-install: ${MKTEXLSR} ${PREFIX}/${TEXMFDIR} .include diff --git a/print/latex-prettyref/Makefile b/print/latex-prettyref/Makefile index e77cc47a2230..92e0155a1503 100644 --- a/print/latex-prettyref/Makefile +++ b/print/latex-prettyref/Makefile @@ -1,48 +1,45 @@ -# New ports collection makefile for: print/latex-prettyref -# Date created: 19 November 2007 -# Whom: Koji Yokota (yokota@res.otaru-uc.ac.jp) -# +# Created by: Koji Yokota (yokota@res.otaru-uc.ac.jp) # $FreeBSD$ -# PORTNAME= latex-prettyref PORTVERSION= 3.0 PORTREVISION= 5 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/latex/contrib DISTNAME= ${PORTNAME:S/^latex-//} DIST_SUBDIR= latex MAINTAINER= yokota@res.otaru-uc.ac.jp COMMENT= Improved reference formatting for LaTeX2e USE_ZIP= yes USE_TEX= latex PLIST_SUB= MKTEXLSR=${MKTEXLSR} TEXMFDIR?= share/texmf STYDIR?= tex/latex/${PORTNAME:S/^latex-//} DOCSDIR?= doc/latex/${PORTNAME:S/^latex-//} INSFILE= ${PORTNAME:S/^latex-//}.ins STYFILE= ${PORTNAME:S/^latex-//}.sty PDFFILE= ${PORTNAME:S/^latex-//}.pdf MKTEXLSR?= ${LOCALBASE}/bin/mktexlsr +NO_STAGE= yes do-build: @( cd ${WRKSRC} && tex ${INSFILE} ) do-install: @( cd ${WRKSRC} && \ ${MKDIR} ${PREFIX}/${TEXMFDIR}/${STYDIR} && \ ${COPYTREE_SHARE} "${STYFILE}" ${PREFIX}/${TEXMFDIR}/${STYDIR} ) .if !defined(NOPORTDOCS) @( cd ${WRKSRC} && \ ${MKDIR} ${PREFIX}/${TEXMFDIR}/${DOCSDIR} && \ ${COPYTREE_SHARE} "${PDFFILE}" ${PREFIX}/${TEXMFDIR}/${DOCSDIR} ) .endif post-install: ${MKTEXLSR} ${PREFIX}/${TEXMFDIR} .include diff --git a/print/latex-resume/Makefile b/print/latex-resume/Makefile index 291d87b67e77..ff3d283a9a3c 100644 --- a/print/latex-resume/Makefile +++ b/print/latex-resume/Makefile @@ -1,44 +1,41 @@ -# ex:ts=8 -# Ports collection makefile for: latex-res -# Date created: Jul 30, 2007 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ PORTNAME= resume PORTVERSION= 20010823 PORTREVISION= 3 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/latex/contrib/${PORTNAME} PKGNAMEPREFIX= latex- DISTNAME= res EXTRACT_SUFX= .cls DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= A 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} +NO_STAGE= yes do-install: @${MKDIR} ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} post-install: @${MKTEXLSR} .include diff --git a/print/latex-subfloat/Makefile b/print/latex-subfloat/Makefile index c25ba65a4ac6..9a62c2aa0cc3 100644 --- a/print/latex-subfloat/Makefile +++ b/print/latex-subfloat/Makefile @@ -1,52 +1,50 @@ -# New ports collection makefile for: latex-subfloat -# Date created: 24 Jan 2004 -# Whom: hrs@FreeBSD.org -# +# Created by: hrs@FreeBSD.org # $FreeBSD$ PORTNAME= latex-subfloat PORTVERSION= 2.14.20030821 PORTREVISION= 6 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/latex/contrib/subfloat DISTFILES= Makefile subfloat.dtx subfloat.ins ${DOC_FILES} DIST_SUBDIR= ${PORTNAME} MAINTAINER= hrs@FreeBSD.org COMMENT= A LaTeX package that enables subnumbering of different floats USE_TEX= latex PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR} \ CLASSDIR=${CLASSDIR} TEXMFLOCAL= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEX_BIN= ${LOCALBASE}/bin/etex CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//} WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//} CLASS_FILES= subfloat.dtx subfloat.sty subfloat.ins DOC_FILES= README ChangeLog subfloat.dvi subfloat.xml +NO_STAGE= yes do-extract: ${MKDIR} ${WRKSRC} cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC} do-build: cd ${WRKSRC} && ${TEX_BIN} subfloat.ins do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR} .endif post-install: @${MKTEXLSR} .include diff --git a/print/latex-supertabular/Makefile b/print/latex-supertabular/Makefile index 05474a556638..0b25d6d6e3c4 100644 --- a/print/latex-supertabular/Makefile +++ b/print/latex-supertabular/Makefile @@ -1,50 +1,47 @@ -# New ports collection makefile for: latex-supertabular -# Date created: Aug 20 2008 -# Whom: Jorge Niedbalski -# +# Created by: Jorge Niedbalski # $FreeBSD$ -# PORTNAME= latex-supertabular PORTVERSION= 1 PORTREVISION= 4 CATEGORIES= print MASTER_SITES= ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/supertabular/ DISTFILES= supertabular.dtx supertabular.ins ${DOC_FILES} DIST_SUBDIR= ${PORTNAME} MAINTAINER= niedbalski@gmail.com COMMENT= A LaTeX package for a tabular that spans multiple pages USE_TEX= latex PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR} \ CLASSDIR=${CLASSDIR} USE_GMAKE= yes TEXMFLOCAL= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEX_BIN= ${LOCALBASE}/bin/latex CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//} WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//} CLASS_FILES= supertabular.dtx supertabular.sty supertabular.ins DOC_FILES= README MANIFEST CATALOG supertabular.pdf +NO_STAGE= yes do-extract: ${MKDIR} ${WRKSRC} cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC} do-build: cd ${WRKSRC} && ${TEX_BIN} supertabular.ins do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR} .endif post-install: @${MKTEXLSR} ${TEXMFLOCAL} .include diff --git a/print/latex-svninfo/Makefile b/print/latex-svninfo/Makefile index fffccfff0aaa..da904cfc687b 100644 --- a/print/latex-svninfo/Makefile +++ b/print/latex-svninfo/Makefile @@ -1,50 +1,48 @@ -# New ports collection makefile for: latex-svninfo -# Date created: 05 Dec 2006 -# Whom: Henrik Brix Andersen -# +# Created by: Henrik Brix Andersen # $FreeBSD$ PORTNAME= svninfo PORTVERSION= 0.7.4 PORTREVISION= 4 CATEGORIES= print MASTER_SITES= http://www.brucker.ch/projects/svninfo/download/ \ ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= brix PKGNAMEPREFIX= latex- MAINTAINER= brix@FreeBSD.org COMMENT= A LaTeX package for Subversion support USE_TEX= latex PLIST_SUB= MKTEXLSR=${MKTEXLSR} CLASSDIR=${CLASSDIR} TEXMFLOCAL= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEX_BIN= ${LOCALBASE}/bin/latex CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME} CLASS_FILES= svninfo.sty svninfo.cfg PORTDOCS= README svninfo.dvi +NO_STAGE= yes .include do-build: cd ${WRKSRC} && ${TEX_BIN} svninfo.ins .if !defined(NOPORTDOCS) cd ${WRKSRC} && ${TEX_BIN} svninfo.dtx .endif do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${DOCSDIR} .endif post-install: ${MKTEXLSR} .include diff --git a/print/latex-timing/Makefile b/print/latex-timing/Makefile index 3fdd65d81b47..f2e034226e43 100644 --- a/print/latex-timing/Makefile +++ b/print/latex-timing/Makefile @@ -1,60 +1,58 @@ -# New ports collection makefile for: latex-timing -# Date created: 24 Jan 2004 -# Whom: hrs@FreeBSD.org -# +# Created by: hrs@FreeBSD.org # $FreeBSD$ PORTNAME= latex-timing PORTVERSION= 1.0.19940515 PORTREVISION= 6 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/latex/contrib/timing DISTFILES= ${DOC_FILES} ${CLASS_FILES} ${MF_FILES} ${PK_FILES} ${TFM_FILES} DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= #empty MAINTAINER= hrs@FreeBSD.org COMMENT= A LaTeX package for drawing timing diagrams USE_TEX= latex NO_BUILD= YES PLIST_SUB= TEXMFDIR=${TEXMFDIR} MKTEXLSR=${MKTEXLSR} \ CLASSDIR=${CLASSDIR} \ MFDIR=${MFDIR} TFMDIR=${TFMDIR} PKDIR=${PKDIR} TEXMFDIR= share/texmf MKTEXLSR= ${LOCALBASE}/bin/mktexlsr DOC_FILES= read.me timing.pdf timing.tex prozt1.tex tim0594.upl CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME:S/^latex-//} CLASS_FILES= timing.sty MFDIR= ${TEXMFDIR}/fonts/source/public/${PORTNAME:S/^latex-//} MF_FILES= timing.mf timing1.mf timing1s.mf timing2.mf timing2s.mf PKDIR= ${TEXMFDIR}/fonts/pk/${PORTNAME:S/^latex-//} PK_FILES= timing1.pk timing1s.pk timing2.pk timing2s.pk TFMDIR= ${TEXMFDIR}/fonts/tfm/${PORTNAME:S/^latex-//} TFM_FILES= timing1.tfm timing1s.tfm timing2.tfm timing2s.tfm +NO_STAGE= yes do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${CLASS_FILES:S@^@${DISTDIR}/${DIST_SUBDIR}/@} ${PREFIX}/${CLASSDIR} ${MKDIR} ${PREFIX}/${MFDIR} ${INSTALL_DATA} ${MF_FILES:S@^@${DISTDIR}/${DIST_SUBDIR}/@} ${PREFIX}/${MFDIR} ${MKDIR} ${PREFIX}/${TFMDIR} ${INSTALL_DATA} ${TFM_FILES:S@^@${DISTDIR}/${DIST_SUBDIR}/@} ${PREFIX}/${TFMDIR} ${MKDIR} ${PREFIX}/${PKDIR} ${INSTALL_DATA} ${PK_FILES:S@^@${DISTDIR}/${DIST_SUBDIR}/@} ${PREFIX}/${PKDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES:S@^@${DISTDIR}/${DIST_SUBDIR}/@} ${DOCSDIR} .endif post-install: ${MKTEXLSR} .include diff --git a/print/latex-tipa/Makefile b/print/latex-tipa/Makefile index f07d50c4b79f..a2f3e27d8c35 100644 --- a/print/latex-tipa/Makefile +++ b/print/latex-tipa/Makefile @@ -1,34 +1,31 @@ -# New ports collection makefile for: tipa -# Date created: 18 November 2003 -# Whom: Andreas Braml -# +# Created by: Andreas Braml # $FreeBSD$ -# PORTNAME= latex-tipa PORTVERSION= 1.3 PORTREVISION= 4 CATEGORIES= print MASTER_SITES= http://www.braml.org/ DISTNAME= tipa-${PORTVERSION} MAINTAINER= a.strich.b@web.de COMMENT= Package which provides T3-encoded fonts to be used with LaTeX2e USE_TEX= latex NO_INSTALL_MANPAGES= yes NO_BUILD= yes LATEX_BIN= ${LOCALBASE}/bin/latex +NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|/usr/local/teTeX/share/texmf|${PREFIX}/share/texmf|' ${WRKSRC}/Makefile post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/texmf/doc/latex/tipa @(cd ${WRKSRC}/doc; ${LATEX_BIN} tipaman; \ ${LOCALBASE}/bin/bibtex tipaman; ${LATEX_BIN} tipaman; ${LATEX_BIN} tipaman) ${INSTALL_MAN} ${WRKSRC}/doc/tipaman.dvi ${PREFIX}/share/texmf/doc/latex/tipa .endif .include diff --git a/print/latex-ucs/Makefile b/print/latex-ucs/Makefile index 812f32ac79af..99821104201a 100644 --- a/print/latex-ucs/Makefile +++ b/print/latex-ucs/Makefile @@ -1,60 +1,58 @@ -# New ports collection makefile for: latex-ucs -# Date created: 23 May 2004 -# Whom: thierry@FreeBSD.org -# +# Created by: thierry@FreeBSD.org # $FreeBSD$ PORTNAME= latex-ucs PORTVERSION= 20041017 PORTREVISION= 5 CATEGORIES= print MASTER_SITES= http://www.unruh.de/DniQ/latex/unicode/ DISTNAME= unicode EXTRACT_SUFX= .tgz DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= A LaTeX package for using UTF-8 as input encoding NO_BUILD= yes USES= perl5 USE_PERL5= run USE_TEX= latex PLIST_SUB= MKTEXLSR="${MKTEXLSR}" CLASSDIR=${CLASSDIR} TEXMFDIR= share/texmf TEXMFDIR_LSR= ${LOCALBASE}/${TEXMFDIR}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr ${PREFIX}/${TEXMFDIR} CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME:S/^latex-//} WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//} CLASS_FILES= ucs.sty utf8x.def ucsencs.def ucsutils.sty ucshyper.sty PLSCRIPTS= discovermacro.pl latexout.pl makeunidef.pl PORTDOCS= FAQ INSTALL LICENSE README VERSION CONTRIB_FILES= UnicodeT.sfd autofe.sty c00enc.def c10enc.def \ c40enc.def c42enc.def c61enc.def cenccmn.tex cp1252.enc \ ldvarial.fd ldvc2000.fd ldvenc.def letc2000.fd letenc.def \ letgfzem.fd letjiret.fd lklenc.def lklkli.fd ltaarial.fd \ ltac2000.fd ltaenc.def ltgc2000.fd ltgenc.def ltlcmr.fd \ ltlenc.def ltwdsnol.fd ltwdsque.fd ltwdssin.fd ltwenc.def \ lucarial.fd lucc2000.fd lucenc.def mkrenc.def mkrezra.fd \ mkrhadas.fd mkromega.fd mkrrashi.fd t2dcmr.fd t2denc.def \ tengwarDS.enc xscmr.fd xsenc.def +NO_STAGE= yes do-install: ${INSTALL_SCRIPT} ${PLSCRIPTS:S@^@${WRKSRC}/@} ${PREFIX}/bin ${MKDIR} ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} \ ${CLASS_FILES:S@^@${WRKSRC}/@} \ ${CONTRIB_FILES:S@^@${WRKSRC}/contrib/@} \ ${PREFIX}/${CLASSDIR} ${CP} -R ${WRKSRC}/data ${PREFIX}/${CLASSDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${DOCSDIR} .endif post-install: ${MKTEXLSR} ${PREFIX}/${TEXMFDIR} .include diff --git a/print/latex/Makefile b/print/latex/Makefile index 98e158520b0d..272fa13f437a 100644 --- a/print/latex/Makefile +++ b/print/latex/Makefile @@ -1,77 +1,74 @@ -# New ports collection makefile for: latex -# Date created: 29 September 1994 -# Whom: jmz -# +# Created by: jmz # $FreeBSD$ -# PORTNAME= latex2e PORTVERSION= 2003.12 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= jmz DISTFILES= latex_mf-${PORTVERSION}.tar.gz latex_tfm-${PORTVERSION}.tar.gz \ latex_base-${PORTVERSION}.tar.gz latex_tools-${PORTVERSION}.tar.gz \ latex_graphics-${PORTVERSION}.tar.gz latex_psnfss-${PORTVERSION}.tar.gz MAINTAINER= gabor@FreeBSD.org COMMENT= TeX macro package BUILD_DEPENDS= tex:${PORTSDIR}/print/tex RUN_DEPENDS= tex:${PORTSDIR}/print/tex DIST_SUBDIR= tex CONFLICTS= teTeX* NO_WRKSUBDIR= yes +NO_STAGE= yes do-build: @${RM} ${WRKSRC}/tfm/dummy.tfm ${WRKSRC}/mf/cmex9.mf @(cd ${WRKSRC}/base; TEXINPUTS=${WRKSRC}/base: export TEXINPUTS; tex --ini unpack.ins) @(cd ${WRKSRC}/base; TEXINPUTS=${WRKSRC}/base: TEXFONTS=${WRKSRC}/tfm:; export TEXFONTS TEXINPUTS; \ tex --ini latex.ltx ${PREFIX}/share/texmf/tex/latex/graphics.cfg;\ ${ECHO_CMD} '\ExecuteOptions{dvips}' >${PREFIX}/share/texmf/tex/latex/color.cfg) @(cd ${WRKSRC}/psnfss; for f in *.sty *.tex; do \ if [ -f $$f ]; then ${INSTALL_DATA} $$f ${PREFIX}/share/texmf/tex/latex; fi; done;\ tar cf - tex fonts | tar -C ${PREFIX}/share/texmf/ -xf -) @(cd ${PREFIX}/bin; ${RM} -f latex; ${LN} -s tex latex) @(${MKDIR} ${PREFIX}/share/texmf/documentation) @(cd ${WRKSRC}/base; for f in *.dtx ltx3info.tex source2e.tex *.fdd ltnews*.tex *guide.tex; do \ if [ -f $$f ]; then ${INSTALL_DATA} $$f ${PREFIX}/share/texmf/documentation; fi; done) @(cd ${WRKSRC}/tools; for f in *.dtx; do \ if [ -f $$f ]; then ${INSTALL_DATA} $$f ${PREFIX}/share/texmf/documentation; fi; done) @(cd ${WRKSRC}/graphics; for f in *.dtx; do \ if [ -f $$f ]; then ${INSTALL_DATA} $$f ${PREFIX}/share/texmf/documentation; fi; done) @(cd ${WRKSRC}/psnfss; for f in *.dtx *pfd; do \ if [ -f $$f ]; then ${INSTALL_DATA} $$f ${PREFIX}/share/texmf/documentation; fi; done) @(cd ${PREFIX}/bin; ${RM} -f latex; ${LN} -s tex latex) .include diff --git a/print/latex2rtf/Makefile b/print/latex2rtf/Makefile index b3df1e318580..162f04189033 100644 --- a/print/latex2rtf/Makefile +++ b/print/latex2rtf/Makefile @@ -1,30 +1,27 @@ -# New ports collection makefile for: latex2rtf -# Date created: 14 Dec 1999 -# Whom: Joerg Wunsch -# +# Created by: Joerg Wunsch # $FreeBSD$ -# PORTNAME= latex2rtf PORTVERSION= 2.0.0 CATEGORIES= print MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-unix/${PORTVERSION} \ ${MASTER_SITE_TEX_CTAN} MAINTAINER= joerg@FreeBSD.org COMMENT= Translator from LaTeX to RTF MAN1= latex2rtf.1 latex2png.1 INFO= latex2rtf USES= perl5 USE_PERL5= build INSTALL_TARGET= install install-info +NO_STAGE= yes pre-patch: @${CP} ${WRKSRC}/doc/latex2rtf.info ${WRKSRC}/doc/latex2rtf.info.bak @${TR} -d '\r\b\0' < ${WRKSRC}/doc/latex2rtf.info.bak > ${WRKSRC}/doc/latex2rtf.info .include diff --git a/print/latex2slides/Makefile b/print/latex2slides/Makefile index 0ba129b8b349..90f1c383d5e6 100644 --- a/print/latex2slides/Makefile +++ b/print/latex2slides/Makefile @@ -1,35 +1,36 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= latex2slides PORTVERSION= 1.0 PORTREVISION= 6 CATEGORIES= print MASTER_SITES= SF EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Produces a set of HTML/JPEG slides from a TeX or LaTeX source RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick \ ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter USE_PYTHON= yes USE_TEX= dvipsk:run NO_BUILD= yes PLIST_SUB= PORTNAME="${PORTNAME}" PORTVERSION="${PORTVERSION}" MANCOMPRESSED= yes MAN1= latex2slides.1 +NO_STAGE= yes post-patch: .for file in install latex2slides @${REINPLACE_CMD} -e "s,'/usr/bin/,'${PREFIX}/bin/,g ; \ s,'/usr/share/latex2slides/,'${DATADIR}/,g ; \ s,'/usr/share/man/,'${MANPREFIX}/man/,g" ${WRKSRC}/${file} .endfor do-install: @(cd ${WRKSRC} ; ${PYTHON_CMD} ./install) .include diff --git a/print/latexdiff/Makefile b/print/latexdiff/Makefile index 87292ebbd15f..b9b0c29be921 100644 --- a/print/latexdiff/Makefile +++ b/print/latexdiff/Makefile @@ -1,52 +1,49 @@ -# New ports collection makefile for: latexdiff -# Date created: 01 Oct 2005 -# Whom: Maxim Loginov -# +# Created by: Maxim Loginov # $FreeBSD$ -# PORTNAME= latexdiff PORTVERSION= 0.5 PORTREVISION= 2 CATEGORIES= print perl5 MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= support DISTNAME= ${PORTNAME} MAINTAINER= Zeliboba@mail.ru COMMENT= Determine and mark up significant differences between latex files RUN_DEPENDS+= bash:${PORTSDIR}/shells/bash USES= perl5 USE_PERL5= run USE_ZIP= yes NO_BUILD= yes MAN1= latexdiff.1 \ latexdiff-vc.1 \ latexrevise.1 PLIST_FILES= bin/latexdiff \ bin/latexdiff-fast \ bin/latexdiff-so \ bin/latexdiff-vc \ bin/latexdiff-wrap \ bin/latexrevise +NO_STAGE= yes post-patch: ${REINPLACE_CMD} -e "s,\/bin\/bash,${LOCALBASE}\/bin\/bash," \ ${WRKSRC}/contrib/latexdiff-wrap do-install: ${MKDIR} ${PREFIX}/bin ${MANPREFIX}/man/man1 ( cd ${WRKSRC} && ${INSTALL_SCRIPT} latexdiff-fast latexdiff-so \ latexdiff-vc latexrevise contrib/latexdiff-wrap ${PREFIX}/bin && \ ${INSTALL_MAN} latexdiff.1 latexdiff-vc.1 latexrevise.1 \ ${MANPREFIX}/man/man1 ) ${LN} -s ${PREFIX}/bin/latexdiff-so ${PREFIX}/bin/latexdiff test: ( cd ${WRKSRC} && ${MAKE} test-so test-fast ) .include diff --git a/print/latexmk/Makefile b/print/latexmk/Makefile index 5e43eab3d7e3..3b31fbec6478 100644 --- a/print/latexmk/Makefile +++ b/print/latexmk/Makefile @@ -1,47 +1,48 @@ # Created by: Fernan Aguero # $FreeBSD$ PORTNAME= latexmk PORTVERSION= 435 CATEGORIES= print MASTER_SITES= http://users.phys.psu.edu/~collins/software/latexmk/ MAINTAINER= ports@FreeBSD.org COMMENT= Tool to completely automate generating output from LaTeX documents LICENSE= GPLv2 # (or later) OPTIONS_DEFINE= DOCS EXAMPLES NO_WRKSUBDIR= yes NO_BUILD= yes USES= perl5 USE_ZIP= yes USE_PERL5= run USE_TEX= latex MAN1= latexmk.1 PORTDOCS= * PORTEXAMPLES= * PLIST_FILES= bin/latexmk +NO_STAGE= yes .include do-install: (cd ${WRKSRC} && ${INSTALL_SCRIPT} latexmk.pl ${PREFIX}/bin/latexmk) (cd ${WRKSRC} && ${INSTALL_MAN} latexmk.1 ${MANPREFIX}/man/man1) .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for doc in CHANGES INSTALL README latexmk.pdf latexmk.ps latexmk.txt (cd ${WRKSRC} && ${INSTALL_DATA} ${doc} ${DOCSDIR}) .endfor .endif .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${EXAMPLESDIR} @(cd ${WRKSRC} && ${COPYTREE_SHARE} example_rcfiles ${EXAMPLESDIR}) @(cd ${WRKSRC} && ${COPYTREE_BIN} extra-scripts ${EXAMPLESDIR}) .endif @${CAT} ${PKGMESSAGE} .include diff --git a/print/lgrind/Makefile b/print/lgrind/Makefile index c92771cde49b..9e30636e32d0 100644 --- a/print/lgrind/Makefile +++ b/print/lgrind/Makefile @@ -1,116 +1,113 @@ -# New ports collection makefile for: lgrind -# Date created: 20 April 2002 -# Whom: Kay Lehmann -# +# Created by: Kay Lehmann # $FreeBSD$ -# PORTNAME= lgrind PORTVERSION= 3.67 PORTREVISION= 7 CATEGORIES= print MASTER_SITES= LOCAL/pav DISTNAME= ${PORTNAME} DISTFILES= source/Makefile \ source/README \ FAQ \ README \ Makefile \ example/asm2tex.bat \ example/asm2tex \ example/c2tex.bat \ example/c2tex \ example/lgrindeg.tex \ example/egcprog.c \ example/egmasm.asm \ example/subst \ lgrind.dtx \ lgrind.gls \ lgrind.ind \ lgrind.ins \ lgrind.pdf \ lgrindef \ source/.cvsignore \ source/lgrind.1 \ source/lgrind.c \ source/lgrindef.5 \ source/lgrindef.c \ source/lgrindef.h \ source/lgutil.c \ source/makefile.dos \ source/makefile.emx \ source/regexp.c \ source/regexp.h \ source/retest.c \ source/v2lg.c \ ${PORTNAME}.tar.gz DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${PORTNAME}.tar.gz MAINTAINER= dereckson@gmail.com COMMENT= Produce beautiful listings of source code with LaTeX USE_TEX= latex MAN1= lgrind.1 MAN5= lgrindef.5 MANCOMPRESSED= yes IGNOREFILES= ${PORTNAME}.tar.gz RESTRICTED= According to the README-file there is a license issue \ because of non-free code. Check the README file within \ the source tarball. No response from author of some code \ this port is based on. +NO_STAGE= yes pre-everything:: @${MKDIR} ${DISTDIR}/${PORTNAME} pre-fetch: fetchsrctarball extractsrctarball fetchtarball-list: file=${PORTNAME}${EXTRACT_SUFX}; \ for site in ${MASTER_SITES:S^%SUBDIR%^${MASTER_SITE_SUBDIR}^}; do \ ${ECHO_MSG} ">>${SETENV} ${FETCH_ENV} ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${site}$${file} not fetched"; \ done; fetchsrctarball: @cd ${_DISTDIR}; \ file=${PORTNAME}${EXTRACT_SUFX}; \ if [ -e $$file ]; then \ exit; \ fi; \ ${ECHO_MSG} ">> $$file doesn't seem to exist on this system."; \ for site in ${MASTER_SITES:S^%SUBDIR%^${MASTER_SITE_SUBDIR}^}; do \ ${ECHO_MSG} ">> Attempting to fetch from $${site}."; \ if ${SETENV} ${FETCH_ENV} ${FETCH_CMD} ${FETCH_BEFORE_ARGS} \ $${site}$${file}; then \ exit; \ fi; \ done; \ ${ECHO_MSG} ">> Couldn't fetch $$file."; \ ${ECHO_MSG} ">> Please try to retrieve this file manually into"; \ ${ECHO_MSG} ">> ${_DISTDIR} and try again."; \ exit 1 extractsrctarball: ${GUNZIP_CMD} -qc ${DISTDIR}/${DIST_SUBDIR}/${EXTRACT_ONLY} | tar -C ${DISTDIR} -xf -; \ exit post-patch: # PREFIX safeness @${REINPLACE_CMD} -E \ -e s'|^(BASEDIR).*$$|\1=${PREFIX}|' \ ${WRKSRC}/Makefile # C{C,FLAGS} safeness @${REINPLACE_CMD} -E \ -e s'|^(CC).*$$|\1=${CC}|' \ -e s'|^(CFLAGS).*$$|\1=${CFLAGS}|' \ ${WRKSRC}/source/Makefile post-install: texhash .include diff --git a/print/libgnomecups/Makefile b/print/libgnomecups/Makefile index 424956441dbb..c6a4fee28fe9 100644 --- a/print/libgnomecups/Makefile +++ b/print/libgnomecups/Makefile @@ -1,26 +1,27 @@ # Created by: Glenn Johnson # $FreeBSD$ PORTNAME= libgnomecups PORTVERSION= 0.2.3 PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= print gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Support library for gnome cups administration LIB_DEPENDS= cups:${PORTSDIR}/print/cups-client USES= pkgconfig gettext USE_BZIP2= yes USE_GMAKE= yes USE_GNOME= gnomehack intlhack ltverhack glib20 USE_LDCONFIG= yes USE_AUTOTOOLS= libtool CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +NO_STAGE= yes .include diff --git a/print/libgnomeprint-reference/Makefile b/print/libgnomeprint-reference/Makefile index 71b657e80917..5cf7d79a96fa 100644 --- a/print/libgnomeprint-reference/Makefile +++ b/print/libgnomeprint-reference/Makefile @@ -1,12 +1,9 @@ -# New ports collection makefile for: libgnomeprint-reference -# Date created: 09 May 2006 -# Whom: Jean-Yves Lefort -# +# Created by: Jean-Yves Lefort # $FreeBSD$ -# PORTREVISION= 1 REFERENCE_SRC= ${WRKSRC}/doc/reference +NO_STAGE= yes .include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk" diff --git a/print/libgnomeprint/Makefile b/print/libgnomeprint/Makefile index 3780a47b5fac..96b32cea41f4 100644 --- a/print/libgnomeprint/Makefile +++ b/print/libgnomeprint/Makefile @@ -1,61 +1,60 @@ # Created by: Vanilla I. Shu # $FreeBSD$ # $MCom: ports/print/libgnomeprint/Makefile,v 1.77 2010/09/28 16:38:29 kwm Exp $ -# -# NOTE: Remind to update comms/gfax plist when PORTVERSION change. PORTNAME= libgnomeprint PORTVERSION= 2.18.8 PORTREVISION= 1 CATEGORIES= print gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Gnome print support library USE_BZIP2= yes .if !defined(REFERENCE_PORT) LIB_DEPENDS= fontconfig:${PORTSDIR}/x11-fonts/fontconfig \ popt:${PORTSDIR}/devel/popt USES= bison pathfix gettext gmake pkgconfig USE_GNOME= gnomeprefix intlhack gnomehier glib20 pango libxml2 \ libartlgpl2 ltverhack USE_LDCONFIG= yes USE_AUTOTOOLS= libtool CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_SUB= VERSION=${PORTVERSION} \ LIBVERSION=2.2 OPTIONS_DEFINE= CUPS OPTIONS_DEFAULT=CUPS +NO_STAGE= yes .include .if ${PORT_OPTIONS:MCUPS} CONFIGURE_ARGS+= --with-cups LIB_DEPENDS+= gnomecups-1:${PORTSDIR}/print/libgnomecups PLIST_SUB+= CUPS:="" .else CONFIGURE_ARGS+= --without-cups PLIST_SUB+= CUPS:="@comment " .endif post-patch: @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \ 's|||' @${REINPLACE_CMD} -e "/^SUBDIRS =/s|tests||" ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e "/^SUBDIRS =/s|doc||" ${WRKSRC}/Makefile.in post-install: @${MKDIR} ${PREFIX}/etc/gnome/libgnomeprint-2.0/fonts @${TOUCH} ${PREFIX}/etc/gnome/libgnomeprint-2.0/fonts/gnome-print.fontmap .include .endif diff --git a/print/libgnomeprintmm/Makefile b/print/libgnomeprintmm/Makefile index c89a3b804297..191607fab9de 100644 --- a/print/libgnomeprintmm/Makefile +++ b/print/libgnomeprintmm/Makefile @@ -1,32 +1,33 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ PORTNAME= libgnomeprintmm PORTVERSION= 2.5.1 PORTREVISION= 9 CATEGORIES= print gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 MAINTAINER= bland@FreeBSD.org COMMENT= C++ bindings for the GNOME print support library LIB_DEPENDS= gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24 BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 USES= pkgconfig USE_AUTOTOOLS= libtool USE_BZIP2= yes USE_GMAKE= yes USE_GNOME= gnomeprefix gnomehack libgnomeprint USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-static PLIST_SUB= VERSION="2.5" API_VERSION="2.6" +NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e "s|\(-lglibmm\)|-L\$$(GMM_PROCDIR)/../.. \1|" \ ${WRKSRC}/tools/extra_defs_gen/Makefile.in .include diff --git a/print/libharu/Makefile b/print/libharu/Makefile index 5e1b0b96e20c..4567d2e95cf0 100644 --- a/print/libharu/Makefile +++ b/print/libharu/Makefile @@ -1,33 +1,29 @@ -# ex:ts=8 -# Ports collection makefile for: libharu -# Date created: Jun 15, 2007 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= libharu PORTVERSION= 2.2.1 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://libharu.org/files/ MAINTAINER= jlaffaye@FreeBSD.org COMMENT= Haru Free PDF Library LIB_DEPENDS= png15:${PORTSDIR}/graphics/png GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-png=${LOCALBASE} CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15 USE_LDCONFIG= yes SOVERSION= 2 PLIST_SUB+= PORTVERSION=${PORTVERSION} \ SOVERSION=${SOVERSION} +NO_STAGE= yes post-install: ${LN} -s ${PREFIX}/lib/libhpdf-${PORTVERSION}.so \ ${PREFIX}/lib/libhpdf.so.${SOVERSION} .include diff --git a/print/libijs/Makefile b/print/libijs/Makefile index a3ebf36e869e..50633d496b87 100644 --- a/print/libijs/Makefile +++ b/print/libijs/Makefile @@ -1,23 +1,24 @@ # $FreeBSD$ PORTNAME= libijs PORTVERSION= 0.35 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://www.openprinting.org/download/ijs/download/ DISTNAME= ijs-${PORTVERSION} DIST_SUBDIR= ghostscript MAINTAINER= ports@FreeBSD.org COMMENT= C library that supports plugin printer driver for Ghostscript USES= pkgconfig USE_BZIP2= yes USE_GNOME= lthack USE_GMAKE= yes USE_AUTOTOOLS= libtool USE_LDCONFIG= yes MAN1= ijs-config.1 +NO_STAGE= yes .include diff --git a/print/libmspub/Makefile b/print/libmspub/Makefile index b456c4f44778..365b7cb8cd40 100644 --- a/print/libmspub/Makefile +++ b/print/libmspub/Makefile @@ -1,28 +1,29 @@ # $FreeBSD$ PORTNAME= libmspub PORTVERSION= 0.0.6 CATEGORIES= print graphics devel MASTER_SITES= http://dev-www.libreoffice.org/src/ MAINTAINER= office@FreeBSD.org COMMENT= Library and tools for parsing Microsoft Publisher file format LICENSE= LGPL21 MPL GPLv2 LICENSE_COMB= dual BUILD_DEPENDS= ${LOCALBASE}/include/boost/ptr_container/ptr_map.hpp:${PORTSDIR}/devel/boost-libs LIB_DEPENDS= libicui18n.so:${PORTSDIR}/devel/icu \ libwpd-0.9.so:${PORTSDIR}/textproc/libwpd \ libwpg-0.2.so:${PORTSDIR}/graphics/libwpg GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_XZ= yes USES= pathfix pkgconfig CONFIGURE_ARGS= --disable-werror --without-docs CONFIGURE_ENV= ZLIB_CFLAGS="-I/usr/include" ZLIB_LIBS="-lz" CPPFLAGS+= -I${LOCALBASE}/include +NO_STAGE= yes .include diff --git a/print/libotf/Makefile b/print/libotf/Makefile index 5d80caee1b5a..d97993ca2694 100644 --- a/print/libotf/Makefile +++ b/print/libotf/Makefile @@ -1,21 +1,22 @@ # Created by: Kimura Fuyuki # $FreeBSD$ PORTNAME= libotf PORTVERSION= 0.9.13 CATEGORIES= print devel MASTER_SITES= ${MASTER_SITE_SAVANNAH}:m17n MASTER_SITE_SUBDIR= m17n MAINTAINER= nikola.lecic@anthesphoria.net COMMENT= Library for handling OpenType fonts LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 USES= pathfix pkgconfig USE_XORG= x11 xt xaw xmu GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include +NO_STAGE= yes .include diff --git a/print/libpaper/Makefile b/print/libpaper/Makefile index 969120fa39e1..3d364230ab2d 100644 --- a/print/libpaper/Makefile +++ b/print/libpaper/Makefile @@ -1,51 +1,48 @@ -# New ports collection makefile for: libpaper -# Date created: Do 16 Nov 2003 20:00:00 CET -# Whom: lofi@freebsd.org -# +# Created by: lofi@FreeBSD.org # $FreeBSD$ -# PORTNAME= libpaper PORTVERSION= 1.1.24 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_DEBIAN} MASTER_SITE_SUBDIR= pool/main/libp/libpaper DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= A library providing routines for paper size management USE_AUTOTOOLS= libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} MAN1= paperconf.1 MAN3= defaultpapername.3 defaultpapersizefile.3 paperdone.3 paperfirst.3 \ paperinfo.3 paperinit.3 paperlast.3 papernext.3 paperprev.3 \ paperpsheight.3 paperpsname.3 paperpswidth.3 paperwithsize.3 \ systempapername.3 systempapersizefile.3 MAN5= papersize.5 MAN8= paperconfig.8 +NO_STAGE= yes pre-configure: @${TOUCH} ${WRKSRC}/config.sub @${REINPLACE_CMD} -E -e 's|(#!).*/bin/bash|\1/bin/sh|g' \ -e 's|==|=|g' \ ${WRKSRC}/src/paperconfig.in post-configure: @${REINPLACE_CMD} -e 's|$${prefix}|${PREFIX}|g' ${WRKSRC}/config.h \ ${WRKSRC}/src/paperconfig pre-build: ${ECHO_CMD} a4 > ${WRKDIR}/papersize.a4 ${ECHO_CMD} letter > ${WRKDIR}/papersize.letter post-install: cd ${WRKDIR} && \ ${INSTALL_DATA} papersize.a4 papersize.letter ${PREFIX}/etc .include diff --git a/print/libppd/Makefile b/print/libppd/Makefile index 8a5c067cab73..39bd571bb87d 100644 --- a/print/libppd/Makefile +++ b/print/libppd/Makefile @@ -1,28 +1,25 @@ -# New ports collection makefile for: libppd -# Date created: 22 Apr 2005 17:00:00 CEST -# Whom: e-masson@kisoft-services.com -# +# Created by: e-masson@kisoft-services.com # $FreeBSD$ -# PORTNAME= libppd PORTVERSION= 0.10 PORTREVISION= 2 CATEGORIES= print MASTER_SITES= SF/lpr/${PORTNAME}/${PORTVERSION} MAINTAINER= emss@free.fr COMMENT= A library providing routines for ppd files USE_AUTOTOOLS= libtool GNU_CONFIGURE= yes USE_LDCONFIG= Yes USE_GNOME= glib12 MAKE_JOBS_UNSAFE= yes MAN1= ppdfilt.1 MAN3= ppd_check_option_is_marked.3 ppd_emit_to_file.3 \ ppd_file_free.3 ppd_file_new.3 ppd_find_choice.3 \ ppd_get_num_conflicts.3 ppd_get_page_length.3 +NO_STAGE= yes .include diff --git a/print/libspectre/Makefile b/print/libspectre/Makefile index 1751a6065083..4518417d99db 100644 --- a/print/libspectre/Makefile +++ b/print/libspectre/Makefile @@ -1,26 +1,24 @@ -# New ports collection makefile for: libspectre -# Date created: 2008-03-12 -# Whom: Michael Johnson -# +# Created by: Michael Johnson # $FreeBSD$ # $MCom: ports/print/libspectre/Makefile,v 1.7 2010/04/19 15:38:43 kwm Exp $ PORTNAME= libspectre PORTVERSION= 0.2.6 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://libspectre.freedesktop.org/releases/ MAINTAINER= gnome@FreeBSD.org COMMENT= A small library for rendering Postscript documents LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo USE_AUTOTOOLS= libtool USE_LDCONFIG= yes USE_GNOME= gnomehack gnomeprefix ltverhack USE_GHOSTSCRIPT=yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +NO_STAGE= yes .include diff --git a/print/lilypond-devel/Makefile b/print/lilypond-devel/Makefile index 3c35f17b87c5..0521cc46f693 100644 --- a/print/lilypond-devel/Makefile +++ b/print/lilypond-devel/Makefile @@ -1,86 +1,87 @@ # Created by: patrick, trevor # $FreeBSD$ PORTNAME= lilypond PORTVERSION= 2.17.26 CATEGORIES= print audio MASTER_SITES= http://download.linuxaudio.org/lilypond/sources/v${PORTVERSION:R}/ PKGNAMESUFFIX= -devel MAINTAINER= gahr@FreeBSD.org COMMENT= The GNU music typesetter BUILD_DEPENDS= pdftexi2dvi:${PORTSDIR}/print/texinfo \ t1ascii:${PORTSDIR}/print/t1utils \ bash:${PORTSDIR}/shells/bash \ fontforge:${PORTSDIR}/print/fontforge \ ${LOCALBASE}/share/ghostscript/fonts/c059033l.pfb:${PORTSDIR}/print/gsfonts LIB_DEPENDS= guile:${PORTSDIR}/lang/guile \ gmp:${PORTSDIR}/math/gmp \ freetype:${PORTSDIR}/print/freetype2 RUN_DEPENDS= dblatex:${PORTSDIR}/textproc/dblatex \ mftrace:${PORTSDIR}/print/mftrace \ pngtopnm:${PORTSDIR}/graphics/netpbm \ convert:${PORTSDIR}/graphics/ImageMagick \ ${LOCALBASE}/lib/X11/fonts/dejavu/DejaVuSans-Bold.ttf:${PORTSDIR}/x11-fonts/dejavu MAN1= lilymidi.1 lilypond-book.1 lilypond-invoke-editor.1 \ lilypond.1 lilysong.1 convert-ly.1 abc2ly.1 etf2ly.1 \ midi2ly.1 musicxml2ly.1 INFO= lilypond-notation \ lilypond-usage \ lilypond-internals \ lilypond-learning \ lilypond-changes \ lilypond-contributor \ lilypond-essay \ lilypond-extending \ lilypond-snippets \ lilypond-web \ music-glossary \ internals USES= bison gettext gmake pkgconfig perl5 USE_GHOSTSCRIPT=9 USE_PYTHON= yes USE_PERL5= build USE_TEX= latex USE_GNOME= pango MAKEFILE= GNUmakefile GNU_MAKEFILE= yes MAKE_JOBS_UNSAFE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-ncsb-dir=${LOCALBASE}/share/ghostscript/fonts CONFIGURE_ENV+= ac_cv_prog_MAKEINFO="${LOCALBASE}/bin/makeinfo" \ FLEX=${FLEX} YACC=${YACC} ALL_TARGET= all NOCCACHE= yes PLIST_SUB= PORTVERSION=${PORTVERSION} +NO_STAGE= yes .include .if ${PORT_OPTIONS:MNLS} PLIST_SUB+= NLS="" .else PLIST_SUB+= NLS="@comment " .endif post-patch: ${REINPLACE_CMD} -e 's||"/usr/include/FlexLexer.h"|' \ ${WRKSRC}/lily/include/includable-lexer.hh .if !${PORT_OPTIONS:MNLS} ${REINPLACE_CMD} -e '/po \\$$/d' ${WRKSRC}/${MAKEFILE}.in .endif post-install: @${LN} -fs ${DATADIR}/${PORTVERSION} ${DATADIR}/current .include diff --git a/print/lilypond/Makefile b/print/lilypond/Makefile index 90d7ddd7cb03..c9e09af7cecb 100644 --- a/print/lilypond/Makefile +++ b/print/lilypond/Makefile @@ -1,83 +1,84 @@ # Created by: patrick, trevor # $FreeBSD$ PORTNAME= lilypond PORTVERSION= 2.16.1 CATEGORIES= print audio MASTER_SITES= http://download.linuxaudio.org/lilypond/sources/v${PORTVERSION:R}/ MAINTAINER= gahr@FreeBSD.org COMMENT= The GNU music typesetter BUILD_DEPENDS= pdftexi2dvi:${PORTSDIR}/print/texinfo \ t1ascii:${PORTSDIR}/print/t1utils \ bash:${PORTSDIR}/shells/bash \ fontforge:${PORTSDIR}/print/fontforge \ ${LOCALBASE}/share/ghostscript/fonts/c059033l.pfb:${PORTSDIR}/print/gsfonts LIB_DEPENDS= guile:${PORTSDIR}/lang/guile \ gmp:${PORTSDIR}/math/gmp \ freetype:${PORTSDIR}/print/freetype2 RUN_DEPENDS= mftrace:${PORTSDIR}/print/mftrace \ ${LOCALBASE}/lib/X11/fonts/dejavu/DejaVuSans-Bold.ttf:${PORTSDIR}/x11-fonts/dejavu MAN1= lilymidi.1 lilypond-book.1 lilypond-invoke-editor.1 \ lilypond.1 lilysong.1 convert-ly.1 abc2ly.1 etf2ly.1 \ midi2ly.1 musicxml2ly.1 INFO= lilypond-notation \ lilypond-usage \ lilypond-internals \ lilypond-learning \ lilypond-changes \ lilypond-contributor \ lilypond-essay \ lilypond-extending \ lilypond-snippets \ lilypond-web \ music-glossary \ internals USES= bison:build gettext gmake pkgconfig perl5 USE_GHOSTSCRIPT=9 USE_TEX= latex USE_PYTHON= yes USE_PERL5= build USE_GNOME= pango USE_GCC= any MAKEFILE= GNUmakefile GNU_MAKEFILE= yes MAKE_JOBS_UNSAFE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-ncsb-dir=${LOCALBASE}/share/ghostscript/fonts CONFIGURE_ENV+= ac_cv_prog_MAKEINFO="${LOCALBASE}/bin/makeinfo" \ FLEX=${FLEX} YACC=${YACC} ALL_TARGET= all NOCCACHE= yes PLIST_SUB= PORTVERSION=${PORTVERSION} +NO_STAGE= yes .include .if ${PORT_OPTIONS:MNLS} PLIST_SUB+= NLS="" .else PLIST_SUB+= NLS="@comment " .endif post-patch: ${REINPLACE_CMD} -e 's||"/usr/include/FlexLexer.h"|' \ ${WRKSRC}/lily/include/includable-lexer.hh .if empty(${PORT_OPTIONS:MNLS}) ${REINPLACE_CMD} -e '/^PO_FILES/s|= |= #|' ${WRKSRC}/${MAKEFILE}.in .endif post-install: @${LN} -fs ${DATADIR}/${PORTVERSION} ${DATADIR}/current .include diff --git a/print/linux-f10-cups-libs/Makefile b/print/linux-f10-cups-libs/Makefile index 9a6855548f1e..4fe5a19e3efa 100644 --- a/print/linux-f10-cups-libs/Makefile +++ b/print/linux-f10-cups-libs/Makefile @@ -1,27 +1,25 @@ -# New ports collection makefile for: print/linux-f10-cups-libs -# Date created: 10 Nov 2010 -# Whom: Stas Timokhin +# Created by: Stas Timokhin # $FreeBSD$ -# PORTNAME= cups-libs PORTVERSION= 1.3.11 PORTREVISION= 1 CATEGORIES= print linux PKGNAMEPREFIX= linux-f10- DISTNAME= ${PORTNAME}-${PORTVERSION}-${RPMVERSION} MAINTAINER= emulation@FreeBSD.org COMMENT= Common UNIX Printing System libraries USE_LINUX_RPM= yes USE_LINUX_APPS= gnutls SRC_DISTFILES= cups-${PORTVERSION}-${RPMVERSION}.src.rpm LINUX_DIST_VER= 10 RPMVERSION= 4.fc10 USE_LDCONFIG= yes PLIST_FILES= usr/lib/libcups.so.2 usr/lib/libcupsimage.so.2 DESCR= ${.CURDIR}/../cups-base/pkg-descr +NO_STAGE= yes .include diff --git a/print/lout/Makefile b/print/lout/Makefile index 8dab18752408..f6df32958cc4 100644 --- a/print/lout/Makefile +++ b/print/lout/Makefile @@ -1,30 +1,31 @@ # Created by: oly@world.std.com # $FreeBSD$ PORTNAME= lout PORTVERSION= 3.40 CATEGORIES= print MASTER_SITES= SAVANNAH MAINTAINER= danilogondolfo@gmail.com COMMENT= LaTeX like document creation system with PostScript/PDF output LICENSE= GPLv3 # (or later) OPTIONS_DEFINE= DOCS USE_GMAKE= yes MAKEFILE= makefile ALL_TARGET= lout prg2lout MAN1= lout.1 prg2lout.1 +NO_STAGE= yes .include .if ${PORT_OPTIONS:MDOCS} INSTALL_TARGET= install installman installdoc .else INSTALL_TARGET= install installman .endif .include diff --git a/print/lpr-wrapper/Makefile b/print/lpr-wrapper/Makefile index 5be5c785b464..e7c1ea2ca07b 100644 --- a/print/lpr-wrapper/Makefile +++ b/print/lpr-wrapper/Makefile @@ -1,35 +1,32 @@ -# New ports collection makefile for: lpr-wrapper -# Date created: 22 Apr 2005 17:00:00 CEST -# Whom: e-masson@kisoft-services.com -# +# Created by: e-masson@kisoft-services.com # $FreeBSD$ -# PORTNAME= lpr-wrapper PORTVERSION= 0.7 PORTREVISION= 2 CATEGORIES= print MASTER_SITES= http://www.mathstat.dal.ca/~selinger/lpr-wrapper/download/ MAINTAINER= emss@free.fr COMMENT= A user level printer frontend USE_GHOSTSCRIPT_RUN= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} RUN_DEPENDS+= bash:${PORTSDIR}/shells/bash RUN_DEPENDS+= ppdfilt:${PORTSDIR}/print/libppd RUN_DEPENDS+= psdim:${PORTSDIR}/print/psdim RUN_DEPENDS+= mpage:${PORTSDIR}/print/mpage RUN_DEPENDS+= pstops:${PORTSDIR}/print/psutils PLIST_FILES= bin/lpr-wrapper bin/lpr-wrapper-cups bin/lpr-wrapper-features +NO_STAGE= yes post-build: ${REINPLACE_CMD} -e 's|#!/bin/bash|#!/usr/bin/env bash|' \ ${WRKSRC}/lpr-wrapper ${WRKSRC}/lpr-wrapper-cups \ ${WRKSRC}/lpr-wrapper-features .include diff --git a/print/lprps/Makefile b/print/lprps/Makefile index 0ac307ac1fb9..26cf5688fcbf 100644 --- a/print/lprps/Makefile +++ b/print/lprps/Makefile @@ -1,38 +1,39 @@ # Created by: David O'Brien # $FreeBSD$ PORTNAME= lprps PORTVERSION= 2.5 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= paper:${PORTSDIR}/print/libpaper PORTDOCS= INSTALL MAN1= psrev.1 textps.1 MAN8= lprps.8 psif.8 psof.8 +NO_STAGE= yes do-install: ${MKDIR} ${DATADIR} cd ${WRKSRC} && \ ${INSTALL_PROGRAM} textps psrev ${PREFIX}/bin && \ ${INSTALL_PROGRAM} psif lprps psof ${PREFIX}/libexec && \ ${INSTALL_SCRIPT} psif-text psif-ps ${PREFIX}/libexec && \ ${INSTALL_DATA} banner.ps ${DATADIR} && \ ${INSTALL_MAN} textps.n ${PREFIX}/man/man1/textps.1 && \ ${INSTALL_MAN} psrev.n ${PREFIX}/man/man1/psrev.1 && \ ${INSTALL_MAN} lprps.n ${PREFIX}/man/man8/lprps.8 && \ ${INSTALL_MAN} psif.n ${PREFIX}/man/man8/psif.8 && \ ${INSTALL_MAN} psof.n ${PREFIX}/man/man8/psof.8 post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif .include diff --git a/print/lyx/Makefile b/print/lyx/Makefile index 5435a5ed6c56..5c0446e5c8d1 100644 --- a/print/lyx/Makefile +++ b/print/lyx/Makefile @@ -1,84 +1,85 @@ # Created by: Klemm # $FreeBSD$ PORTNAME= lyx PORTVERSION= ${MAJOR_VERSION}.${MINOR_VERSION} 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://gd.tuwien.ac.at/publishing/tex/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/ \ ftp://ftp.chg.ru/pub/X11/lyx/stable/${MAJOR_VERSION}.x/ MAINTAINER= rakuco@FreeBSD.org COMMENT= Document processor interfaced with LaTeX (nearly WYSIWYG) LICENSE= GPLv2 LIB_DEPENDS= boost_regex:${PORTSDIR}/devel/boost-libs \ mythes-1.2.0:${PORTSDIR}/textproc/mythes CONFLICTS= lyx-1.[0-9]* MAJOR_VERSION= 2.0 MINOR_VERSION= 6 USES= gmake iconv pkgconfig perl5 USE_XZ= yes USE_QT4= corelib gui moc_build uic_build rcc_build USE_GNOME= desktopfileutils USE_PYTHON= -2.7 GNU_CONFIGURE= yes CPPFLAGS+= ${PTHREAD_CFLAGS} LDFLAGS+= ${PTHREAD_LIBS} CONFIGURE_ARGS= --without-included-boost \ --without-included-mythes \ ${ICONV_CONFIGURE_ARG} \ --with-extra-prefix=${LOCALBASE} MAN1= lyx.1 lyxclient.1 tex2lyx.1 OPTIONS_DEFINE= ASPELL ENCHANT HUNSPELL NLS OPTIONS_DEFAULT= HUNSPELL NLS ENCHANT_DESC= Spell checking using Enchant +NO_STAGE= yes .include .if ${PORT_OPTIONS:MASPELL} LIB_DEPENDS+= aspell.16:${PORTSDIR}/textproc/aspell .else CONFIGURE_ARGS+= --without-aspell .endif .if ${PORT_OPTIONS:MENCHANT} LIB_DEPENDS+= enchant.1:${PORTSDIR}/textproc/enchant .else CONFIGURE_ARGS+= --without-enchant .endif .if ${PORT_OPTIONS:MHUNSPELL} LIB_DEPENDS+= hunspell-1.3.0:${PORTSDIR}/textproc/hunspell .else CONFIGURE_ARGS+= --without-hunspell .endif .if empty(PORT_OPTIONS:MNLS) CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .else USES+= gettext PLIST_SUB+= NLS="" .endif post-install: # Manually install the 48x48 icon and .desktop file. # Will not be needed in the 2.1 series, see LyX tickets 2820 and 7919. ${MKDIR} ${PREFIX}/share/icons/hicolor/48x48/apps ${MKDIR} ${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/lib/images/lyx.png ${PREFIX}/share/icons/hicolor/48x48/apps ${INSTALL_DATA} ${FILESDIR}/lyx.desktop ${PREFIX}/share/applications ${LOCALBASE}/bin/update-desktop-database --quiet @${CAT} ${PKGMESSAGE} .include diff --git a/print/magicfilter/Makefile b/print/magicfilter/Makefile index 5e9df537ab25..73dcc2b68275 100644 --- a/print/magicfilter/Makefile +++ b/print/magicfilter/Makefile @@ -1,36 +1,33 @@ -# New ports collection makefile for: magicfilter -# Date created: 24 Mar 1999 -# Whom: CHOI Junho -# +# Created by: CHOI Junho # $FreeBSD$ -# PORTNAME= magicfilter PORTVERSION= 2.3.h PORTREVISION= 6 CATEGORIES= print MASTER_SITES= http://www.pell.portland.or.us/~orc/Code/magicfilter/ MAINTAINER= ports@FreeBSD.org COMMENT= Customizable, extensible automatic printer filter USE_GHOSTSCRIPT= yes HAS_CONFIGURE= yes CONFIGURE_SCRIPT= configure.sh CONFIGURE_ARGS+= --prefix=${PREFIX} \ --confdir=${PREFIX}/etc \ --filterdir=${PREFIX}/libexec/magicfilter \ --use-fifo CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} MAN5= magicfilter.5 MAN8= magicfilter.8 +NO_STAGE= yes .include .if exists(${LOCALBASE}/lib/libmagic.so) BUILD_DEPENDS+= ${LOCALBASE}/lib/libmagic.so:${PORTSDIR}/sysutils/file RUN_DEPENDS+= ${BUILD_DEPENDS} .endif .include diff --git a/print/makeindex/Makefile b/print/makeindex/Makefile index bb746c86e026..751d7c5c6a4c 100644 --- a/print/makeindex/Makefile +++ b/print/makeindex/Makefile @@ -1,40 +1,37 @@ -# New ports collection makefile for: makeindex -# Date created: 12 October 1994 -# Whom: jmz -# +# Created by: jmz # $FreeBSD$ -# 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= A general purpose, formatter-independent index processor CONFLICTS= teTeX-base-[0-9]* WRKSRC= ${WRKDIR}/makeindex MAN1= makeindex.1 +NO_STAGE= yes post-patch: @(cd ${WRKSRC}/doc; \ ${SED} -e s:/usr/local/lib/tex/macros/:${PREFIX}/share/texmf/makeindx/: \ makeindex.1) do-build: @(cd ${WRKSRC}/src-3.0/regexp; ${MAKE} OPT="${CFLAGS}") @(cd ${WRKSRC}/src-3.0; ${MAKE} OPT="${CFLAGS}") do-install: @${MKDIR} ${PREFIX}/share/texmf/makeindx @(cd ${WRKSRC}/src-3.0/regexp; ${MAKE}) @(cd ${WRKSRC}/src-3.0; ${MAKE} install) @(cd ${WRKSRC}/doc; \ ${INSTALL_DATA} makeindex.1 ${MANPREFIX}/man/man1) .include diff --git a/print/mftrace/Makefile b/print/mftrace/Makefile index 95c18dd9c37d..ef7a6d384ec3 100644 --- a/print/mftrace/Makefile +++ b/print/mftrace/Makefile @@ -1,56 +1,52 @@ -# ex:ts=8 -# Ports collection makefile for: mftrace (formerly pktrace) -# Date created: Jun w, 2002 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= mftrace PORTVERSION= 1.2.18 PORTREVISION= 1 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:${PORTSDIR}/print/t1utils \ fontforge:${PORTSDIR}/print/fontforge .if defined(WITH_AUTOTRACE) BUILD_DEPENDS+= autotrace:${PORTSDIR}/graphics/autotrace RUN_DEPENDS+= autotrace:${PORTSDIR}/graphics/autotrace .else BUILD_DEPENDS+= potrace:${PORTSDIR}/graphics/potrace RUN_DEPENDS+= potrace:${PORTSDIR}/graphics/potrace .endif # Python3 ready USE_PYTHON= yes USE_TEX= base texmf GNU_CONFIGURE= yes USE_GMAKE= yes MAKEFILE= GNUmakefile .if !defined(NO_INSTALL_MANPAGES) MAN1= mftrace.1 .endif PLIST_FILES= \ bin/gf2pbm \ bin/mftrace \ %%PYTHON_SITELIBDIR%%/afm.py \ %%PYTHON_SITELIBDIR%%/tfm.py +NO_STAGE= yes do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gf2pbm ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/mftrace ${PREFIX}/bin .if !defined(NO_INSTALL_MANPAGES) ${INSTALL_MAN} ${WRKSRC}/mftrace.1 ${MANPREFIX}/man/man1 .endif ${INSTALL_SCRIPT} ${WRKSRC}/tfm.py ${PYTHON_SITELIBDIR} ${INSTALL_SCRIPT} ${WRKSRC}/afm.py ${PYTHON_SITELIBDIR} .include diff --git a/print/min12xxw/Makefile b/print/min12xxw/Makefile index 3bb7cdf51519..13709a84a89a 100644 --- a/print/min12xxw/Makefile +++ b/print/min12xxw/Makefile @@ -1,26 +1,23 @@ -# New ports collection makefile for: min12xxw -# Date created: 29 September 2007 -# Whom: Tim McCormick -# +# Created by: Tim McCormick # $FreeBSD$ -# PORTNAME= min12xxw PORTVERSION= 0.0.9 CATEGORIES= print MASTER_SITES= http://hinterbergen.de/mala/min12xxw/ MAINTAINER= tim@pcbsd.org COMMENT= Print driver for the Minolta PagePro 1(2/3/4)xxW printers HAS_CONFIGURE= yes MAN1= min12xxw.1 PLIST_FILES= bin/min12xxw bin/esc-m +NO_STAGE= yes do-install: ${INSTALL_SCRIPT} ${WRKSRC}/min12xxw ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/esc-m ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/min12xxw.1 ${PREFIX}/man/man1 .include diff --git a/print/mp-a4/Makefile b/print/mp-a4/Makefile index f3c8060dbc3e..5867a667bf9f 100644 --- a/print/mp-a4/Makefile +++ b/print/mp-a4/Makefile @@ -1,12 +1,8 @@ -# ex:ts=8 -# Ports collection makefile for: mp (a4) -# Date created: 11 July 1996 -# Whom: David O'Brien -# +# Created by: David O'Brien # $FreeBSD$ -# PAPERSIZE= a4 MASTERDIR= ${.CURDIR}/../mp-letter +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/mp-letter/Makefile b/print/mp-letter/Makefile index f5de477d969b..cd479075b06c 100644 --- a/print/mp-letter/Makefile +++ b/print/mp-letter/Makefile @@ -1,40 +1,36 @@ -# ex:ts=8 -# Ports collection makefile for: mp (letter) -# Date created: 11 July 1996 -# Whom: David O'Brien -# +# Created by: David O'Brien # $FreeBSD$ -# PORTNAME= mp-${PAPERSIZE} PORTVERSION= 3.0.1 CATEGORIES= print MASTER_SITES= ftp://relay.NUXI.org/pub/misc/ \ ftp://ftp.netsw.org/system/tools/print/ \ # ftp://ftp.fu-berlin.de/unix/tools/mp/ # ftp://ftp.inria.fr/system/user/ DISTNAME= mp-3.0.1 MAINTAINER= obrien@FreeBSD.org COMMENT= A PostScript printing util for ASCII files, email, USENET news articles, etc WRKSRC= ${WRKDIR}/mp MAN1= mp.1 MLINKS= mp.1 digestp.1 - filep.1 - filofaxp.1 \ - franklinp.1 - mailp.1 - newsp.1 \ - timemanp.1 - timesysp.1 PAPERSIZE?= letter .if ${PAPERSIZE:L} == a4 INSTALL_TARGET= install-a4 .endif +NO_STAGE= yes pre-patch: @${CP} ${WRKSRC}/Makefile.dist ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's// using namespace std;/' \ -e 's/enum action_type/action_type/g' \ -e 's/enum text_type/text_type/g' \ ${WRKSRC}/header.cc ${WRKSRC}/input.cc ${WRKSRC}/main.cc \ ${WRKSRC}/print.cc ${WRKSRC}/print.hh .include diff --git a/print/mpage/Makefile b/print/mpage/Makefile index 37b59a62e91e..fa2bcd460147 100644 --- a/print/mpage/Makefile +++ b/print/mpage/Makefile @@ -1,39 +1,36 @@ -# New ports collection makefile for: mpage -# Date created: 19 February 1998 -# Whom: Kapil Chowksey -# +# Created by: Kapil Chowksey # $FreeBSD$ -# # 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 PORTVERSION= 2.5.6 CATEGORIES= print MASTER_SITES= ftp://ftp.mesa.nl/pub/mpage/ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Print multiple pages per sheet of paper ALL_TARGET= default MAN1= mpage.1 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 PLIST_DIRS= %%DATADIR%% +NO_STAGE= yes post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for FILE in ${PORTDOCS} @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} .endfor .endif .include diff --git a/print/mup/Makefile b/print/mup/Makefile index 7fba76520fbf..c9df7f51783b 100644 --- a/print/mup/Makefile +++ b/print/mup/Makefile @@ -1,47 +1,44 @@ -# New ports collection makefile for: mup -# Date Created: Oct 4, 2002 -# Whom: Daniel O'Connor -# +# Created by: Daniel O'Connor # $FreeBSD$ -# PORTNAME= mup PORTVERSION= 5.5 CATEGORIES= print audio MASTER_SITES= ftp://ftp.arkkra.com/pub/unix/ DISTFILES= mup${PORTVERSION:S/.//}src.tar.gz MAINTAINER= araujo@FreeBSD.org COMMENT= A shareware program for typesetting music MAN1= mup.1 mkmupfnt.1 mupdisp.1 mupprnt.1 PLIST_FILES= bin/mkmupfnt bin/mup bin/mupdisp bin/mupprnt USE_XORG= x11 MOREDOCS= docs/README0 docs/overview.txt docs/register.txt\ docs/mupfeat.txt docs/faq.txt docs/license.txt docs/uguide.ps PORTDOCS= * +NO_STAGE= yes post-extract: ${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile ${CP} ${FILESDIR}/Makefile.mup ${WRKSRC}/mup/Makefile ${CP} ${FILESDIR}/Makefile.fnt ${WRKSRC}/mkmupfnt/Makefile ${CP} ${FILESDIR}/Makefile.disp ${WRKSRC}/mupdisp/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mup/mup ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/mkmupfnt/mkmupfnt ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/mupdisp/mupdisp ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/mupprnt ${PREFIX}/bin .for f in ${MAN1} ${INSTALL_MAN} ${WRKSRC}/docs/${f} ${PREFIX}/man/man1 .endfor .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR}/uguide ${FIND} ${WRKSRC}/docs/uguide -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/uguide \; .for f in ${MOREDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif .include diff --git a/print/musixtex/Makefile b/print/musixtex/Makefile index d0615ac46243..1e7bc7ab7ba4 100644 --- a/print/musixtex/Makefile +++ b/print/musixtex/Makefile @@ -1,34 +1,31 @@ -# New ports collection makefile for: musixtex -# Date created: 9 july 1995 -# Whom: jmz -# +# Created by: jmz # $FreeBSD$ -# PORTNAME= musixtex PORTVERSION= T112 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://icking-music-archive.org/software/musixtex/ DISTFILES= musixtex-${PORTVERSION}.tar.gz MAINTAINER= ports@FreeBSD.org COMMENT= A set of TeX macros to typeset music BUILD_DEPENDS= initex:${PORTSDIR}/print/tex RUN_DEPENDS= initex:${PORTSDIR}/print/tex EXAMPLE_VERSION= T112 DISTFILES+= musixexa-${EXAMPLE_VERSION}.tar.gz +NO_STAGE= yes post-extract: @${MKDIR} ${WRKDIR}/musixtex-${PORTVERSION}/examples @${CP} ${WRKDIR}/musixexa-${EXAMPLE_VERSION}/* ${WRKDIR}/musixtex-${PORTVERSION}/examples/ pre-install: ${MKDIR} ${PREFIX}/share/texmf/documentation post-install: @${LOCALBASE}/bin/texhash || ${TRUE} .include diff --git a/print/muttprint/Makefile b/print/muttprint/Makefile index f8918f495baa..ec49f6d84cb2 100644 --- a/print/muttprint/Makefile +++ b/print/muttprint/Makefile @@ -1,81 +1,82 @@ # Created by: Oliver Braun # $FreeBSD$ PORTNAME?= muttprint PORTVERSION= 0.72d PORTREVISION= 7 CATEGORIES?= print mail MASTER_SITES= SF/muttprint/muttprint/muttprint-${PORTVERSION} MAINTAINER?= ports@FreeBSD.org COMMENT?= Utility to print mail for most any mail client USES= perl5 .if !defined(PAPERSIZE) PAPERSIZE= letter .endif RUN_DEPENDS= psnup:${PORTSDIR}/print/psutils \ uncompface:${PORTSDIR}/mail/faces \ convert:${PORTSDIR}/graphics/ImageMagick \ p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate \ p5-Text-Iconv>=0:${PORTSDIR}/converters/p5-Text-Iconv .if defined(WITH_CUPS) RUN_DEPENDS+= cupstestppd:${PORTSDIR}/print/cups-base \ espgs:${PORTSDIR}/print/cups-pstoraster .endif NO_BUILD= yes PLIST_SUB+= LANGINFO="@comment " REINPLACE_ARGS= -i "" USE_TEX= latex USE_GMAKE= yes MAN1= muttprint.1 MANCOMPRESSED= yes .if defined(WITH_CUPS) PRINT_COMMAND=CUPS .else PRINT_COMMAND=lpr -P$$PRINTER .endif .if !defined(NOPORTDOCS) INSTALL_TARGET=install-with-doc .endif +NO_STAGE= yes pre-everything:: @${ECHO} @${ECHO} Set PAPERSIZE=a4 if you need that paper size. @${ECHO} Set WITH_CUPS=yes if you want to use CUPS. @${ECHO} post-patch: @${RM} -f ${WRKSRC}/pics/*.orig @${GUNZIP_CMD} ${WRKSRC}/doc/manpages/*/muttprint.1.gz @${REINPLACE_CMD} -e 's|/usr/share/doc/packages|${PREFIX}/share/doc|g ; \ s|/usr/share|${PREFIX}/share|g ; \ s|/usr/bin|${PREFIX}/bin|g ; \ s|/etc|${PREFIX}/etc|g ; \ s|/usr/lib|${PREFIX}/lib|g' \ ${WRKSRC}/doc/manpages/*/muttprint.1 \ ${WRKSRC}/doc/manual/*/manual-*/*.html @${REINPLACE_CMD} -e '/\.css/d' ${WRKSRC}/doc/manual/*/Makefile .if ${PAPERSIZE}==a4 @${REINPLACE_CMD} 's|%%PAPERSIZE%%|${PAPERSIZE:U}|' \ ${WRKSRC}/muttprint .else @${REINPLACE_CMD} 's|%%PAPERSIZE%%|${PAPERSIZE}|' \ ${WRKSRC}/muttprint .endif @${REINPLACE_CMD} 's|%%PRINT_COMMAND%%|${PRINT_COMMAND}| ; \ s|%%PREFIX%%|${PREFIX}|' \ ${WRKSRC}/muttprint .if defined(WITH_CUPS) @${REINPLACE_CMD} 's|lpr $$CUPS_OPTIONS|${PREFIX}/bin/lpr $$CUPS_OPTIONS|' ${WRKSRC}/muttprint .endif @${GZIP_CMD} ${WRKSRC}/doc/manpages/*/muttprint.1 .include diff --git a/print/nenscript/Makefile b/print/nenscript/Makefile index 5ceb7977b268..7f124586a1a8 100644 --- a/print/nenscript/Makefile +++ b/print/nenscript/Makefile @@ -1,32 +1,29 @@ -# New ports collection makefile for: nenscript -# Date created: 10 November 1999 -# Whom: cjm2 -# +# Created by: cjm2 # $FreeBSD$ -# PORTNAME= nenscript PORTVERSION= 1.13.3 CATEGORIES= print MASTER_SITES= http://www.ai.mit.edu/projects/im/magnus/nenscript/ MAINTAINER= ports@FreeBSD.org COMMENT= A clone of the proprietary enscript program from Adobe Systems USE_BZIP2= yes MAKEFILE= makefile MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" MAN1= nenscript.1 +NO_STAGE= yes .include do-install: ${INSTALL_PROGRAM} ${WRKSRC}/nenscript ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/nenscript.1 ${MANPREFIX}/man/man1 .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/readme ${DOCSDIR} .endif .include diff --git a/print/nl-acroread8/Makefile b/print/nl-acroread8/Makefile index 0a13aeda6b34..2b4cb2d8e9e4 100644 --- a/print/nl-acroread8/Makefile +++ b/print/nl-acroread8/Makefile @@ -1,15 +1,12 @@ -# New ports collection makefile for: nl-acroread8 -# Date created: 27 December 2007 -# Whom: hrs -# +# Created by: hrs # $FreeBSD$ -# PKGNAMEPREFIX= nl- MASTERDIR= ${.CURDIR}/../../print/acroread8 DISTINFO_FILE= ${.CURDIR}/distinfo ADOBE_LANG= NLD +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/no-acroread8/Makefile b/print/no-acroread8/Makefile index 16237631d14b..717aac05b5b4 100644 --- a/print/no-acroread8/Makefile +++ b/print/no-acroread8/Makefile @@ -1,15 +1,12 @@ -# New ports collection makefile for: no-acroread8 -# Date created: 27 December 2007 -# Whom: hrs -# +# Created by: hrs # $FreeBSD$ -# PKGNAMEPREFIX= no- MASTERDIR= ${.CURDIR}/../../print/acroread8 DISTINFO_FILE= ${.CURDIR}/distinfo ADOBE_LANG= NOR +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/openprinting/Makefile b/print/openprinting/Makefile index 337df19ba410..5828b1573b6b 100644 --- a/print/openprinting/Makefile +++ b/print/openprinting/Makefile @@ -1,122 +1,119 @@ -# New ports collection makefile for: openprinting -# Date created: 6 February 2010 -# Whom: Bruce M Simpson -# +# Created by: Bruce M Simpson # $FreeBSD$ -# PORTNAME= openprinting PORTVERSION= 1.0 PORTREVISION= 3 CATEGORIES= print net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR=\ 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 USE_BZIP2= yes USE_GMAKE= yes USES= gettext iconv USE_LDCONFIG= ${PREFIX}/lib ${PREFIX}/libexec GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes USE_AUTOTOOLS= aclocal autoconf autoheader automake libtool ACLOCAL_ARGS+= -I ${LOCALBASE}/share/aclocal AUTOMAKE_ARGS+= -a -c # Really disable building static libraries; the package does not use # its own libtool, and we have to tell it to stop. # Static libraries are not very useful in this package. MAKE_ARGS= LIBTOOL="${LIBTOOL} --tag=disable-static" # 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 +NO_STAGE= yes .include # NOTE: hard dependency on gettext() in distfiles. CONFIGURE_ARGS+=\ LDFLAGS="-L${LOCALBASE}/lib" \ CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-lintl" # NOTE: This has only been tested with www/apache20, with integrated APR. .if defined(WITH_MOD_IPP) IGNORE= no supported apache versions available #USE_APACHE= 20 #CONFIGURE_ARGS+=--with-apache=${LOCALBASE} .else CONFIGURE_ARGS+=--without-apache .endif .if defined(WITH_PSM_CUPS) LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-client CONFIGURE_ARGS+=--with-cups=${LOCALBASE} .else CONFIGURE_ARGS+=--without-cups .endif MANCOMPRESSED= no MAN5= psm-ipp.5 PLIST_DIRS+= man/mani PLIST_FILES+=\ include/papi.h \ include/ipp.h \ include/debug.h \ include/http.h \ include/http-private.h \ include/ipp-listener.h \ lib/libpapi-common.so \ lib/libpapi-common.so.0 \ lib/libpapi-common.la \ lib/libpapi.so \ lib/libpapi.so.0 \ lib/libpapi.la \ lib/libipp-core.so \ lib/libipp-core.so.0 \ lib/libipp-core.la \ lib/libipp-listener.so \ lib/libipp-listener.so.0 \ lib/libipp-listener.la \ libexec/psm-lpd.so \ libexec/psm-lpd.la \ libexec/psm-ipp.so \ libexec/psm-ipp.la \ libexec/lpd-port .if defined(WITH_PSM_CUPS) PLIST_FILES+=\ libexec/psm-cups.so \ libexec/psm-cups.la .endif .if defined(WITH_MOD_IPP) PLIST_FILES+=\ lib/mod_ipp.so \ lib/mod_ipp.la .endif .include pre-configure: cd ${WRKSRC}; ./autogen.sh .include diff --git a/print/p5-Font-FreeType/Makefile b/print/p5-Font-FreeType/Makefile index ad28a138f432..8973f158e7b3 100644 --- a/print/p5-Font-FreeType/Makefile +++ b/print/p5-Font-FreeType/Makefile @@ -1,22 +1,22 @@ -# Created by: Jun Kuriyama # $FreeBSD$ PORTNAME= Font-FreeType PORTVERSION= 0.03 CATEGORIES= print perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= kuriyama@FreeBSD.org COMMENT= Perl extension to read font files and render glyphs using FreeType2 LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 USES= pkgconfig perl5 USE_PERL5= configure MAN3= Font::FreeType.3 \ Font::FreeType::Face.3 \ Font::FreeType::Glyph.3 +NO_STAGE= yes .include diff --git a/print/p5-Net-CUPS/Makefile b/print/p5-Net-CUPS/Makefile index 4b890d703e46..5e82c8d3238e 100644 --- a/print/p5-Net-CUPS/Makefile +++ b/print/p5-Net-CUPS/Makefile @@ -1,29 +1,26 @@ -# New ports collection makefile for: p5-Net-CUPS -# Date created: 2011-09-11 -# Whom: Gvozdikov Veniamin -# +# Created by: Gvozdikov Veniamin # $FreeBSD$ -# PORTNAME= Net-CUPS PORTVERSION= 0.61 PORTREVISION= 1 CATEGORIES= print perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= vg@FreeBSD.org COMMENT= Interface to the CUPS API BUILD_DEPENDS= cups-config:${PORTSDIR}/print/cups-client LIB_DEPENDS= cupsimage.2:${PORTSDIR}/print/cups-image USES= perl5 USE_PERL5= configure MAN3= Net::CUPS.3 \ Net::CUPS::Destination.3 \ Net::CUPS::IPP.3 \ Net::CUPS::PPD.3 +NO_STAGE= yes .include diff --git a/print/p5-Net-Printer/Makefile b/print/p5-Net-Printer/Makefile index 73e71fc99770..27800f0a1eaa 100644 --- a/print/p5-Net-Printer/Makefile +++ b/print/p5-Net-Printer/Makefile @@ -1,20 +1,21 @@ # Created by: andrew@scoop.co.nz # $FreeBSD$ PORTNAME= Net-Printer PORTVERSION= 1.12 CATEGORIES= print perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= 5u623l20@gmail.com COMMENT= Perl extension for direct-to-lpd printing LICENSE= BSD USES= perl5 USE_PERL5= configure MAN3= Net::Printer.3 +NO_STAGE= yes .include diff --git a/print/p5-PDF-Template/Makefile b/print/p5-PDF-Template/Makefile index 1bea77625c0d..269e229c5f7f 100644 --- a/print/p5-PDF-Template/Makefile +++ b/print/p5-PDF-Template/Makefile @@ -1,48 +1,45 @@ -# New ports collection makefile for: p5-PDF-Template -# Date created: 2006-06-26 -# Whom: Yuichiro AIZAWA -# +# Created by: Yuichiro AIZAWA # $FreeBSD$ -# PORTNAME= PDF-Template PORTVERSION= 0.22 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+= pdflib-perl>=0:${PORTSDIR}/print/pdflib-perl \ p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure MAN3= PDF::Template::Element::Weblink.3 \ PDF::Template::Container::Scope.3 \ PDF::Template::Container::Margin.3 \ PDF::Template::Container::Font.3 \ PDF::Template::Element::Bookmark.3 \ PDF::Template::Element::TextBox.3 \ PDF::Template::Element::Var.3 \ PDF::Template::Container::Header.3 \ PDF::Template::Container::PdfTemplate.3 \ PDF::Template::Container::Loop.3 \ PDF::Template::Container::Conditional.3 \ PDF::Template::Container::Always.3 \ PDF::Template::Element::HorizontalRule.3 \ PDF::Template::Container::Section.3 \ PDF::Template::Element::Image.3 \ PDF::Template::Element::Circle.3 \ PDF::Template::Element::PageBreak.3 \ PDF::Template::Container::PageDef.3 \ PDF::Template::Container::Row.3 \ PDF::Template::Container::Footer.3 \ PDF::Template::Element.3 \ PDF::Template.3 \ PDF::Template::Element::Line.3 +NO_STAGE= yes .include diff --git a/print/p5-PDFLib/Makefile b/print/p5-PDFLib/Makefile index a352328281f7..39c0bd55f6b5 100644 --- a/print/p5-PDFLib/Makefile +++ b/print/p5-PDFLib/Makefile @@ -1,24 +1,23 @@ -# ex:ts=8 -# Ports collection makefile for: p5-PDFLib # Created by: ijliao # $FreeBSD$ PORTNAME= PDFLib PORTVERSION= 0.14 CATEGORIES= print perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= More OO interface to pdflib_pl.pm BUILD_DEPENDS= pdflib-perl>=0:${PORTSDIR}/print/pdflib-perl RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure NO_BUILD= yes MAN3= PDFLib.3 +NO_STAGE= yes .include diff --git a/print/p5-PostScript-PPD/Makefile b/print/p5-PostScript-PPD/Makefile index 0b15c46a92cb..2686f407bce0 100644 --- a/print/p5-PostScript-PPD/Makefile +++ b/print/p5-PostScript-PPD/Makefile @@ -1,27 +1,28 @@ # Created by: Sunpoet Po-Chuan Hsieh # $FreeBSD$ PORTNAME= PostScript-PPD PORTVERSION= 0.0205 CATEGORIES= print perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Read PostScript Printer Definition files LICENSE= ART10 GPLv1 LICENSE_COMB= dual TEST_DEPENDS= p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod \ p5-Test-Pod-Coverage>=1:${PORTSDIR}/devel/p5-Test-Pod-Coverage USE_PERL5= configure USES= perl5 MAN3= PostScript::PPD.3 +NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e '/lj4515.ppd/d' ${WRKSRC}/t/30_difficult.t .include diff --git a/print/p5-PostScript-Simple/Makefile b/print/p5-PostScript-Simple/Makefile index 112ba0eae1bb..056f915dc142 100644 --- a/print/p5-PostScript-Simple/Makefile +++ b/print/p5-PostScript-Simple/Makefile @@ -1,19 +1,19 @@ -# Ports collection makefile for: p5-PostScript-Simple # Created by: tobez # $FreeBSD$ PORTNAME= PostScript-Simple PORTVERSION= 0.07 CATEGORIES= print perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= PostScript::Simple - Produce PostScript files from Perl USES= perl5 USE_PERL5= configure MAN3= PostScript::Simple.3 PostScript::Simple::EPS.3 +NO_STAGE= yes .include diff --git a/print/p5-PostScript/Makefile b/print/p5-PostScript/Makefile index 5579aa139163..d582de769b8a 100644 --- a/print/p5-PostScript/Makefile +++ b/print/p5-PostScript/Makefile @@ -1,19 +1,19 @@ -# Ports collection makefile for: p5-PostScript # Created by: Fernan Aguero # $FreeBSD$ PORTNAME= PostScript PORTVERSION= 0.06 CATEGORIES= print perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= PostScript - Produce PostScript files from Perl USES= perl5 USE_PERL5= configure MAN3= PostScript::TextBlock.3 PostScript::Elements.3 PostScript::Metrics.3 +NO_STAGE= yes .include diff --git a/print/p5-Text-PDF/Makefile b/print/p5-Text-PDF/Makefile index 8b258ea34aa9..710f6cdc96a4 100644 --- a/print/p5-Text-PDF/Makefile +++ b/print/p5-Text-PDF/Makefile @@ -1,33 +1,34 @@ # Created by: Anton Berezin # $FreeBSD$ PORTNAME= Text-PDF PORTVERSION= 0.29a PORTREVISION= 2 CATEGORIES= print perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= tobez@FreeBSD.org COMMENT= A PDF manipulation module WRKSRC= ${WRKDIR}/${DISTNAME:C/a$//} USES= perl5 USE_PERL5= configure MAN3= Text::PDF::Pages.3 Text::PDF::Page.3 Text::PDF::Name.3 \ Text::PDF::TTFont0.3 Text::PDF::String.3 Text::PDF::File.3 \ Text::PDF::Dict.3 Text::PDF::Array.3 Text::PDF::Bool.3 \ Text::PDF::Objind.3 Text::PDF::SFont.3 Text::PDF::Filter.3 \ Text::PDF::Utils.3 Text::PDF::TTFont.3 Text::PDF::Number.3 \ Text::PDF::Null.3 Text::PDF.3 +NO_STAGE= yes post-patch: @${RM} -f ${WRKSRC}/pm_to_blib post-install: @${MKDIR} ${SITE_PERL}/Text/PDF/examples @${INSTALL_DATA} ${WRKSRC}/examples/* ${SITE_PERL}/Text/PDF/examples .include diff --git a/print/p5-XML-ApacheFOP/Makefile b/print/p5-XML-ApacheFOP/Makefile index 15299b023784..a7009b8dd24f 100644 --- a/print/p5-XML-ApacheFOP/Makefile +++ b/print/p5-XML-ApacheFOP/Makefile @@ -1,27 +1,24 @@ -# New ports collection makefile for: p5-XML-ApacheFOP -# Date created: 27 Feb 2006 -# Whom: Simun Mikecin -# +# Created by: Simun Mikecin # $FreeBSD$ -# PORTNAME= XML-ApacheFOP PORTVERSION= 0.03 PORTREVISION= 2 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= p5-Java>=0:${PORTSDIR}/devel/p5-Java \ ${LOCALBASE}/share/java/fop/build/fop.jar:${PORTSDIR}/textproc/fop RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure MAN3= XML::ApacheFOP.3 +NO_STAGE= yes .include diff --git a/print/panda/Makefile b/print/panda/Makefile index dbc3ea5cc09b..fe47a34e8361 100644 --- a/print/panda/Makefile +++ b/print/panda/Makefile @@ -1,60 +1,61 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= panda PORTVERSION= 0.5.4 PORTREVISION= 5 CATEGORIES= print MASTER_SITES= SF \ SAVANNAH \ http://www.stillhq.com/panda/source/ MAINTAINER= ports@FreeBSD.org COMMENT= A PDF generation library LICENSE= GPLv2 LGPL21 LICENSE_COMB= dual LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \ png15:${PORTSDIR}/graphics/png \ tiff.4:${PORTSDIR}/graphics/tiff USE_BZIP2= yes USES= pathfix pkgconfig USE_BDB= yes USE_GMAKE= yes USE_AUTOTOOLS= libtool CONFIGURE_ARGS= --enable-berkeley-db USE_LDCONFIG= yes CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include ${PTHREAD_CFLAGS} LDFLAGS+= -L${BDB_LIB_DIR} -L${LOCALBASE}/lib ${PTHREAD_LIBS} +NO_STAGE= yes .include post-extract: .for file in config.sub config.guess @${RM} ${WRKSRC}/config/${file} && ${TOUCH} ${WRKSRC}/config/${file} .endfor post-patch: @${REINPLACE_CMD} -e 's| -lpanda| $$(top_srcdir)/libpanda.la|g' \ ${WRKSRC}/examples/Makefile.in post-install: ${INSTALL_MAN} ${WRKSRC}/man/panda_*.3 ${MANPREFIX}/man/man3 .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for f in AUTHORS CONTRIBUTORS ChangeLog DEV-HINTS README TODO UNDERWAY ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif .if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} .for f in IMAGES examples/*.c examples/c++/*.cpp examples/images/*.* ${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR} .endfor .endif .include "Makefile.man" .include diff --git a/print/papersize-default-a4/Makefile b/print/papersize-default-a4/Makefile index 346ab3a383c5..1a0b09b19bb5 100644 --- a/print/papersize-default-a4/Makefile +++ b/print/papersize-default-a4/Makefile @@ -1,34 +1,31 @@ -# New ports collection makefile for: papersize-default-a4 -# Date created: March 2, 2012 -# Whom: hrs -# +# Created by: hrs # $FreeBSD$ -# PORTNAME= papersize-default PORTVERSION= 0.0.20120302 CATEGORIES= print MASTER_SITES= # none PKGNAMESUFFIX= -${DEFAULTPAPERSIZE:L} DISTFILES= # none MAINTAINER= hrs@FreeBSD.org COMMENT= A default paper size configuration file for libpaper LIB_DEPENDS= paper:${PORTSDIR}/print/libpaper NO_BUILD= yes DEFAULTPAPERSIZE?= a4 .for P in a4 letter .if ${DEFAULTPAPERSIZE:L:M${P}} != ${P} CONFLICTS+= papersize-default-${P}-[0-9]* .endif .endfor PLIST_FILES= etc/papersize +NO_STAGE= yes do-install: ${LN} -s -f papersize.${DEFAULTPAPERSIZE:L} ${PREFIX}/etc/papersize .include diff --git a/print/papersize-default-letter/Makefile b/print/papersize-default-letter/Makefile index d2369c26d7e0..b6edfeae1050 100644 --- a/print/papersize-default-letter/Makefile +++ b/print/papersize-default-letter/Makefile @@ -1,11 +1,8 @@ -# New ports collection makefile for: papersize-default-letter -# Date created: March 2, 2012 -# Whom: hrs -# +# Created by: hrs # $FreeBSD$ -# MASTERDIR= ${.CURDIR}/../../print/papersize-default-a4 DEFAULTPAPERSIZE= letter +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/paps/Makefile b/print/paps/Makefile index 22abd564c8ce..73426d107405 100644 --- a/print/paps/Makefile +++ b/print/paps/Makefile @@ -1,21 +1,22 @@ # Created by: johans # $FreeBSD$ PORTNAME= paps PORTVERSION= 0.6.8 PORTREVISION= 3 CATEGORIES= print MASTER_SITES= SF MAINTAINER= johans@FreeBSD.org COMMENT= UTF-8 to PostScript converter using Pango PLIST_FILES= bin/paps lib/libpaps.a include/libpaps.h MAN1= paps.1 GNU_CONFIGURE= yes USE_GNOME= pango USES= pkgconfig +NO_STAGE= yes .include diff --git a/print/passivetex/Makefile b/print/passivetex/Makefile index 0fbdfea029ad..4574c26d9f2b 100644 --- a/print/passivetex/Makefile +++ b/print/passivetex/Makefile @@ -1,61 +1,62 @@ # Created by: Nik Clayton # $FreeBSD$ PORTNAME= passivetex PORTVERSION= 1.24 PORTREVISION= 7 CATEGORIES= print MASTER_SITES= http://projects.oucs.ox.ac.uk/passivetex/ DISTNAME= ${PORTNAME} DIST_SUBDIR= ${PORTNAME} MAINTAINER= hrs@FreeBSD.org COMMENT= XSL FO processor, written in TeX NO_BUILD= yes USE_ZIP= yes USE_TEX= tetex xmltex texhash TEXHASHDIRS= ${TEXMFDIR} WRKSRC= ${WRKDIR}/passivetex MAKE_ENV= TEXMFCNF=${FILESDIR}:${LOCALBASE}/${TEXMFDIR}/web2c SUB_FILES= pkg-message SUB_LIST= TEXMFDIR=${TEXMFDIR} PLIST_SUB= CLASSDIR=${CLASSDIR} PKGMESSAGE= ${WRKDIR}/pkg-message PORTDOCS= LICENSE README.passivetex index.html index.xml PORTEXAMPLES= Makefile chap01.xml chap02.xml chap03.xml chap04.xml \ check.xsl darkness.fo darkness.pdf darkness.xml darkness.xsl \ exercise-print.xsl exercise.fo exercise.pdf exercise.xml \ fezziPic.png fotex.cfg.eg hyperref.cfg \ mathex.xml mathex.xsl mathml.xsl mathtei.dtd novel.dtd \ phys332-1.jpg phys332-2.jpg rmsd.xml \ tei-oucs.dtd tei.sty teimath-print.xsl teimath.aux teimath.fo \ teimath.log teimath.out teimath.pdf teimath.xml teimath.xsl \ teimath2.xml teiu5-print.xsl teiu5.fo teiu5.pdf teiu5.xml \ teixlite.dtd teixml.cfg test1.fot test2.fot CLASSDIR= ${TEXMFDIR}/tex/passivetex CLASS_FILES= dummyels.sty fotex.xmt fotex.sty \ mlnames.sty ucharacters.sty unicode.sty \ dummyels.sty nomulticol.sty +NO_STAGE= yes .include do-install: @${MKDIR} -m 555 ${PREFIX}/${CLASSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${CLASS_FILES} ${PREFIX}/${CLASSDIR} .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${EXAMPLESDIR} cd ${WRKSRC}/test && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR} .endif .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif post-install: @${CAT} ${PKGMESSAGE} .include diff --git a/print/pcal/Makefile b/print/pcal/Makefile index dd78cae35616..7c674e0d6eb2 100644 --- a/print/pcal/Makefile +++ b/print/pcal/Makefile @@ -1,52 +1,49 @@ -# New ports collection makefile for: pcal -# Date created: 10 June 2001 -# Whom: mwest@uct.ac.za -# +# Created by: mwest@uct.ac.za # $FreeBSD$ -# PORTNAME= pcal PORTVERSION= 4.11.0 CATEGORIES= print MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= PostScript calendar program MAKE_ENV= HOST_CC="${CC}" ALL_TARGET= USE_GMAKE= yes MAN1= pcal.1 PORTDOCS= ReadMe.txt pcal.html pcalw.html WWWSERVER!= hostname +NO_STAGE= yes .include 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 ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/html/pcal.cgi ${PREFIX}/libexec ${INSTALL_SCRIPT} ${WRKSRC}/html/pcal.pl ${PREFIX}/libexec ${INSTALL_MAN} ${WRKSRC}/doc/pcal.man ${MANPREFIX}/man/man1/pcal.1 @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/ReadMe.txt ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/html/pcal.html ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/html/pcalw.html ${DOCSDIR} .endif .include diff --git a/print/pdf-renderer/Makefile b/print/pdf-renderer/Makefile index 88c96eb168e5..0833239c4d72 100644 --- a/print/pdf-renderer/Makefile +++ b/print/pdf-renderer/Makefile @@ -1,43 +1,44 @@ # Created by: Alex Dupre # $FreeBSD$ 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= A 100% Java PDF renderer and viewer LICENSE= LGPL21 USE_ZIP= yes NO_WRKSUBDIR= yes USE_JAVA= yes JAVA_VERSION= 1.6+ USE_ANT= yes ALL_TARGET= jar .if !defined(NOPORTDOCS) ALL_TARGET+= javadoc .endif PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar PORTDOCS= * +NO_STAGE= yes do-install: @${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}.jar..." @${INSTALL_DATA} ${WRKSRC}/dist/PDFRenderer.jar ${JAVAJARDIR}/${PORTNAME}.jar @${ECHO_MSG} " [DONE]" .if !defined(NOPORTDOCS) @${ECHO_MSG} -n ">> Installing documentation..." @${MKDIR} ${DOCSDIR} @cd ${WRKSRC}/dist && ${FIND} javadoc \ | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1 @${ECHO_MSG} " [DONE]" .endif .include diff --git a/print/pdf4tcl/Makefile b/print/pdf4tcl/Makefile index 65b446ca098c..295c3125b219 100644 --- a/print/pdf4tcl/Makefile +++ b/print/pdf4tcl/Makefile @@ -1,36 +1,37 @@ # Created by: gahr # $FreeBSD$ PORTNAME= pdf4tcl PORTVERSION= 0.8 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_BERLIOS} MASTER_SITE_SUBDIR= ${PORTNAME} DISTFILES= ${PORTNAME}${PORTVERSION:S/.//}${EXTRACT_SUFX}/from_sourceforge MAINTAINER= tcltk@FreeBSD.org COMMENT= Pure Tcl library to generate PDF files RUN_DEPENDS= ${LOCALBASE}/lib/tcllib/snit/snit.tcl:${PORTSDIR}/devel/tcllib WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//} NO_BUILD= yes PORTDOCS= * PLIST_FILES= lib/${PKGNAME}/glyph2uni.tcl \ lib/${PKGNAME}/pkgIndex.tcl \ lib/${PKGNAME}/pdf4tcl.tcl \ lib/${PKGNAME}/stdmetrics.tcl PLIST_DIRS= lib/${PKGNAME} +NO_STAGE= yes .include do-install: ${MKDIR} ${PREFIX}/lib/${PKGNAME} cd ${WRKSRC} && ${COPYTREE_SHARE} \*.tcl ${PREFIX}/lib/${PKGNAME} .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html ${DOCSDIR} .endif .include diff --git a/print/pdfbox/Makefile b/print/pdfbox/Makefile index 48f12889dfc3..c3edd74eaa54 100644 --- a/print/pdfbox/Makefile +++ b/print/pdfbox/Makefile @@ -1,38 +1,39 @@ # Created by: Pedro Giffuni # $FreeBSD$ PORTNAME= pdfbox PORTVERSION= 1.8.1 CATEGORIES= print textproc java MASTER_SITES= ${MASTER_SITE_APACHE:S,%SUBDIR%,pdfbox/${PORTVERSION},} MASTER_SITE_SUBDIR= ${PORTNAME} DISTFILES= ${PORTNAME}-app-${PORTVERSION}.jar \ fontbox-${PORTVERSION}.jar jempbox-${PORTVERSION}.jar MAINTAINER= ports@FreeBSD.org COMMENT= Java PDF Library LICENSE= AL2 RUN_DEPENDS= ${JAVAJARDIR}/bcmail.jar:${PORTSDIR}/java/bouncycastle \ ${JAVALIBDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging USE_JAVA= yes JAVA_VERSION= 1.6+ DIST_SUBDIR= ${PORTNAME} NO_EXTRACT= yes NO_BUILD= yes PLIST_FILES= %%JAVAJARDIR%%/fontbox-${PORTVERSION}.jar \ %%JAVAJARDIR%%/jempbox-${PORTVERSION}.jar \ %%JAVAJARDIR%%/${PORTNAME}-app-${PORTVERSION}.jar +NO_STAGE= yes do-install: @${ECHO_MSG} -n ">> Installing JAR files in ${JAVAJARDIR}..." @${MKDIR} ${JAVAJARDIR} @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/*-${PORTVERSION}.jar \ ${JAVAJARDIR} @${ECHO_MSG} " [ DONE ]" .include diff --git a/print/pdfcolorsplit/Makefile b/print/pdfcolorsplit/Makefile index 96442dd48f99..40be82c68923 100644 --- a/print/pdfcolorsplit/Makefile +++ b/print/pdfcolorsplit/Makefile @@ -1,38 +1,35 @@ -# New ports collection makefile for: pdfcolorsplit -# Date created: 2011-08-26 -# Whom: Aldis Berjoza -# +# Created by: Aldis Berjoza # $FreeBSD$ -# PORTNAME= pdfcolorsplit PORTVERSION= 2011.08.26 PORTREVISION= 1 CATEGORIES= print python MASTER_SITES= http://files.bsdroot.lv/my/FreeBSD/distfiles/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= graudeejs@gmail.com COMMENT= Split your pdf into 2 pdf, color and bw, for printing LICENSE= GPLv2 RUN_DEPENDS= pdftk:${PORTSDIR}/print/pdftk \ ${LOCALBASE}/libexec/xpdf/pdftoppm:${PORTSDIR}/graphics/xpdf USE_GHOSTSCRIPT_RUN= yes USE_PYTHON= yes USE_XZ= yes PLIST_FILES= bin/${PORTNAME} NO_BUILD= yes NO_WRKSUBDIR= yes +NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e '/os\.system/s|pdftoppm|${LOCALBASE}/libexec/xpdf/pdftoppm|g' ${WRKSRC}/${PORTNAME} do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/ .include diff --git a/print/pdfcube/Makefile b/print/pdfcube/Makefile index a00043ebab4b..d2c91043e1d5 100644 --- a/print/pdfcube/Makefile +++ b/print/pdfcube/Makefile @@ -1,28 +1,29 @@ # Created by: Li-Wen Hsu # $FreeBSD$ PORTNAME= pdfcube PORTVERSION= 0.0.5 CATEGORIES= print MASTER_SITES= http://code.100allora.it/releases/pdfcube/ MAINTAINER= lwhsu@FreeBSD.org COMMENT= An OpenGL presentation viewer on a spinning cube LIB_DEPENDS= gtkglext:${PORTSDIR}/x11-toolkits/gtkglext \ poppler-glib:${PORTSDIR}/graphics/poppler-glib \ boost_program_options:${PORTSDIR}/devel/boost-libs USES= pkgconfig USE_GL= glut GNU_CONFIGURE= yes CONFIGURE_ARGS= --libdir=${LOCALBASE}/lib --includedir=${LOCALBASE}/include PLIST_FILES= bin/pdfcube +NO_STAGE= yes post-patch: ${REINPLACE_CMD} -e \ 's|BOOSTLIBDIR/libboost_program_options\*\.{so,a}\*|BOOSTLIBDIR/libboost_program_options.so|' \ ${WRKSRC}/configure .include diff --git a/print/pdfjam/Makefile b/print/pdfjam/Makefile index 606462a93718..ae0f15e17454 100644 --- a/print/pdfjam/Makefile +++ b/print/pdfjam/Makefile @@ -1,45 +1,42 @@ -# New ports collection makefile for: pdfjam -# Date created: Tue Mar 15 17:50:34 EST 2005 -# Whom: Paul Chvostek -# +# Created by: Paul Chvostek # $FreeBSD$ -# PORTNAME= pdfjam PORTVERSION= 2.08 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic/firth/software/pdfjam/ \ ftp://ftp.stack.nl/pub/users/johans/pdfjam/ MAINTAINER= johans@FreeBSD.org COMMENT= Shell scripts to manipulate PDF files USE_TEX= latex WRKSRC= ${WRKDIR}/${PORTNAME} PROGS= pdf90 pdf180 pdf270 pdfbook pdfflip pdfjam \ pdfjam-pocketmod pdfjam-slides3up pdfjam-slides6up \ pdfjoin pdfnup pdfpun MAN1= ${PROGS:S/$/.1/} PLIST_FILES= ${PROGS:S/^/bin\//} etc/pdfjam.conf.dist PORTDOCS= PDFjam-README.html pdfdroplets.png NO_BUILD= yes +NO_STAGE= yes do-install: .for FILE in ${PROGS} ${INSTALL_SCRIPT} ${WRKSRC}/bin/${FILE} ${PREFIX}/bin .endfor .for FILE in ${MAN1} ${INSTALL_MAN} ${WRKSRC}/man1/${FILE} ${MAN1PREFIX}/man/man1 .endfor ${INSTALL_DATA} ${WRKSRC}/pdfjam.conf ${PREFIX}/etc/pdfjam.conf.dist .ifndef NOPORTDOCS ${MKDIR} ${DOCSDIR} .for FILE in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} .endfor .endif .include diff --git a/print/pdflib-perl/Makefile b/print/pdflib-perl/Makefile index c2b5d5f5b052..5f9b1898547b 100644 --- a/print/pdflib-perl/Makefile +++ b/print/pdflib-perl/Makefile @@ -1,16 +1,13 @@ -# New ports collection makefile for: pdflib-perl -# Date created: 05 April 2003 -# Whom: Joe Marcus Clarke -# +# Created by: Joe Marcus Clarke # $FreeBSD$ -# PKGNAMESUFFIX= -perl MAINTAINER= ale@FreeBSD.org MASTERDIR= ${.CURDIR}/../pdflib OPTIONS_DEFAULT=PERL +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/pdflib/Makefile b/print/pdflib/Makefile index 9ebbbed6225c..51652c3d2850 100644 --- a/print/pdflib/Makefile +++ b/print/pdflib/Makefile @@ -1,68 +1,65 @@ -# New ports collection makefile for: pdflib -# Date created: Wed Jan 9 12:27:54 CET 2002 -# Whom: Alex Dupre -# +# Created by: Alex Dupre # $FreeBSD$ -# PORTNAME= pdflib PORTVERSION= 7.0.5 PORTREVISION= 2 CATEGORIES= print perl5 java MASTER_SITES= http://www.pdflib.com/binaries/PDFlib/${PORTVERSION:S/.//g}/ DISTNAME= PDFlib-Lite-${PORTVERSION}p3 MAINTAINER= ale@FreeBSD.org COMMENT= A C library for dynamically generating PDF RESTRICTED= many odd restrictions on usage and distribution OPTIONS_DEFINE= PERL JAVA PERL_DESC= Build perl bindings JAVA_DESC= Build Java bindings USES= gmake USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-py=no --with-ruby=no --with-tcl=no PORTDOCS= * +NO_STAGE= yes .include .if ${ARCH} == "amd64" || ${ARCH} == "ia64" || ${ARCH} == "sparc64" CONFIGURE_ARGS+=--enable-64bit .endif .if ${PORT_OPTIONS:MPERL} USES+= perl5 PLIST_SUB= PERL="" CONFIGURE_ARGS+=--with-perl=${PERL} .else CONFIGURE_ARGS+=--with-perl=no PLIST_SUB= PERL="@comment " .endif .if ${PORT_OPTIONS:MJAVA} USE_JAVA= yes JAVA_BUILD= yes JAVA_RUN= yes PLIST_SUB+= JAVA="" CONFIGURE_ARGS+=--with-java=${JAVA_HOME} .else CONFIGURE_ARGS+=--with-java=no PLIST_SUB+= JAVA="@comment " .endif post-install: ${MKDIR} ${DATADIR}/fonts ${INSTALL_DATA} ${WRKSRC}/fonts/* ${DATADIR}/fonts .if ${PORT_OPTIONS:MJAVA} ${INSTALL_DATA} ${WRKSRC}/bind/pdflib/java/pdflib.jar ${JAVAJARDIR}/pdflib.jar .endif .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/pdflib/* ${DOCSDIR} .endif .include diff --git a/print/pdfmod/Makefile b/print/pdfmod/Makefile index db0ce217cb2c..3543fb98556a 100644 --- a/print/pdfmod/Makefile +++ b/print/pdfmod/Makefile @@ -1,27 +1,24 @@ -# New ports collection makefile for: pdfmod -# Date created: 2009-07-28 -# Whom: Romain Tartiere -# +# Created by: Romain Tartiere # $FreeBSD$ -# PORTNAME= pdfmod PORTVERSION= 0.9.1 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= GNOME MAINTAINER= mono@FreeBSD.org COMMENT= A tool for modifying PDF documents BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/hyena.pc:${PORTSDIR}/devel/hyena RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/hyena.pc:${PORTSDIR}/devel/hyena USE_BZIP2= yes GNU_CONFIGURE= yes USE_GMAKE= yes USE_GNOME= gnomehack gnomesharp20 USES= gettext INSTALLS_ICONS= yes +NO_STAGE= yes .include diff --git a/print/pdftk/Makefile b/print/pdftk/Makefile index 0c261c7d24e8..97f75417b344 100644 --- a/print/pdftk/Makefile +++ b/print/pdftk/Makefile @@ -1,62 +1,63 @@ # Created by: Patrick Dung (patrick_dkt@yahoo.com.hk) # $FreeBSD$ PORTNAME= pdftk PORTVERSION= 1.45 CATEGORIES= print MASTER_SITES= http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/ \ LOCAL/glarkin DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= glarkin@FreeBSD.org COMMENT= Simple tool for doing everyday things with PDF documents USE_ZIP= yes BUILD_DEPENDS= gcj${CSUFF}:${PORTSDIR}/lang/gcc${CSUFF} \ gcjh${CSUFF}:${PORTSDIR}/lang/gcc${CSUFF} \ cpp${CSUFF}:${PORTSDIR}/lang/gcc${CSUFF} # Get GCC version suffix without the dot in USE_GCC CSUFF= ${_USE_GCC:S/.//} USE_GCC= yes USE_GMAKE= yes USES= iconv USE_LDCONFIG= ${PREFIX}/lib/gcc${CSUFF} # gcj/libgcj don't exist on some platforms ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= GNU gcj does not exist on this platform PATCH_WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-dist WRKSRC= ${PATCH_WRKSRC}/${PORTNAME} MAKEFILE= Makefile.FreeBSD MAKE_ENV= GCJ=gcj${CSUFF} GCJH=gcjh${CSUFF} GCPP=cpp${CSUFF} \ OBJCOPY=${OBJCOPY} LANG=C LC_CTYPE=C MAN1= ${PORTNAME}.1 PLIST_FILES= bin/pdftk +NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e "s|TOOLPATH=|TOOLPATH=${LOCALBASE}/bin/|g" ${WRKSRC}/${MAKEFILE} @${REINPLACE_CMD} -e "s|VERSUFF=|VERSUFF=${CSUFF}|g" ${WRKSRC}/${MAKEFILE} #2005-10-29 - mjoyner@vbservices.net/mjoyner@ewc.edu #as shipped, pdftk compiles fine with 3.4 gcj, as we currently only have 4.1 gcj available, #fix things so that it will compile. (compile tested on 5.4-STABLE) # #The resulting binary from using the 4.1 compiler suite has *NOT* been regression tested! #Based on info found via Google USENET Search: Adam McDougall, Gerald Pfeifer # @${REINPLACE_CMD} -e "s|GCJFLAGS=|GCJFLAGS= -L${LOCALBASE}/lib -Wl,-rpath=${LOCALBASE}/lib/gcc${CSUFF} -w|g" ${WRKSRC}/${MAKEFILE} @${REINPLACE_CMD} -e "s|LDLIBS= -lgcj|LDLIBS= -lgcj ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} ${ICONV_LIB} -lz -L${LOCALBASE}/lib -Wl,-rpath=${LOCALBASE}/lib/gcc${CSUFF} -w|g" \ ${WRKSRC}/${MAKEFILE} do-install: @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin @${INSTALL_MAN} ${WRKSRC}/../${PORTNAME}.1 ${PREFIX}/man/man1 .include diff --git a/print/pdq/Makefile b/print/pdq/Makefile index 52b0ae4078f5..070f1160a48a 100644 --- a/print/pdq/Makefile +++ b/print/pdq/Makefile @@ -1,31 +1,28 @@ -# New ports collection makefile for: pdq -# Date created: 15 May 1999 -# Whom: Yin-Jieh Chen -# +# Created by: Yin-Jieh Chen # $FreeBSD$ -# PORTNAME= pdq PORTVERSION= 2.2.1 PORTREVISION= 4 CATEGORIES= print MASTER_SITES= http://pdq.sourceforge.net/ftp/ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= A straightforward, flexible print subsystem USE_GNOME= gtk12 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-pdqlibdir=${PREFIX}/etc/pdq MAN1= lpd_cancel.1 lpd_print.1 lpd_status.1 pdq.1 xpdq.1 MAN5= printrc.5 +NO_STAGE= yes post-install: .for file in lpd_cancel lpd_print lpd_status pdq xpdq @${STRIP_CMD} ${PREFIX}/bin/${file} .endfor @${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGMESSAGE} .include diff --git a/print/pear-File_PDF/Makefile b/print/pear-File_PDF/Makefile index 265e5839c8c0..1e18bf62dbda 100644 --- a/print/pear-File_PDF/Makefile +++ b/print/pear-File_PDF/Makefile @@ -1,15 +1,16 @@ # Created by: Anish Mistry # $FreeBSD$ PORTNAME= File_PDF PORTVERSION= 0.3.3 CATEGORIES= print pear MAINTAINER= miwi@FreeBSD.org COMMENT= PEAR class to generate PDFs PEAR_AUTOINSTALL= yes +NO_STAGE= yes .include .include "${PORTSDIR}/devel/pear/bsd.pear.mk" .include diff --git a/print/pecl-haru/Makefile b/print/pecl-haru/Makefile index 30b8b70541fc..e36c28a5610b 100644 --- a/print/pecl-haru/Makefile +++ b/print/pecl-haru/Makefile @@ -1,25 +1,26 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= haru PORTVERSION= 1.0.4 CATEGORIES= print pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz MAINTAINER= miwi@FreeBSD.org COMMENT= A PECL extension to Haru PDF functions BUILD_DEPENDS= ${LOCALBASE}/include/hpdf.h:${PORTSDIR}/print/libharu RUN_DEPENDS:= ${LOCALBASE}/include/hpdf.h:${PORTSDIR}/print/libharu USE_PHP= yes USE_PHPEXT= yes CONFIGURE_ARGS+= --with-haru=${LOCALBASE} CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +NO_STAGE= yes .include diff --git a/print/pecl-pdflib/Makefile b/print/pecl-pdflib/Makefile index 8e0e85ded047..2809577e0959 100644 --- a/print/pecl-pdflib/Makefile +++ b/print/pecl-pdflib/Makefile @@ -1,24 +1,25 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= pdflib PORTVERSION= 2.1.10 CATEGORIES= print pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= ale@FreeBSD.org COMMENT= A PECL extension to create PDF on the fly LIB_DEPENDS= pdf.6:${PORTSDIR}/print/pdflib USE_PHP= gd USE_PHP_BUILD= yes USE_PHPEXT= yes PHP_MODNAME= pdf CONFIGURE_ARGS= --with-pdflib=${LOCALBASE} +NO_STAGE= yes .include diff --git a/print/pecl-ps/Makefile b/print/pecl-ps/Makefile index 504ebd03201f..fb75e23339f6 100644 --- a/print/pecl-ps/Makefile +++ b/print/pecl-ps/Makefile @@ -1,32 +1,29 @@ -# Ports collection makefile for: pear-ps -# Date created: 25 May 2007 -# Whom: Alan Garfield -# +# Created by: Alan Garfield # $FreeBSD$ -# PORTNAME= ps PORTVERSION= 1.3.6 PORTREVISION= 2 CATEGORIES= print pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DISTNAME= ps-${PORTVERSION} EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= alan@fromorbit.com COMMENT= PHP extension for pslib to generate postscript LIB_DEPENDS= ps.4:${PORTSDIR}/print/pslib USE_PHP= yes USE_PHPEXT= yes PHP_MODNAME= ${PORTNAME} DEFAULT_PHP_VER=53 IGNORE_WITH_PHP=5 +NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|-ldl|-lintl|g' ${WRKSRC}/config.m4 .include diff --git a/print/pfbtopfa/Makefile b/print/pfbtopfa/Makefile index fa2c0a095f46..f4d2c97e15e7 100644 --- a/print/pfbtopfa/Makefile +++ b/print/pfbtopfa/Makefile @@ -1,25 +1,21 @@ -# ex:ts=8 -# Ports collection makefile for: pfbtopfa -# Date created: Dec 24, 2003 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= pfbtopfa PORTVERSION= 1.0 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 MAN1= pfbtopfa.1 PLIST_FILES= bin/pfbtopfa +NO_STAGE= yes do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pfbtopfa ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pfbtopfa.1 ${MAN1PREFIX}/man/man1 .include diff --git a/print/photoprint/Makefile b/print/photoprint/Makefile index 6c97b0844301..6dec9e1a9bee 100644 --- a/print/photoprint/Makefile +++ b/print/photoprint/Makefile @@ -1,38 +1,39 @@ # $FreeBSD$ PORTNAME= photoprint DISTVERSION= 0.4.2-pre2 CATEGORIES= print graphics MASTER_SITES= http://www.blackfiveimaging.co.uk/photoprint/ MAINTAINER= bsam@FreeBSD.org COMMENT= Utility to print multiple images per sheet LICENSE= GPLv2 LIB_DEPENDS= cups:${PORTSDIR}/print/cups-client \ expat:${PORTSDIR}/textproc/expat2 \ gdk_pixbuf-2.0:${PORTSDIR}/graphics/gdk-pixbuf2 \ gutenprint:${PORTSDIR}/print/gutenprint \ lcms:${PORTSDIR}/graphics/lcms \ netpbm:${PORTSDIR}/graphics/netpbm \ pcre:${PORTSDIR}/devel/pcre \ pixman:${PORTSDIR}/x11/pixman \ png15:${PORTSDIR}/graphics/png \ pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \ tiff:${PORTSDIR}/graphics/tiff GNU_CONFIGURE= yes USES= desktop-file-utils gettext pkgconfig USE_GNOME= pango USE_XORG= x11 xau xcb xcomposite xcursor xdamage xdmcp xext \ xfixes xi xinerama xrandr xrender INSTALLS_ICONS= yes LDFLAGS+= -L${LOCALBASE}/lib +NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|glib/gstrfuncs.h|glib.h|g' \ ${WRKSRC}/gp_cppsupport/gprinter.cpp .include diff --git a/print/phppdflib/Makefile b/print/phppdflib/Makefile index 944439ae6633..c3e18e06602a 100644 --- a/print/phppdflib/Makefile +++ b/print/phppdflib/Makefile @@ -1,34 +1,31 @@ -# New ports collection makefile for: phppdflib -# Date created: 30 Aug 2001 -# Whom: HSIN-HSIUNG CHANG -# +# Created by: HSIN-HSIUNG CHANG # $FreeBSD$ -# PORTNAME= phppdflib PORTVERSION= 2.8 CATEGORIES= print MASTER_SITES= http://www.potentialtech.com/ EXTRACT_SUFX= .tbz MAINTAINER= sexbear@tmu.edu.tw COMMENT= An easy to use API for creating PDF files dynamically USE_PHP= yes WANT_PHP_MOD= yes IGNORE_WITH_PHP=5 WRKSRC= ${WRKDIR}/phppdflib USE_BZIP2= yes NO_BUILD= yes MYADMDIR?= www/data/phppdflib PLIST_SUB+= MYADMDIR=${MYADMDIR} +NO_STAGE= yes do-install: ${MKDIR} ${PREFIX}/${MYADMDIR} ${CP} -R ${WRKSRC}/* ${PREFIX}/${MYADMDIR} .include diff --git a/print/pic2fig/Makefile b/print/pic2fig/Makefile index 127b0fcae4f9..e7f6f7b9c4f0 100644 --- a/print/pic2fig/Makefile +++ b/print/pic2fig/Makefile @@ -1,24 +1,25 @@ # Created by: Patrick Powell # $FreeBSD$ PORTNAME= pic2fig PORTVERSION= 1.4 PORTREVISION= 2 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_XCONTRIB} MASTER_SITE_SUBDIR= utilities EXTRACT_SUFX= .tar.Z MAINTAINER= ports@FreeBSD.org COMMENT= Pic format to fig format converter WRKSRC= ${WRKDIR}/${PORTNAME} CFLAGS+= -Wno-return-type MAN1= pic2fig.1 PLIST_FILES= bin/pic2fig +NO_STAGE= yes do-install: ${INSTALL_PROGRAM} -m 755 ${WRKSRC}/pic2fig ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pic2fig.1 ${PREFIX}/man/man1 .include diff --git a/print/pkfonts118/Makefile b/print/pkfonts118/Makefile index fe3cba151a60..bc5b4b478cca 100644 --- a/print/pkfonts118/Makefile +++ b/print/pkfonts118/Makefile @@ -1,11 +1,8 @@ -# New ports collection makefile for: English PK fonts at 118dpi -# Date created: 06 Nov 1998 -# Whom: Satoshi Asami -# +# Created by: Satoshi Asami # $FreeBSD$ -# RESOLUTION= 118 MASTERDIR= ${.CURDIR}/../pkfonts300 +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/pkfonts240/Makefile b/print/pkfonts240/Makefile index 4fc45f03777f..8bdcb75ccaab 100644 --- a/print/pkfonts240/Makefile +++ b/print/pkfonts240/Makefile @@ -1,11 +1,8 @@ -# New ports collection makefile for: English PK fonts at 240dpi -# Date created: 06 Nov 1998 -# Whom: Satoshi Asami -# +# Created by: Satoshi Asami # $FreeBSD$ -# RESOLUTION= 240 MASTERDIR= ${.CURDIR}/../pkfonts300 +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/pkfonts300/Makefile b/print/pkfonts300/Makefile index 0c4054f21f38..59c08ac85f33 100644 --- a/print/pkfonts300/Makefile +++ b/print/pkfonts300/Makefile @@ -1,41 +1,38 @@ -# New ports collection makefile for: English PK fonts -# Date created: 16 Mar 1996 -# Whom: Hideaki Ohmon -# +# Created by: Hideaki Ohmon # $FreeBSD$ -# PORTNAME= pkfonts${RESOLUTION} PORTVERSION= 1.0 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_PORTS_JP} MASTER_SITE_SUBDIR= 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 +NO_STAGE= yes .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} ${PREFIX}/lib/fonts ${TAR} -C ${PREFIX}/lib/fonts -xzf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} .include diff --git a/print/pkfonts360/Makefile b/print/pkfonts360/Makefile index f22158024f4e..0a2881c5d25c 100644 --- a/print/pkfonts360/Makefile +++ b/print/pkfonts360/Makefile @@ -1,11 +1,8 @@ -# New ports collection makefile for: English PK fonts at 360dpi -# Date created: 06 Nov 1998 -# Whom: Satoshi Asami -# +# Created by: Satoshi Asami # $FreeBSD$ -# RESOLUTION= 360 MASTERDIR= ${.CURDIR}/../pkfonts300 +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/pkfonts400/Makefile b/print/pkfonts400/Makefile index 0852795fb8a1..e073a2a6b548 100644 --- a/print/pkfonts400/Makefile +++ b/print/pkfonts400/Makefile @@ -1,11 +1,8 @@ -# New ports collection makefile for: English PK fonts at 400dpi -# Date created: 06 Nov 1998 -# Whom: Satoshi Asami -# +# Created by: Satoshi Asami # $FreeBSD$ -# RESOLUTION= 400 MASTERDIR= ${.CURDIR}/../pkfonts300 +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/pkfonts600/Makefile b/print/pkfonts600/Makefile index 3199428bed26..c7539c7fa310 100644 --- a/print/pkfonts600/Makefile +++ b/print/pkfonts600/Makefile @@ -1,11 +1,8 @@ -# New ports collection makefile for: English PK fonts at 600dpi -# Date created: 06 Nov 1998 -# Whom: Satoshi Asami -# +# Created by: Satoshi Asami # $FreeBSD$ -# RESOLUTION= 600 MASTERDIR= ${.CURDIR}/../pkfonts300 +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/pkipplib/Makefile b/print/pkipplib/Makefile index bd70cf509aa9..5af7244d8fa4 100644 --- a/print/pkipplib/Makefile +++ b/print/pkipplib/Makefile @@ -1,19 +1,16 @@ -# Ports collection Makefile for: pkipplib -# Date created: Jan 19 2009 -# Whom: Rong-En Fan -# +# Created by: Rong-En Fan # $FreeBSD$ -# PORTNAME= pkipplib PORTVERSION= 0.07 CATEGORIES= print python MASTER_SITES= http://www.pykota.com/software/pkipplib/download/tarballs/ MAINTAINER= rafan@FreeBSD.org COMMENT= Create and parse IPP requests USE_PYTHON= yes USE_PYDISTUTILS=yes +NO_STAGE= yes .include diff --git a/print/pkpgcounter/Makefile b/print/pkpgcounter/Makefile index f9484c2d15c1..13ce758c6ad5 100644 --- a/print/pkpgcounter/Makefile +++ b/print/pkpgcounter/Makefile @@ -1,39 +1,36 @@ -# Ports collection Makefile for: pkpgcounter -# Date created: Jan 1 2006 -# Whom: Rong-En Fan -# +# Created by: Rong-En Fan # $FreeBSD$ -# PORTNAME= pkpgcounter PORTVERSION= 3.50 PORTREVISION= 2 CATEGORIES= print python MASTER_SITES= http://www.pykota.com/software/pkpgcounter/download/tarballs/ MAINTAINER= ports@FreeBSD.org COMMENT= Count pages and ink coverage percent BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging RUN_DEPENDS:= ${BUILD_DEPENDS} LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING USE_PYTHON= yes USE_PYDISTUTILS= yes MAN1= ${PORTNAME}.1 PORTDOCS= README COPYING BUGS CREDITS NEWS .ifdef NOPORTDOCS _SED_NODOCS= -e '/^data_files.append.*docfiles/s|.*||' .endif +NO_STAGE= yes post-patch: @${REINPLACE_CMD} \ -e '/^directory.*man1/s|=.*|= "man/man1"|' \ -e '/^docdir/s|".*"|"${DOCSDIR}"|' \ ${_SED_NODOCS} ${WRKSRC}/setup.py .include diff --git a/print/pmw/Makefile b/print/pmw/Makefile index 976e12167f1f..0bc8119f44ed 100644 --- a/print/pmw/Makefile +++ b/print/pmw/Makefile @@ -1,30 +1,31 @@ # Created by: Brian Candler # $FreeBSD$ PORTNAME= pmw PORTVERSION= 4.12 CATEGORIES= print audio MASTER_SITES= ftp://ftp.univie.ac.at/applications/www.quercite.com/ \ http://www.quercite.com/ MAINTAINER= ports@FreeBSD.org COMMENT= High quality music typesetting program GNU_CONFIGURE= yes ALL_TARGET= build MAN1= pmw.1 PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message +NO_STAGE= yes post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for file in ChangeLog spec.pdf ${INSTALL_MAN} ${WRKSRC}/doc/${file} ${DOCSDIR} .endfor .endif @${CAT} ${PKGMESSAGE} .include diff --git a/print/pnm2ppa/Makefile b/print/pnm2ppa/Makefile index 7fa1c85ab6c8..df67736c6b4e 100644 --- a/print/pnm2ppa/Makefile +++ b/print/pnm2ppa/Makefile @@ -1,63 +1,60 @@ -# New ports collection makefile for: pnm2ppa -# Date created: 18 November 1998 -# Whom: smace@freebsd.org -# +# Created by: smace@FreeBSD.org # $FreeBSD$ -# PORTNAME= pnm2ppa PORTVERSION= 1.13 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Convert PNM images to PPA for some HP printers OPTIONS_DEFINE= A4SIZE A4SIZE_DESC= Set A4 (not Letter) as a default paper size USE_GHOSTSCRIPT_RUN= yes USE_GMAKE= yes GNU_CONFIGURE= yes MAN1= pnm2ppa.1 PLIST_FILES= bin/asciippafilter bin/calibrate_ppa bin/pnm2ppa bin/ppafilter \ etc/pnm2ppa.conf.sample PKGDEINSTALL= ${PKGINSTALL} +NO_STAGE= yes .include .if defined(A4) || !empty(PORT_OPTIONS:MA4SIZE) RUN_DEPENDS= enscript:${PORTSDIR}/print/enscript-a4 .else RUN_DEPENDS= enscript:${PORTSDIR}/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 ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/pnm2ppa ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/asciippafilter ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/ppafilter ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pnm2ppa.1 ${MANPREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/pnm2ppa.conf.sample ${PREFIX}/etc @${SETENV} PKG_PREFIX="${PREFIX}" \ ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL @${CAT} ${PKGMESSAGE} .include diff --git a/print/poster/Makefile b/print/poster/Makefile index ce8f194bb439..83992c949cf0 100644 --- a/print/poster/Makefile +++ b/print/poster/Makefile @@ -1,29 +1,26 @@ -# New ports collection makefile for: poster -# Date created: 15 January 2000 -# Whom: Yoshiro MIHIRA -# +# Created by: Yoshiro MIHIRA # $FreeBSD$ -# PORTNAME= poster PORTVERSION= 1.0 CATEGORIES= print MASTER_SITES= ftp://ftp.ics.ele.tue.nl/pub/users/jos/poster/ DISTNAME= poster MAINTAINER= sanpei@FreeBSD.org COMMENT= Resize a postscript image to print on larger media and/or multiple sheets ALL_TARGET= poster MAKEFILE= /dev/null MAKE_ENV= LDLIBS="-lm" NO_WRKSUBDIR= yes MAN1= poster.1 PLIST_FILES= bin/poster +NO_STAGE= yes do-install: @${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin @${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.1 ${PREFIX}/man/man1/ .include diff --git a/print/ps2eps/Makefile b/print/ps2eps/Makefile index 81c1ccfab3d6..94b333b72b46 100644 --- a/print/ps2eps/Makefile +++ b/print/ps2eps/Makefile @@ -1,48 +1,45 @@ -# New ports collection makefile for: ps2eps -# Date created: 2005-12-30 -# Whom: Jui-Nan Lin -# +# Created by: Jui-Nan Lin # $FreeBSD$ -# PORTNAME= ps2eps PORTVERSION= 1.64 PORTREVISION= 3 CATEGORIES= print MASTER_SITES= http://www.tm.uka.de/~bless/ \ http://www.ipv6.tm.uka.de/~bless/ MAINTAINER= jnlin@csie.nctu.edu.tw COMMENT= Generate Encapsulated Postscript file from Postscript document WRKSRC= ${WRKDIR}/ps2eps USE_GHOSTSCRIPT_RUN= yes USES= perl5 USE_PERL5= run MAN1= ps2eps.1 bbox.1 +NO_STAGE= yes do-build: ${CC} -o ${WRKSRC}/bbox ${WRKSRC}/src/C/bbox.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bbox ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/ps2eps ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/man/man1/bbox.1 ${PREFIX}/man/man1/ ${INSTALL_MAN} ${WRKSRC}/doc/man/man1/ps2eps.1 ${PREFIX}/man/man1/ post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @${MKDIR} ${DOCSDIR}/html @${MKDIR} ${DOCSDIR}/pdf ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Changes.txt ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/html/bbox.html ${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/doc/html/ps2eps.html ${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/doc/pdf/bbox.pdf ${DOCSDIR}/pdf ${INSTALL_DATA} ${WRKSRC}/doc/pdf/ps2eps.pdf ${DOCSDIR}/pdf .endif .include diff --git a/print/pscal/Makefile b/print/pscal/Makefile index e905c96e6a3c..b817537fcaac 100644 --- a/print/pscal/Makefile +++ b/print/pscal/Makefile @@ -1,22 +1,19 @@ -# New ports collection makefile for: pscal -# Date created: Apr 16, 2001 -# Whom: Mark Pulford -# +# Created by: Mark Pulford # $FreeBSD$ -# PORTNAME= pscal PORTVERSION= 1.16 CATEGORIES= print MASTER_SITES= http://www.panix.com/~mbh/pscal/ MAINTAINER= ports@FreeBSD.org COMMENT= A utility for generating Postscript calendars NO_BUILD= yes PLIST_FILES= bin/pscal +NO_STAGE= yes do-install: ${INSTALL_SCRIPT} ${WRKSRC}/pscal ${PREFIX}/bin .include diff --git a/print/psdim/Makefile b/print/psdim/Makefile index 9753aff43218..f9b2e0b6e167 100644 --- a/print/psdim/Makefile +++ b/print/psdim/Makefile @@ -1,24 +1,21 @@ -# New ports collection makefile for: psdim -# Date created: 22 Apr 2005 17:00:00 CEST -# Whom: e-masson@kisoft-services.com -# +# Created by: e-masson@kisoft-services.com # $FreeBSD$ -# PORTNAME= psdim PORTVERSION= 1.4 PORTREVISION= 6 CATEGORIES= print MASTER_SITES= http://www.mathstat.dal.ca/~selinger/psdim/download/ MAINTAINER= emss@free.fr COMMENT= Utility that calculates the optimal placement of the pages for n-up printing USE_GHOSTSCRIPT=yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} MAN1= psdim.1 +NO_STAGE= yes .include diff --git a/print/pslib/Makefile b/print/pslib/Makefile index 3440f4c2ca60..37febd3049be 100644 --- a/print/pslib/Makefile +++ b/print/pslib/Makefile @@ -1,69 +1,70 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= pslib PORTVERSION= 0.4.5 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= SF MAINTAINER= mva@FreeBSD.org COMMENT= A C-library for generating multi page PostScript documents LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \ png15:${PORTSDIR}/graphics/png \ tiff.4:${PORTSDIR}/graphics/tiff USES= pathfix pkgconfig gettext USE_GNOME= intlhack USE_GMAKE= yes USE_AUTOTOOLS= libtool CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lintl USE_LDCONFIG= yes OPTIONS_DEFINE= EXAMPLES MAN NLS OPTIONS_DEFAULT= MAN NLS MAN_DESC= Manual pages +NO_STAGE= yes .include .if ${PORT_OPTIONS:MEXAMPLES} EX_NAME= pslib-examples-0.0.10 EX_WRKSRC= ${WRKDIR}/${EX_NAME} DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} ${EX_NAME}${EXTRACT_SUFX} PLIST_SUB+= EXAMPLES="" .else PLIST_SUB+= EXAMPLES="@comment " .endif .if ${PORT_OPTIONS:MMAN} BUILD_DEPENDS+= ${LOCALBASE}/bin/docbook-to-man:${PORTSDIR}/textproc/docbook-to-man \ ${LOCALBASE}/bin/docbook2man:${PORTSDIR}/textproc/docbook-utils MAN3!= ${CAT} ${FILESDIR}/man3 .else # Avoid building the manpages. CONFIGURE_ENV+= ac_cv_prog_DOC_TO_MAN="" .endif .if ${PORT_OPTIONS:MNLS} PLIST_SUB+= NLS="" .else CONFIGURE_ENV+= ac_cv_header_libintl_h=no PLIST_SUB+= NLS="@comment " .endif post-patch: .if ! ${PORT_OPTIONS:MNLS} @${REINPLACE_CMD} -e 's|@USE_NLS@|no|g' ${WRKSRC}/po/Makefile.in.in .endif post-install: .if ${PORT_OPTIONS:MNLS} ${MKDIR} -m 0755 ${EXAMPLESDIR} @${RM} -f ${EX_WRKSRC}/Makefile.unix ${EX_WRKSRC}/ChangeLog \ ${EX_WRKSRC}/CMakeLists.txt cd ${EX_WRKSRC} && ${PAX} -rw * ${EXAMPLESDIR} .endif .include diff --git a/print/pstotext/Makefile b/print/pstotext/Makefile index 9a0837215826..f5a457f6c4af 100644 --- a/print/pstotext/Makefile +++ b/print/pstotext/Makefile @@ -1,37 +1,38 @@ # Created by: Oliver Breuninger # $FreeBSD$ PORTNAME= pstotext PORTVERSION= 1.9 PORTREVISION= 3 CATEGORIES= print MASTER_SITES= http://ftp.gwdg.de/pub/%SUBDIR%/ \ http://ftp.sunet.se/pub/text-processing/postscript/interpreters/%SUBDIR%/ \ http://gd.tuwien.ac.at/pub/publishing/%SUBDIR%/ \ http://fossies.org/unix/misc/ MASTER_SITE_SUBDIR= ghostscript/contrib MAINTAINER= ports@FreeBSD.org COMMENT= PostScript to Text converter USE_GHOSTSCRIPT_RUN= yes MAN1= pstotext.1 PLIST_FILES= bin/pstotext PORTDOCS= copyright +NO_STAGE= yes .include post-patch: ${REINPLACE_CMD} -e 's;%%LOCALBASE%%;${LOCALBASE};g' ${WRKSRC}/main.c ${REINPLACE_CMD} -e 's;%%PREFIX%%;${PREFIX};g' ${WRKSRC}/pstotext.1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pstotext ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pstotext.1 ${MAN1PREFIX}/man/man1 .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/pstotext.txt ${DOCSDIR}/copyright .endif .include diff --git a/print/psutils/Makefile b/print/psutils/Makefile index f8dd916f5e54..6a29afb69151 100644 --- a/print/psutils/Makefile +++ b/print/psutils/Makefile @@ -1,31 +1,32 @@ # Created by: Jean-Marc Zucconi and David O'Brien # $FreeBSD$ PORTNAME= psutils PORTVERSION= 1.17 PORTREVISION= 3 CATEGORIES= print MASTER_SITES= ftp://ftp.dcs.ed.ac.uk/pub/ajcd/ \ ftp://ftp.knackered.org/pub/psutils/ \ ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= support/psutils DISTNAME= psutils-p17 MAINTAINER= hrs@FreeBSD.org COMMENT= Utilities for manipulating PostScript documents LIB_DEPENDS= paper:${PORTSDIR}/print/libpaper USES= perl5 USE_PERL5= build WRKSRC= ${WRKDIR}/${PORTNAME} MAKEFILE= Makefile.unix MAKE_ENV+= DATADIR="${DATADIR}" PERL="${PERL5}" CHMOD="${CHMOD}" MAN1= psbook.1 psselect.1 pstops.1 epsffit.1 psnup.1 psresize.1 \ getafm.1 fixdlsrps.1 fixfmps.1 fixmacps.1 fixpsditps.1 \ fixpspps.1 fixtpps.1 fixwfwps.1 fixwpps.1 fixwwps.1 \ extractres.1 includeres.1 fixscribeps.1 psmerge.1 SCRIPTS_ENV+= PERL5=${PERL5} CC=${CC} DATADIR=${DATADIR} \ MANPREFIX=${MANPREFIX} PAPER=dummy +NO_STAGE= yes .include diff --git a/print/pup/Makefile b/print/pup/Makefile index 1da37c9f0255..81691c45edec 100644 --- a/print/pup/Makefile +++ b/print/pup/Makefile @@ -1,35 +1,32 @@ -# New ports collection makefile for: pup Printer Utility Program -# Date created: 7 Nob 2002 -# Whom: Klaus Goger -# +# Created by: Klaus Goger # $FreeBSD$ -# PORTNAME= pup PORTVERSION= 1.1 PORTREVISION= 4 CATEGORIES= print #MASTER_SITES= http://download.sourceforge.net/pup/ MASTER_SITES= SF DISTNAME= ${PORTNAME}_${PORTVERSION}_src MAINTAINER= ports@FreeBSD.org COMMENT= A GTK+ printer setup and maintaining tool PLIST_FILES= bin/pup USE_GNOME= gtk12 WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}/ +NO_STAGE= yes post-patch: @echo ${WRKSRC} @${REINPLACE_CMD} -e 's|gtk-config|${GTK_CONFIG}|g' ${WRKSRC}/Makefile .for file in lexgui.c build_choices.c proutines.c @${REINPLACE_CMD} -e 's|||g' ${WRKSRC}/${file} .endfor do-install: @${INSTALL_PROGRAM} ${WRKSRC}/pup ${PREFIX}/bin/ .include diff --git a/print/py-cups/Makefile b/print/py-cups/Makefile index 33c98c319ee6..2229c6902314 100644 --- a/print/py-cups/Makefile +++ b/print/py-cups/Makefile @@ -1,38 +1,39 @@ # Created by: Michael Johnson # $FreeBSD$ PORTNAME= cups PORTVERSION= 1.9.63 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= py${PORTNAME}-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= CUPS bindings for Python LIB_DEPENDS= cups:${PORTSDIR}/print/cups-client CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_BZIP2= yes USES= iconv USE_PYDISTUTILS=yes USE_PYTHON= -2.7 PLIST_FILES= %%PYTHON_SITELIBDIR%%/cups.so PYDISTUTILS_EGGINFO= py${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg-info +NO_STAGE= yes .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 .include diff --git a/print/py-fonttools/Makefile b/print/py-fonttools/Makefile index 94b77ccbba2c..821ae159cedb 100644 --- a/print/py-fonttools/Makefile +++ b/print/py-fonttools/Makefile @@ -1,39 +1,40 @@ # Created by: Joseph Koshy # $FreeBSD$ PORTNAME= fonttools PORTVERSION= 2.4 CATEGORIES= print python MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Open source library for manipulating fonts, written in Python BUILD_DEPENDS= ${PYNUMPY} ${PYXML} RUN_DEPENDS= ${PYNUMPY} ${PYXML} OPTIONS_DEFINE= DOCS USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_EGGINFODIR= ${PYTHON_SITELIBDIR}/FontTools MAN1= ttx.1 DOCSDIR= ${PREFIX}/share/doc/py-fonttools +NO_STAGE= yes .include post-patch: @${REINPLACE_CMD} -e 's|share/man/man1|man/man1|g' ${WRKSRC}/setup.py post-install: .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Doc/ChangeLog ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Doc/*.html ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Doc/*.txt ${DOCSDIR} .endif .include diff --git a/print/py-pdf/Makefile b/print/py-pdf/Makefile index b23c50725f97..e2c51bf6ec7b 100644 --- a/print/py-pdf/Makefile +++ b/print/py-pdf/Makefile @@ -1,22 +1,19 @@ -# New ports collection makefile for: py-pdf -# Date created: 2007-10-04 16:46:22 -# Whom: Stefan Esser -# +# Created by: Stefan Esser # $FreeBSD$ -# PORTNAME= pdf PORTVERSION= 1.13 CATEGORIES= print python MASTER_SITES= http://pybrary.net/pyPdf/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pyPdf-${PORTVERSION} MAINTAINER= jlaffaye@FreeBSD.org COMMENT= Pure-Python PDF toolkit USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= pyPdf +NO_STAGE= yes .include diff --git a/print/py-pollyreports/Makefile b/print/py-pollyreports/Makefile index 8c7a48cba2ba..709458f1ad21 100644 --- a/print/py-pollyreports/Makefile +++ b/print/py-pollyreports/Makefile @@ -1,32 +1,33 @@ # Created by: Jose Jachuf # $FreeBSD$ PORTNAME= PollyReports PORTVERSION= 1.7.2 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= jjachuf@gmail.com COMMENT= Band-oriented PDF report generation from database query LICENSE= BSD USE_PYTHON= -2.7 USE_PYDISTUTILS=yes PLIST_FILES= %%PYTHON_SITELIBDIR%%/PollyReports.py \ %%PYTHON_SITELIBDIR%%/PollyReports.pyc \ %%PYTHON_SITELIBDIR%%/PollyReports.pyo OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}/options OPTIONS_DEFINE= REPORTLAB REPORTLAB_DESC= Install Reportlab2 +NO_STAGE= yes .include .if ${PORT_OPTIONS:MREPORTLAB} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}reportlab2>=2.1:${PORTSDIR}/print/py-reportlab2 .endif .include diff --git a/print/py-pyscript/Makefile b/print/py-pyscript/Makefile index c4d920673d54..71abce2733df 100644 --- a/print/py-pyscript/Makefile +++ b/print/py-pyscript/Makefile @@ -1,45 +1,42 @@ -# New ports collection makefile for: py-script -# Date created: 2006-04-28 -# Whom: Nicola Vitale -# +# Created by: Nicola Vitale # $FreeBSD$ -# PORTNAME= pyscript PORTVERSION= 0.6.1 PORTREVISION= 5 CATEGORIES= print graphics python MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= Python module for producing high quality PostScript graphics USE_PYTHON= yes USE_PYDISTUTILS= yes USE_TEX= latex dvipsk DATADIR= ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME} PYSCRIPT_EXAMPLES= doc/examples/*.py PYSCRIPT_MANUAL= doc/manual/pyscript.pdf .if defined(WITHOUT_EXAMPLES) PLIST_SUB= PORTEXAMPLES="@comment " .else PLIST_SUB= PORTEXAMPLES="" .endif +NO_STAGE= yes post-install: .if !defined(WITHOUT_EXAMPLES) ${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/${PYSCRIPT_EXAMPLES} ${EXAMPLESDIR} .endif .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PYSCRIPT_MANUAL} ${DOCSDIR} .endif .include diff --git a/print/py-relatorio/Makefile b/print/py-relatorio/Makefile index 846e516dcb23..6b93e838a9f7 100644 --- a/print/py-relatorio/Makefile +++ b/print/py-relatorio/Makefile @@ -1,21 +1,22 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= relatorio PORTVERSION= 0.6.0 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Templating library able to output odt and pdf files BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Genshi>=0.5:${PORTSDIR}/textproc/py-genshi \ ${PYTHON_PKGNAMEPREFIX}lxml>=2.2:${PORTSDIR}/devel/py-lxml RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycha>=0.5.0:${PORTSDIR}/graphics/py-pycha \ ${PYTHON_PKGNAMEPREFIX}yaml>=3.07:${PORTSDIR}/devel/py-yaml USE_PYTHON= yes USE_PYDISTUTILS= easy_install +NO_STAGE= yes .include diff --git a/print/py-reportlab/Makefile b/print/py-reportlab/Makefile index a57ce0891895..735eabcc1aa5 100644 --- a/print/py-reportlab/Makefile +++ b/print/py-reportlab/Makefile @@ -1,52 +1,49 @@ -# New ports collection makefile for: reportlab -# Date created: 17 August 2000 -# Whom: Thomas Gellekum -# +# Created by: Thomas Gellekum # $FreeBSD$ -# PORTNAME= reportlab PORTVERSION= 1.21.2 PORTREVISION= 3 CATEGORIES= print python MASTER_SITES= http://www.reportlab.com/ftp/ \ ${MASTER_SITE_LOCAL:S/$/:accel/} \ http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/:accel MASTER_SITE_SUBDIR= erwin/:accel PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= reportlab-${PORTVERSION}.tar.gz \ rl_accel-3004.tgz:accel MAINTAINER= 5u623l20@gmail.com COMMENT= Library to create PDF documents using the Python language PORTSCOUT= ignore:1 # Last version of 1.X branch USE_PYTHON= 2.5+ USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= Reportlab WRKSRC= ${WRKDIR}/reportlab_${PORTVERSION:S/./_/g}/reportlab MAKE_ENV= PACKAGE_PATH="${REPORTLABDIR}" REPORTLABDIR= ${PYTHONPREFIX_SITELIBDIR}/reportlab DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} DOCS= RML_UserGuide.pdf RML_UserGuide_1_0.pdf diagradoc.pdf graphguide.pdf \ graphics_reference.pdf reference.pdf userguide.pdf +NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/rl_config.py @${REINPLACE_CMD} -e 's#with#with26#g' ${WRKSRC}/lib/PyFontify.py .include post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} .for i in ${DOCS} ${CP} ${WRKSRC}/docs/${i} ${DOCSDIR} .endfor .endif @${CAT} ${PKGMESSAGE} .include diff --git a/print/py-reportlab2/Makefile b/print/py-reportlab2/Makefile index 178fa0671dd8..43a64ecf5946 100644 --- a/print/py-reportlab2/Makefile +++ b/print/py-reportlab2/Makefile @@ -1,68 +1,69 @@ # Created by: Li-Wen Hsu # $FreeBSD$ PORTNAME= reportlab2 PORTVERSION= 2.5 CATEGORIES= print python MASTER_SITES= http://www.reportlab.com/ftp/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= reportlab-${PORTVERSION}${EXTRACT_SUFX} pfbfer-${PFBFER_VERSION}.zip EXTRACT_ONLY= reportlab-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= buganini@gmail.com COMMENT= Library to create PDF documents using the Python language LICENSE= BSD RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging OPTIONS_DEFINE= CJK FREETYPE DOCS OPTIONS_DEFAULT= CJK FREETYPE CJK_DESC= Adobe CMaps WRKSRC= ${WRKDIR}/reportlab-${PORTVERSION} CONFLICTS= py2[0-9]-reportlab-[0-9]* PFBFER_VERSION= 20070710 USE_PYTHON= 2.5+ USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= reportlab MAKE_ENV= PACKAGE_PATH="${REPORTLABDIR}" REPORTLABDIR= ${PYTHONPREFIX_SITELIBDIR}/reportlab DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} DOCS= reportlab-graphics-reference.pdf \ reportlab-reference.pdf \ reportlab-userguide.pdf +NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|/usr/ports/distfiles|${DISTDIR}|g' ${WRKSRC}/setup.py @${REINPLACE_CMD} -e 's|pfbfer.zip|pfbfer-${PFBFER_VERSION}.zip|g' ${WRKSRC}/setup.py .include .if ${ARCH} == "sparc64" BROKEN= Does not install on sparc64 .endif .if ${PORT_OPTIONS:MCJK} RUN_DEPENDS+= ${LOCALBASE}/share/fonts/adobe-cmaps/ac15/cid2code.txt:${PORTSDIR}/print/adobe-cmaps .endif .if ${PORT_OPTIONS:MFREETYPE} LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 .endif post-install: .if ${PORT_OPTIONS:MDOCS} @cd ${WRKSRC}/docs && ${PYTHON_CMD} genAll.py ${MKDIR} ${DOCSDIR} .for i in ${DOCS} ${CP} ${WRKSRC}/docs/${i} ${DOCSDIR} .endfor .endif .include diff --git a/print/py-rtf/Makefile b/print/py-rtf/Makefile index 77a3681eb557..eed3b8be6d52 100644 --- a/print/py-rtf/Makefile +++ b/print/py-rtf/Makefile @@ -1,28 +1,25 @@ -# New ports collection makefile for: PyRTF -# Date created: 09 May 2005 -# Whom: Thomas Gellekum -# +# Created by: Thomas Gellekum # $FreeBSD$ -# 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 USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= PyRTF EXAMPLESDIR= ${PREFIX}/share/examples/py-rtf +NO_STAGE= yes post-install: @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} .include diff --git a/print/py-trml2pdf/Makefile b/print/py-trml2pdf/Makefile index 20f4a83b538d..e084f5811011 100644 --- a/print/py-trml2pdf/Makefile +++ b/print/py-trml2pdf/Makefile @@ -1,44 +1,41 @@ -# New ports collection makefile for: py-trml2pdf -# Date created: 22 November 2009 -# Whom: Kevin Golding -# +# Created by: Kevin Golding # $FreeBSD$ -# PORTNAME= trml2pdf PORTVERSION= 1.2 PORTREVISION= 1 CATEGORIES= print python MASTER_SITES= SF/kraft/${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@caomhin.org COMMENT= Tiny RML2PDF easily creates PDF documents. RUN_DEPENDS= ${LOCALBASE}/bin/pildriver.py:${PORTSDIR}/graphics/py-imaging \ ${PYTHON_SITELIBDIR}/reportlab/__init__.py:${PORTSDIR}/print/py-reportlab NO_BUILD= yes USE_BZIP2= yes USE_PYTHON= yes DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} +NO_STAGE= yes do-install: @${MKDIR} ${PYTHON_SITELIBDIR}/trml2pdf @${INSTALL_SCRIPT} ${WRKSRC}/trml2pdf/* ${PYTHON_SITELIBDIR}/trml2pdf post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR} .endif .if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} ${CP} -R ${WRKSRC}/rmls/ ${EXAMPLESDIR}/rmls .endif .include diff --git a/print/qpdf/Makefile b/print/qpdf/Makefile index b384cf7a028e..3a89bcf78e20 100644 --- a/print/qpdf/Makefile +++ b/print/qpdf/Makefile @@ -1,29 +1,30 @@ # Created by: Dmitry Kazarov # $FreeBSD$ PORTNAME= qpdf PORTVERSION= 4.0.1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTVERSION} MAINTAINER= d.y.kazarov@mail.ru COMMENT= Command-line tools for transforming and inspecting PDF files LICENSE= ART20 BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre GNU_CONFIGURE= yes USE_LDCONFIG= yes USES= gmake MAN1= fix-qdf.1 qpdf.1 zlib-flate.1 +NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \ -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \ ${WRKSRC}/make/libtool.mk .include diff --git a/print/qpdfview/Makefile b/print/qpdfview/Makefile index 241fdc7d0d0f..a2d03546bf74 100644 --- a/print/qpdfview/Makefile +++ b/print/qpdfview/Makefile @@ -1,64 +1,65 @@ # Created by: Veniamin Gvozdikov # $FreeBSD$ PORTNAME= qpdfview PORTVERSION= 0.4.3 CATEGORIES= print MASTER_SITES= https://launchpadlibrarian.net/140746246/ MAINTAINER= vg@FreeBSD.org COMMENT= Tabbed PDF viewer using the poppler library LICENSE= GPLv2 LIB_DEPENDS= poppler-qt4:${PORTSDIR}/graphics/poppler-qt4 \ cups:${PORTSDIR}/print/cups-client USES= pkgconfig USE_QT4= corelib dbus gui imageformats linguist_build moc_build \ qmake_build rcc_build sql sql-sqlite3_run svg xml QMAKEFLAGS+= QMAKE_CFLAGS_RELEASE="" QMAKE_CXXFLAGS_RELEASE="" DATADIR= ${PREFIX}/share/${PORTNAME} MAN1= ${PORTNAME}.1 OPTIONS_DEFINE= DJVU PDF PS DJVU_DESC= DjVu support PS_DESC= PostScript support OPTIONS_DEFAULT= PDF +NO_STAGE= yes .include .if ${PORT_OPTIONS:MDJVU} PLIST_SUB+= DJVU="" LIB_DEPENDS+= djvulibre:${PORTSDIR}/graphics/djvulibre .else QMAKEFLAGS+= "CONFIG+=without_djvu" PLIST_SUB+= DJVU="@comment " .endif .if ${PORT_OPTIONS:MPDF} PLIST_SUB+= PDF="" .else QMAKEFLAGS+= "CONFIG+=without_pdf" PLIST_SUB+= PDF="@comment " .endif .if ${PORT_OPTIONS:MPS} PLIST_SUB+= PS="" LIB_DEPENDS+= spectre:${PORTSDIR}/print/libspectre .else QMAKEFLAGS+= "CONFIG+=without_ps" PLIST_SUB+= PS="@comment " .endif pre-configure: ${REINPLACE_CMD} -e 's#/usr#${PREFIX}#g;s#${PREFIX}/share/man#${PREFIX}/man#g' \ ${WRKSRC}/${PORTNAME}.pri do-configure: cd ${WRKSRC} && lrelease-qt4 ${PORTNAME}.pro cd ${WRKSRC} && ${QMAKE} ${QMAKEFLAGS} ${PORTNAME}.pro .include diff --git a/print/rlpr/Makefile b/print/rlpr/Makefile index a2fe8ef0a368..395b38ac5aea 100644 --- a/print/rlpr/Makefile +++ b/print/rlpr/Makefile @@ -1,41 +1,42 @@ # Created by: Mikhail Teterin # $FreeBSD$ 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 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 +NO_STAGE= yes # 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 ${PREFIX}/bin/rlpq ${PREFIX}/bin/rlpr ${PREFIX}/bin/rlprm MAN1= rlpr.1 rlpq.1 rlprm.1 MAN5= rlprrc.5 MAN8= rlprd.8 .include diff --git a/print/rprint/Makefile b/print/rprint/Makefile index b256685cc26d..c3c09ce33d8d 100644 --- a/print/rprint/Makefile +++ b/print/rprint/Makefile @@ -1,24 +1,21 @@ -# New ports collection makefile for: rprint -# Date created: June 19th, 2001 -# Whom: Konrad Heuer -# +# Created by: Konrad Heuer # $FreeBSD$ -# PORTNAME= rprint PORTVERSION= 3.2 CATEGORIES= print MASTER_SITES= ftp://gwdu111.gwdg.de/pub/FreeBSD/misc/ \ ftp://gwdu112.gwdg.de/pub/FreeBSD/misc/ MAINTAINER= kheuer@gwdu60.gwdg.de COMMENT= Remote printing utility using a raw bidirectional tcp connection MAN1= rprint.1 MANCOMPRESSED= yes PLIST_FILES= bin/rprint +NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e "s/^(CC|CFLAGS).+//g" ${WRKSRC}/Makefile .include diff --git a/print/rtf2latex/Makefile b/print/rtf2latex/Makefile index f7dffe44eff4..1f1a61208661 100644 --- a/print/rtf2latex/Makefile +++ b/print/rtf2latex/Makefile @@ -1,25 +1,22 @@ -# New ports collection makefile for: rtf2LaTeX -# Date created: 25 Jan 1995 -# Whom: Thomas Gellekum -# +# Created by: Thomas Gellekum # $FreeBSD$ -# PORTNAME= rtf2latex PORTVERSION= 1.5 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= support/rtf2latex DISTNAME= rtf2LaTeX.${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= A filter that converts RTF (MS Rich Text Format) into LaTeX WRKSRC= ${WRKDIR}/rtf2LaTeX MAN1= rtf2LaTeX.1 +NO_STAGE= yes post-extract: ${CP} ${FILESDIR}/Makefile ${WRKSRC} .include diff --git a/print/rtf2latex2e/Makefile b/print/rtf2latex2e/Makefile index 42b6212b5bf3..1e1a29860ebc 100644 --- a/print/rtf2latex2e/Makefile +++ b/print/rtf2latex2e/Makefile @@ -1,22 +1,19 @@ -# New ports collection makefile for: rtf2latex2e -# Date created: 13 Oct 2008 -# Whom: Martin Dieringer -# +# Created by: Martin Dieringer # $FreeBSD$ -# PORTNAME= rtf2latex2e PORTVERSION= 2.0.1 CATEGORIES= print MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-unix/2-0 DISTNAME= ${PORTNAME}-${PORTVERSION:C|\.|-|g} MAINTAINER= martin.dieringer@gmx.de COMMENT= A newer filter that converts RTF (MS Rich Text Format) into LaTeX LICENSE= GPLv2 USE_ZIP= yes USE_GMAKE= yes +NO_STAGE= yes .include diff --git a/print/ruby-panda/Makefile b/print/ruby-panda/Makefile index 37baf1de3cb4..246f0b9de8c9 100644 --- a/print/ruby-panda/Makefile +++ b/print/ruby-panda/Makefile @@ -1,53 +1,50 @@ -# New ports collection makefile for: Ruby/Panda -# Date created: 28 March 2001 -# Whom: Akinori MUSHA aka knu -# +# Created by: Akinori MUSHA aka knu # $FreeBSD$ -# PORTNAME= panda PORTVERSION= 0.0.7 PORTREVISION= 5 CATEGORIES= print ruby MASTER_SITES= http://www2s.biglobe.ne.jp/~Nori/ruby/dist/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= ruby-${PORTNAME}-${PORTVERSION} DIST_SUBDIR= ruby MAINTAINER= ruby@FreeBSD.org COMMENT= A Ruby extension library to access Panda LIB_DEPENDS= panda.0:${PORTSDIR}/print/panda \ jpeg.11:${PORTSDIR}/graphics/jpeg \ png15:${PORTSDIR}/graphics/png \ tiff.4:${PORTSDIR}/graphics/tiff USE_RUBY= yes USE_RUBY_EXTCONF= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} INSTALL_TARGET= site-install DOCS_EN= README \ doc/ref_en.html doc/ref_en.rd DOCS_JA= ChangeLog.ja README.ja TODO.ja \ doc/ref_ja.html doc/ref_ja.rd EXAMPLES_EN= circles.rb main.rb morecircles.rb template.rb +NO_STAGE= yes post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODEXAMPLESDIR} .for f in ${EXAMPLES_EN} ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${RUBY_MODEXAMPLESDIR}/ .endfor cd ${RUBY_EXAMPLESDIR}/${PORTNAME}; ${LN} -sf ../../panda/*.jpg ../../panda/*.png ../../panda/*.tif . ${MKDIR} ${RUBY_MODDOCDIR}/ja .for f in ${DOCS_EN} ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ .endfor .for f in ${DOCS_JA} ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/ .endfor .endif .include diff --git a/print/rubygem-afm/Makefile b/print/rubygem-afm/Makefile index 099c47d73fda..6c9b825fee43 100644 --- a/print/rubygem-afm/Makefile +++ b/print/rubygem-afm/Makefile @@ -1,16 +1,17 @@ # Created by: Steve Wills # $FreeBSD$ PORTNAME= afm PORTVERSION= 0.2.0 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Read AFM files and use the data conveniently USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes +NO_STAGE= yes .include diff --git a/print/rubygem-color/Makefile b/print/rubygem-color/Makefile index dabaffcfc3a7..f671677cc4b7 100644 --- a/print/rubygem-color/Makefile +++ b/print/rubygem-color/Makefile @@ -1,18 +1,19 @@ # $FreeBSD$ PORTNAME= color PORTVERSION= 1.4.2 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Provides colour space definition and manipulation RUN_DEPENDS= rubygem-archive-tar-minitar>=0.5.1:${PORTSDIR}/archivers/rubygem-archive-tar-minitar \ rubygem-hoe>=1.3.0:${PORTSDIR}/devel/rubygem-hoe USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes +NO_STAGE= yes .include diff --git a/print/rubygem-colortools/Makefile b/print/rubygem-colortools/Makefile index 436d78dbaeb4..6b15826c25d2 100644 --- a/print/rubygem-colortools/Makefile +++ b/print/rubygem-colortools/Makefile @@ -1,17 +1,18 @@ # $FreeBSD$ PORTNAME= colortools PORTVERSION= 1.3.0 CATEGORIES= print rubygems MASTER_SITES= RG DISTNAME= color-tools-${PORTVERSION} MAINTAINER= ruby@FreeBSD.org COMMENT= Provides colour space definition and manipulation USE_RUBY= yes USE_RUBYGEMS= yes GEM_NAME= ${DISTNAME} RUBYGEM_AUTOPLIST= yes +NO_STAGE= yes .include diff --git a/print/rubygem-pdf-reader/Makefile b/print/rubygem-pdf-reader/Makefile index 0018902ae6f6..b428cab5be4d 100644 --- a/print/rubygem-pdf-reader/Makefile +++ b/print/rubygem-pdf-reader/Makefile @@ -1,23 +1,24 @@ # Created by: Steve Wills # $FreeBSD$ PORTNAME= pdf-reader PORTVERSION= 1.3.3 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= A PDF parser conforming as much as possible to the PDF specification RUN_DEPENDS= rubygem-afm>=0.2.0:${PORTSDIR}/print/rubygem-afm \ rubygem-ascii85>=1.0.0:${PORTSDIR}/devel/rubygem-ascii85 \ rubygem-hashery>=2.0:${PORTSDIR}/devel/rubygem-hashery \ rubygem-rc4>=0:${PORTSDIR}/security/rubygem-rc4 \ rubygem-ttfunk>=0:${PORTSDIR}/print/rubygem-ttfunk USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes PLIST_FILES+= bin/pdf_callbacks bin/pdf_list_callbacks bin/pdf_object bin/pdf_text +NO_STAGE= yes .include diff --git a/print/rubygem-pdfwriter/Makefile b/print/rubygem-pdfwriter/Makefile index 7ad91f268fc1..65a05cee02c6 100644 --- a/print/rubygem-pdfwriter/Makefile +++ b/print/rubygem-pdfwriter/Makefile @@ -1,22 +1,23 @@ # $FreeBSD$ PORTNAME= pdfwriter PORTVERSION= 1.1.8 CATEGORIES= print rubygems MASTER_SITES= RG DISTNAME= pdf-writer-${PORTVERSION} MAINTAINER= ruby@FreeBSD.org COMMENT= A pure Ruby PDF document creation library RUN_DEPENDS= rubygem-color>=1.4.0:${PORTSDIR}/print/rubygem-color \ rubygem-transactionsimple>=1.4.0:${PORTSDIR}/devel/rubygem-transactionsimple GEM_NAME= ${DISTNAME} USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes PLIST_FILES= bin/techbook +NO_STAGE= yes .include diff --git a/print/rubygem-prawn-core/Makefile b/print/rubygem-prawn-core/Makefile index f4cd04a64b88..f26e8abbfbda 100644 --- a/print/rubygem-prawn-core/Makefile +++ b/print/rubygem-prawn-core/Makefile @@ -1,19 +1,17 @@ -# Ports collection makefile for: rubygem-prawn-core -# Date created: 19 June, 2009 -# Whom: Wen Heping -# +# Created by: Wen Heping # $FreeBSD$ PORTNAME= prawn-core PORTVERSION= 0.8.4 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Core of Rubygem-prawn USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes +NO_STAGE= yes .include diff --git a/print/rubygem-prawn-flexible-table/Makefile b/print/rubygem-prawn-flexible-table/Makefile index dc829253a47a..badee96d1bc5 100644 --- a/print/rubygem-prawn-flexible-table/Makefile +++ b/print/rubygem-prawn-flexible-table/Makefile @@ -1,21 +1,18 @@ -# Ports collection makefile for: rubygem-prawn-flexible-table -# Date created: December 16, 2010 -# Whom: Philip M. Gollucci -# # $FreeBSD$ PORTNAME= prawn-flexible-table PORTVERSION= 0.1.2 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Create tables with *span attributes for each cell with Prawn RUN_DEPENDS= rubygem-prawn>=0:${PORTSDIR}/print/rubygem-prawn USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes +NO_STAGE= yes .include diff --git a/print/rubygem-prawn-format/Makefile b/print/rubygem-prawn-format/Makefile index 5856dadab48e..b3590470f8b9 100644 --- a/print/rubygem-prawn-format/Makefile +++ b/print/rubygem-prawn-format/Makefile @@ -1,21 +1,19 @@ -# Ports collection makefile for: rubygem-prawn-format -# Date created: 19 June, 2009 -# Whom: Wen Heping -# +# Created by: Wen Heping # $FreeBSD$ PORTNAME= prawn-format PORTVERSION= 0.2.3 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= An extension of Prawn that allows inline formatting RUN_DEPENDS= rubygem-prawn-core>=0:${PORTSDIR}/print/rubygem-prawn-core USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes +NO_STAGE= yes .include diff --git a/print/rubygem-prawn-graph/Makefile b/print/rubygem-prawn-graph/Makefile index 6d7c25b00213..8c280ece5a56 100644 --- a/print/rubygem-prawn-graph/Makefile +++ b/print/rubygem-prawn-graph/Makefile @@ -1,21 +1,19 @@ -# Ports collection makefile for: rubygem-prawn-graph -# Date created: December 16, 2010 -# Whom: Philip M. Gollucci -# +# Created by: Philip M. Gollucci # $FreeBSD$ PORTNAME= prawn-graph PORTVERSION= 0.0.4 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Draw basic graphs and charts natively in your PDFs RUN_DEPENDS= rubygem-prawn>=0:${PORTSDIR}/print/rubygem-prawn USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes +NO_STAGE= yes .include diff --git a/print/rubygem-prawn-js/Makefile b/print/rubygem-prawn-js/Makefile index d0e20846c6a2..b9d8913268c8 100644 --- a/print/rubygem-prawn-js/Makefile +++ b/print/rubygem-prawn-js/Makefile @@ -1,21 +1,18 @@ -# Ports collection makefile for: rubygem-prawn-js -# Date created: December 16, 2010 -# Whom: Philip M. Gollucci -# # $FreeBSD$ PORTNAME= prawn-js PORTVERSION= 0.7.1 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Simplifies embedding JavaScript in your PDF files RUN_DEPENDS= rubygem-prawn-core>=0.6.1:${PORTSDIR}/print/rubygem-prawn-core USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes +NO_STAGE= yes .include diff --git a/print/rubygem-prawn-layout/Makefile b/print/rubygem-prawn-layout/Makefile index 0cee76ed9c3b..dd490f0d4f2b 100644 --- a/print/rubygem-prawn-layout/Makefile +++ b/print/rubygem-prawn-layout/Makefile @@ -1,19 +1,17 @@ -# Ports collection makefile for: rubygem-prawn-layout -# Date created: 21 Jan 2009 -# Whom: wenheping@gmail.com -# +# Created by: wenheping@gmail.com # $FreeBSD$ PORTNAME= prawn-layout PORTVERSION= 0.8.4 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= An Prawn Extension to Provides Table Support and Other Layout USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes +NO_STAGE= yes .include diff --git a/print/rubygem-prawn-security/Makefile b/print/rubygem-prawn-security/Makefile index 0916c86e9c9f..8ce30f55580a 100644 --- a/print/rubygem-prawn-security/Makefile +++ b/print/rubygem-prawn-security/Makefile @@ -1,19 +1,17 @@ -# Ports collection makefile for: rubygem-prawn-security -# Date created: 12 Nov, 2009 -# Whom: Wen Heping -# +# Created by: Wen Heping # $FreeBSD$ PORTNAME= prawn-security PORTVERSION= 0.8.4 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= An extension of Prawn USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes +NO_STAGE= yes .include diff --git a/print/rubygem-prawn-svg/Makefile b/print/rubygem-prawn-svg/Makefile index 02fc4b0c8d04..ee971d52a953 100644 --- a/print/rubygem-prawn-svg/Makefile +++ b/print/rubygem-prawn-svg/Makefile @@ -1,18 +1,18 @@ -# Created by: Philip M. Gollucci # $FreeBSD$ PORTNAME= prawn-svg PORTVERSION= 0.12.0.4 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= SVG renderer for Prawn PDF library RUN_DEPENDS= rubygem-prawn>=0.8.4:${PORTSDIR}/print/rubygem-prawn USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes +NO_STAGE= yes .include diff --git a/print/rubygem-prawn/Makefile b/print/rubygem-prawn/Makefile index deba41ca88f9..c018844f240a 100644 --- a/print/rubygem-prawn/Makefile +++ b/print/rubygem-prawn/Makefile @@ -1,19 +1,20 @@ # Created by: wenheping@gmail.com # $FreeBSD$ PORTNAME= prawn PORTVERSION= 0.12.0 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Fast pure Ruby PDF generator RUN_DEPENDS= rubygem-pdf-reader>=0.9.0:${PORTSDIR}/print/rubygem-pdf-reader \ rubygem-ttfunk>=1.0.2:${PORTSDIR}/print/rubygem-ttfunk USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes +NO_STAGE= yes .include diff --git a/print/rubygem-ttfunk/Makefile b/print/rubygem-ttfunk/Makefile index 71067200074f..8c83db39b836 100644 --- a/print/rubygem-ttfunk/Makefile +++ b/print/rubygem-ttfunk/Makefile @@ -1,16 +1,17 @@ # Created by: Steve Wills # $FreeBSD$ PORTNAME= ttfunk PORTVERSION= 1.0.3 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Font Metrics Parser for Prawn USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes +NO_STAGE= yes .include diff --git a/print/scribus-devel/Makefile b/print/scribus-devel/Makefile index 291ae4e6c0e4..f0d00b529f66 100644 --- a/print/scribus-devel/Makefile +++ b/print/scribus-devel/Makefile @@ -1,73 +1,74 @@ # Created by: lbartoletti # $FreeBSD$ PORTNAME= scribus PORTVERSION= 1.5.0 PORTREVISION= 5 CATEGORIES= print editors MASTER_SITES= http://download.tuxfamily.org/bartcoding/FreeBSD/ \ ${MASTER_SITE_LOCAL} DISTNAME= ${PORTNAME}-${PORTVERSION}-${SVN_REV} MAINTAINER= coder@tuxfamily.org COMMENT= Comprehensive desktop publishing program LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ lcms:${PORTSDIR}/graphics/lcms \ png15:${PORTSDIR}/graphics/png \ tiff:${PORTSDIR}/graphics/tiff \ cups:${PORTSDIR}/print/cups-base \ freetype:${PORTSDIR}/print/freetype2 \ fontconfig:${PORTSDIR}/x11-fonts/fontconfig \ podofo:${PORTSDIR}/graphics/podofo \ boost_thread:${PORTSDIR}/devel/boost-libs \ aspell:${PORTSDIR}/textproc/aspell \ cairo:${PORTSDIR}/graphics/cairo \ execinfo:${PORTSDIR}/devel/libexecinfo \ poppler:${PORTSDIR}/graphics/poppler \ osg:${PORTSDIR}/graphics/osg RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter \ ${PYTHON_SITELIBDIR}/PIL/_imaging.so:${PORTSDIR}/graphics/py-imaging \ update-mime-database:${PORTSDIR}/misc/shared-mime-info CONFLICTS= scribus-1.[0-4]* NO_LATEST_LINK= yes USE_BZIP2= yes USE_QT4= gui linguist_build moc_build qmake_build rcc_build uic_build xml network USE_GNOME= desktopfileutils libartlgpl2 libxml2 USE_GHOSTSCRIPT_RUN= yes USE_PYTHON= yes USES= cmake pkgconfig USE_LDCONFIG= yes MAN1= scribus.1 MANLANG= "" de pl MANCOMPRESSED= no FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion SVN_REV= 17820 # svn tip at epoch 2009120801 SVNROOT_URI= svn://scribus.net/trunk/Scribus +NO_STAGE= yes .include post-install: ${LN} ${DATADIR}/icons/scribus.png ${PREFIX}/share/pixmaps/ -update-desktop-database -update-mime-database ${PREFIX}/share/mime # # To roll snapshot: as bart (or other maintainer) : make BOOTSTRAP=defined fetch # .if defined(BOOTSTRAP) do-fetch: ${MKDIR} ${WRKDIR} svn export -r ${SVN_REV} ${SVNROOT_URI} ${WRKSRC} cd ${WRKDIR}; tar cvfy ${DISTDIR}/${DISTNAME}.tar.bz2 ${DISTNAME} .if ${USER} == bart ${CHMOD} ugo+r ${DISTDIR}/${DISTNAME}.tar.bz2 scp -p ${DISTDIR}/${DISTNAME}.tar.bz2 \ freefall.freebsd.org:public_distfiles/ .endif .endif # defined(BOOTSTRAP) .include diff --git a/print/scribus/Makefile b/print/scribus/Makefile index 709003e42a4a..f6dce62e0692 100644 --- a/print/scribus/Makefile +++ b/print/scribus/Makefile @@ -1,46 +1,47 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= scribus PORTVERSION= 1.4.3 CATEGORIES= print editors MASTER_SITES= SF \ http://www.scribus.net/downloads/${PORTVERSION}/ MAINTAINER= bsam@FreeBSD.org COMMENT= Comprehensive desktop publishing program LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ lcms:${PORTSDIR}/graphics/lcms \ png15:${PORTSDIR}/graphics/png \ tiff:${PORTSDIR}/graphics/tiff \ cups:${PORTSDIR}/print/cups-client \ freetype:${PORTSDIR}/print/freetype2 \ podofo:${PORTSDIR}/graphics/podofo \ boost_thread:${PORTSDIR}/devel/boost-libs \ hunspell:${PORTSDIR}/textproc/hunspell \ cairo:${PORTSDIR}/graphics/cairo \ hyphen:${PORTSDIR}/textproc/hyphen \ execinfo:${PORTSDIR}/devel/libexecinfo \ fontconfig:${PORTSDIR}/x11-fonts/fontconfig RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter \ ${PYTHON_SITELIBDIR}/PIL/_imaging.so:${PORTSDIR}/graphics/py-imaging USE_XZ= yes USE_QT4= gui linguist_build moc_build qmake_build rcc_build uic_build xml network USE_GNOME= libartlgpl2 libxml2 USE_GHOSTSCRIPT_RUN= yes USE_PYTHON= yes USES= cmake desktop-file-utils pkgconfig shared-mime-info USE_LDCONFIG= yes CMAKE_ARGS+= -DWANT_HUNSPELL=YES -Wno-ferror-limit MAN1= scribus.1 MANLANG= "" pl de MANCOMPRESSED= no +NO_STAGE= yes post-install: ${LN} ${DATADIR}/icons/scribus.png ${PREFIX}/share/pixmaps/ .include diff --git a/print/sgf2tex/Makefile b/print/sgf2tex/Makefile index baba61fec446..d1d37eb2c491 100644 --- a/print/sgf2tex/Makefile +++ b/print/sgf2tex/Makefile @@ -1,26 +1,23 @@ -# New ports collection makefile for: sgf2tex -# Date created: 24 August 1999 -# Whom: spcoltri@unm.edu -# +# Created by: spcoltri@unm.edu # $FreeBSD$ -# 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 USE_TEX= tex PLIST_SUB= MKTEXLSR=${MKTEXLSR} MAKE_ENV= TEX_BIN=${TEX_BIN} MAN1= sgf2tex.1 sgfsplit.1 TEX_BIN= ${LOCALBASE}/bin/etex MKTEXLSR= ${LOCALBASE}/bin/mktexlsr +NO_STAGE= yes .include diff --git a/print/splix/Makefile b/print/splix/Makefile index a03d40c5b7de..d3d98fecabc0 100644 --- a/print/splix/Makefile +++ b/print/splix/Makefile @@ -1,82 +1,83 @@ # $FreeBSD$ PORTNAME= splix PORTVERSION= 2.0.0 PORTREVISION= 4 CATEGORIES?= print MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= CUPS printer drivers for Samsung Printer Language printers BUILD_DEPENDS= cups-config:${PORTSDIR}/print/cups-base RUN_DEPENDS:= ${BUILD_DEPENDS} USE_GMAKE= yes USE_BZIP2= yes MODELS= DELL SAMSUNG XEROX PPD_DELL= 1100 1110 PPD_SAMSUNG= clp500 clp510 clp550 clp610 \ ml1510 ml1520 ml1610 ml1630 ml1640 ml1710 ml1740 ml1750 \ ml2010 ml2150 ml2250 ml2251 ml2510 ml2550 \ ml3050 ml3560 \ scx4200 scx4500 PPD_XEROX= ph3115 ph3116 ph3117 ph3120 ph3121 ph3122 ph3130 ph3150 \ ph3420 ph3425 ph5500 ph6100 wc3119 ph3160 PPD_SAMSUNG_JBIG= clp200 clp300 clp600 clx216x clx2170 clx3160 PPD_XEROX_JBIG= ph6110 FILTER_FILE= rastertoqpdl pstoqpdl CUPS_CONFIG= ${PREFIX}/bin/cups-config BIN_DEST_DIR= `${CUPS_CONFIG} --serverbin | ${SED} \ 's|${LOCALBASE}|${PREFIX}|'`/filter CUPS_DATA_DIR= `${CUPS_CONFIG} --datadir | ${SED} \ 's|${LOCALBASE}|${PREFIX}|'` DEST_DIR_DELL= ${CUPS_DATA_DIR}/model/dell DEST_DIR_SAMSUNG= ${CUPS_DATA_DIR}/model/samsung DEST_DIR_XEROX= ${CUPS_DATA_DIR}/model/xerox OPTIONS_DEFINE= JBIG BLACKOPTIM JBIG_DESC= Enable use of JBIG algorithm (pattented) BLACKOPTIM_DESC= Enable black correction algorithm OPTIONS_DEFAULT= JBIG BLACKOPTIM +NO_STAGE= yes .include "bsd.port.options.mk" post-patch: @${REINPLACE_CMD} -e '/^CC.*:= gcc/d' -e '/^CXX.*:= g++/d' \ -e 's/make/gmake/' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's/g++/$$(CXX)/' ${WRKSRC}/rules.mk post-configure: .if ${PORT_OPTIONS:MJBIG} PPD_SAMSUNG+= ${PPD_SAMSUNG_JBIG} PPD_XEROX+= ${PPD_XEROX_JBIG} LIB_DEPENDS+= jbig:${PORTSDIR}/graphics/jbigkit .else MAKE_ARGS+= DISABLE_JBIG=1 .endif .if empty(PORT_OPTIONS:MBLACKOPTIM) MAKE_ARGS+= DISABLE_BLACKOPTIM=1 .endif .if defined(CACHESIZE) MAKE_ARGS+= CACHESIZE=${CACHESIZE} .endif do-install: .for MODEL in ${MODELS} ${MKDIR} ${DEST_DIR_${MODEL}} .for PPD in $(PPD_${MODEL}) ${INSTALL_DATA} ${WRKSRC}/ppd/${PPD}.ppd $(DEST_DIR_${MODEL}) .endfor .endfor .for FILTER in ${FILTER_FILE} ${INSTALL_PROGRAM} ${WRKSRC}/optimized/${FILTER} ${BIN_DEST_DIR} .endfor .include diff --git a/print/sv-acroread8/Makefile b/print/sv-acroread8/Makefile index b9ac4b2707b7..aaeb5d1753ad 100644 --- a/print/sv-acroread8/Makefile +++ b/print/sv-acroread8/Makefile @@ -1,15 +1,12 @@ -# New ports collection makefile for: sv-acroread8 -# Date created: 27 December 2007 -# Whom: hrs -# +# Created by: hrs # $FreeBSD$ -# PKGNAMEPREFIX= sv- MASTERDIR= ${.CURDIR}/../../print/acroread8 DISTINFO_FILE= ${.CURDIR}/distinfo ADOBE_LANG= SVE +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/print/system-config-printer/Makefile b/print/system-config-printer/Makefile index 4b301c25914f..86ab797be906 100644 --- a/print/system-config-printer/Makefile +++ b/print/system-config-printer/Makefile @@ -1,52 +1,53 @@ # Created by: Michael Johnson # $FreeBSD$ # $MCom: ports/print/system-config-printer/Makefile,v 1.6 2009/12/29 16:03:58 ahze Exp $ PORTNAME= system-config-printer PORTVERSION= 1.4.2 CATEGORIES= print gnome MASTER_SITES= http://cyberelk.net/tim/data/${PORTNAME}/${PORTVERSION:R}/ MAINTAINER= gnome@FreeBSD.org COMMENT= CUPS configuration Gtk+2.0 GUI BUILD_DEPENDS= xmlto:${PORTSDIR}/textproc/xmlto \ ${LOCALBASE}/share/xml/docbook/4.1.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-sk LIB_DEPENDS= libcups.so:${PORTSDIR}/print/cups-client RUN_DEPENDS= ${PYTHON_SITELIBDIR}/cups.so:${PORTSDIR}/print/py-cups \ ${PYTHON_SITELIBDIR}/pycurl.so:${PORTSDIR}/ftp/py-curl \ ${LOCALBASE}/libexec/cups-pk-helper-mechanism:${PORTSDIR}/print/cups-pk-helper USE_XZ= yes USE_PYTHON= yes GNU_CONFIGURE= yes USES= desktop-file-utils gettext gmake pathfix pkgconfig shebangfix CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_GNOME= intlhack pygobject3 CONFIGURE_ARGS= --without-udev-rules \ --without-systemdsystemunitdir MAN1= system-config-printer-applet.1 \ system-config-printer.1 PLIST_SUB= PYTHON_VER=${PYTHON_VERSION:S/python//} SHEBANG_FILES= *.py troubleshoot/*.py xml/validate.py INSTALLS_EGGINFO= yes PYDISTUTILS_PKGNAME= cupshelpers PYDISTUTILS_PKGVERSION= 1.0 +NO_STAGE= yes 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 \ ${WRKSRC}/newprinter.py ${WRKSRC}/probe_printer.py @${REINPLACE_CMD} -e 's|setup.py install|setup.py install -c -O1|g' \ ${WRKSRC}/Makefile.in .include diff --git a/print/t1utils/Makefile b/print/t1utils/Makefile index 25abf942aff4..f564464cdf03 100644 --- a/print/t1utils/Makefile +++ b/print/t1utils/Makefile @@ -1,20 +1,17 @@ -# New ports collection makefile for: t1utils -# Date created: 2 September 1999 -# Whom: Mike Meyer -# +# Created by: Mike Meyer # $FreeBSD$ -# 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 MAN1= t1ascii.1 t1binary.1 t1asm.1 t1disasm.1 t1unmac.1 t1mac.1 GNU_CONFIGURE= yes +NO_STAGE= yes .include diff --git a/print/teTeX-base/Makefile b/print/teTeX-base/Makefile index 7f3bdae5689e..e01d849b8a0d 100644 --- a/print/teTeX-base/Makefile +++ b/print/teTeX-base/Makefile @@ -1,191 +1,192 @@ # Created by: Bernd Rosauer # $FreeBSD$ PORTNAME= teTeX-base PORTVERSION= 3.0 PORTREVISION= 25 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \ ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/dvips/:1 MASTER_SITE_SUBDIR= obsolete/systems/unix/teTeX/3.0/distrib DISTNAME= ${TETEX_SRC} DIST_SUBDIR= teTeX MAINTAINER= hrs@FreeBSD.org COMMENT= Thomas Esser's distribution of TeX & friends (binaries) BUILD_DEPENDS= ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \ ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal RUN_DEPENDS= ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \ ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \ texi2html:${PORTSDIR}/textproc/texi2html LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ wwwcore:${PORTSDIR}/www/libwww \ t1:${PORTSDIR}/devel/t1lib \ gd:${PORTSDIR}/${GD_PORT} GD_PORT?= graphics/gd WRKSRC= ${WRKDIR}/tetex-src-${PORTVERSION} GNU_CONFIGURE= yes USE_GMAKE= yes USE_GHOSTSCRIPT_RUN= yes CONFIGURE_ARGS= --disable-multiplatform \ --without-texinfo \ --without-texi2html \ --without-dialog \ --with-system-ncurses --with-system-zlib \ --with-system-wwwlib --with-libwww-libdir=${LIBWWW_PREFIX}/lib \ --with-libwww-include=${LIBWWW_PREFIX}/include/w3c-libwww \ --with-system-pnglib --with-pnglib-libdir=${LIBPNG_PREFIX}/lib \ --with-pnglib-include=${LIBPNG_PREFIX}/include \ --with-system-t1lib --with-t1lib-libdir=${LIBT1_PREFIX}/lib \ --with-t1lib-include=${LIBT1_PREFIX}/include \ --with-system-gd --with-gd-libdir=${LIBGD_PREFIX}/lib \ --with-gd-include=${LIBGD_PREFIX}/include \ --without-dvipsk --without-odvipsk \ --without-xdvik --without-oxdvik CONFIGURE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ INSTALL_DATA="${INSTALL_DATA}" \ INSTALL_PROGRAM="${INSTALL_PROGRAM}" CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15 PKGMESSAGE= ${WRKDIR}/pkg-message CONFLICTS= ja-ptex-base-[0-9]* latex2e-[0-9]* \ tex-[0-9]* dvips-[0-9]* xdvi-[0-9]* \ texlive-[0-9]* tex-web2c-[0-9]* \ tex-kpathsea-[0-9]* tex-xdvik-[0-9]* \ tex-dvipsk-[0-9]* tex-dvipdfmx-[0-9]* MAN1= tie.1 kpseaccess.1 kpsereadlink.1 mpost.1 \ dmp.1 dvicopy.1 dvilj.1 dvipdfm.1 \ fmtutil.1 gftodvi.1 gftopk.1 gftype.1 \ gsftopk.1 kpsewhich.1 makeindex.1 \ mf.1 mft.1 mktexmf.1 mktexpk.1 \ mktextfm.1 dvihp.1 patgen.1 \ pfb2pfa.1 pdfxtex.1 pktype.1 pltotf.1 \ pooltype.1 ps2pk.1 tex.1 vftovp.1 \ vptovf.1 weave.1 pdfetex.1 fontinst.1 \ cweb.1 ctie.1 etex.1 dvired.1 \ mpto.1 newer.1 dvipdft.1 ebb.1 \ dvipng.1 e2pall.1 makempx.1 \ pk2bm.1 pktogf.1 tangle.1 amstex.1 \ eplain.1 epstopdf.1 kpsetool.1 fdf2tex.1 \ mkindex.1 pslatex.1 kpsewhere.1 \ makempy.1 mkocp.1 mkofm.1 ofm2opl.1 \ opl2ofm.1 otp2ocp.1 bibtex.1 outocp.1 \ ovf2ovp.1 ovp2ovf.1 rumakeindex.1 texdoc.1 \ tftopl.1 texexec.1 updmap.1 texshow.1 \ texfind.1 texfont.1 texlinks.1 texutil.1 \ thumbpdf.1 ttf2afm.1 dvitomp.1 latex.1 \ pdftex.1 mag.1 kpsestat.1 texconfig.1 \ allcm.1 allneeded.1 \ dvitype.1 mktexlsr.1 omega.1 \ ps2frag.1 dvi2fax.1 rubibtex.1 texdoctk.1 MAN5= fmtutil.cnf.5 MLINKS= dvilj.1 dvilj2p.1 \ dvilj.1 dvilj4.1 \ dvilj.1 dvilj4l.1 \ dvilj.1 dvilj6.1 \ allcm.1 allec.1 \ omega.1 lambda.1 \ pdfetex.1 pdflatex.1 \ kpsetool.1 kpsepath.1 \ kpsetool.1 kpsexpand.1 \ mf.1 mf-nowin.1 \ cweb.1 ctangle.1 \ cweb.1 cweave.1 \ dvicopy.1 odvicopy.1 \ fmtutil.1 mktexfmt.1 \ fmtutil.1 fmtutil-sys.1 \ texconfig.1 texconfig-sys.1 \ updmap.1 updmap-sys.1 \ dvitype.1 odvitype.1 \ mktexlsr.1 texhash.1 INFO= kpathsea latex web2c +NO_STAGE= yes .include PLIST_SUB?= .if !defined(WITHOUT_X11) PLIST_SUB+= X11BITS="" USE_XORG= x11 xt .else FLAVOR+= nox11 CONFIGURE_ARGS+=--without-x11 PLIST_SUB+= X11BITS="@comment " .endif TETEX_SRC= tetex-src-${PORTVERSION} LIBGD_PREFIX?= ${LOCALBASE} LIBPNG_PREFIX?= ${LOCALBASE} LIBWWW_PREFIX?= ${LOCALBASE} LIBT1_PREFIX?= ${LOCALBASE} TEXMFDIR= share/texmf TEXMFDISTDIR= share/texmf-dist TEXMFCONFIGDIR= share/texmf-config TEXMFLOCALDIR= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCALDIR}/ls-R TEXMFVARDIR= share/texmf-var MKTEXLSR= ${PREFIX}/bin/mktexlsr FMTUTIL_SYS= ${PREFIX}/bin/fmtutil-sys UPDMAP_SYS= ${PREFIX}/bin/updmap-sys UPDMAPDIR= ${TEXMFDIR}/updmap PLIST_SUB+= TEXMFDIR=${TEXMFDIR} \ TEXMFCONFIGDIR=${TEXMFCONFIGDIR} \ TEXMFDISTDIR=${TEXMFDISTDIR} \ TEXMFVARDIR=${TEXMFVARDIR} \ MKTEXLSR=${MKTEXLSR} \ FMTUTIL_SYS=${FMTUTIL_SYS} \ UPDMAP_SYS=${UPDMAP_SYS} \ UPDMAPDIR=${UPDMAPDIR} \ SETENV=${SETENV} SUB_FILES= pkg-message texdoctk.wrapper updmap.wrapper SUB_LIST= TEXMFDIR=${TEXMFDIR} \ TEXMFDISTDIR=${TEXMFDISTDIR} \ UPDMAPDIR=${UPDMAPDIR} \ PREFIX=${PREFIX} OLDCONFIG= web2c/texmf.cnf web2c/mktex.cnf web2c/fmtutil.cnf \ web2c/updmap.cfg \ xdvi/XDvi \ dvipdfm/config/config \ dvips/config/config.ps \ etex/plain/config/language.def \ tex/generic/config/language.dat \ tex/context/config/cont-usr.tex \ pdftex/config/pdftex.cfg # override several user-defined variables because the wrong # configurations may break the build. MAKE_ENV= TEXINPUTS= TEXMF= TEXMFCNF= pre-su-install: .for F in ${OLDCONFIG} if [ -f ${PREFIX}/${TEXMFVARDIR}/${F} ]; then \ ${RM} -f ${PREFIX}/${TEXMFVARDIR}/${F}; \ ${ECHO_CMD} "NOTICE: old config file ${F} has been removed.";\ fi .endfor ${INSTALL_DATA} \ ${PREFIX}/${TEXMFDISTDIR}/web2c/updmap.cfg \ ${PREFIX}/${TEXMFCONFIGDIR}/web2c/updmap.cfg post-install: ${MKDIR} ${PREFIX}/${TEXMFCONFIGDIR}/texconfig ${INSTALL_DATA} ${PREFIX}/${TEXMFDIR}/texconfig/tcfmgr.map \ ${PREFIX}/${TEXMFCONFIGDIR}/texconfig/tcfmgr.map ${MV} -f ${PREFIX}/bin/texdoctk ${PREFIX}/bin/texdoctk.real ${INSTALL_SCRIPT} ${WRKDIR}/texdoctk.wrapper ${PREFIX}/bin/texdoctk ${MKDIR} ${PREFIX}/${UPDMAPDIR} ${MV} -f ${PREFIX}/bin/updmap-sys ${PREFIX}/${UPDMAPDIR}/updmap-sys.dist ${MV} -f ${PREFIX}/bin/updmap ${PREFIX}/${UPDMAPDIR}/updmap.dist ${INSTALL_SCRIPT} ${WRKDIR}/updmap.wrapper ${PREFIX}/bin/updmap-sys ${INSTALL_SCRIPT} ${WRKDIR}/updmap.wrapper ${PREFIX}/bin/updmap ${MKTEXLSR} @${ECHO_MSG} @${CAT} ${PKGMESSAGE} .include diff --git a/print/teTeX-texmf/Makefile b/print/teTeX-texmf/Makefile index f587d2831e3d..7cd87f0101a8 100644 --- a/print/teTeX-texmf/Makefile +++ b/print/teTeX-texmf/Makefile @@ -1,94 +1,95 @@ # $FreeBSD$ PORTNAME= teTeX-texmf PORTVERSION= 3.0 PORTREVISION= 9 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \ ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/dvips/:1 MASTER_SITE_SUBDIR= obsolete/systems/unix/teTeX/3.0/distrib DISTFILES= ${TETEX_TEXMF_SRC} dvipsk-jpatch-p1.6a1${EXTRACT_SUFX}:1 DIST_SUBDIR= teTeX EXTRACT_ONLY= dvipsk-jpatch-p1.6a1${EXTRACT_SUFX} MAINTAINER= hrs@FreeBSD.org COMMENT= Thomas Esser's distribution of TeX & friends (texmf tree) BUILD_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \ ${LOCALBASE}/share/fonts/amsfonts/doc/fonts/amsfonts/00README:${PORTSDIR}/print/font-amsfonts RUN_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \ ${LOCALBASE}/share/fonts/amsfonts/doc/fonts/amsfonts/00README:${PORTSDIR}/print/font-amsfonts CONFLICTS= latex2e-[0-9]* tex-[0-9]* dvips-[0-9]* xdvi-[0-9]* \ ja-ptext-base-[0-9]* \ texlive-[0-9]* tex-web2c-[0-9]* \ tex-kpathsea-[0-9]* tex-xdvik-[0-9]* \ tex-dvipsk-[0-9]* tex-dvipdfmx-[0-9]* +NO_STAGE= yes .include NO_WRKSUBDIR= YES NO_BUILD= YES PLIST_SUB= TEXMFDIR=${TEXMFDIR} \ TEXMFDISTDIR=${TEXMFDISTDIR} \ TEXMFCONFIGDIR=${TEXMFCONFIGDIR} \ MKTEXLSR=${MKTEXLSR} \ TEXMF_LSR=${TEXMF_LSR} TETEX_TEXMF_SRC=tetex-texmf-${PORTVERSION}.tar.gz TEXMFDIR= share/texmf TEXMF_LSR= ${PREFIX}/${TEXMFDIR}/ls-R TEXMFLOCALDIR= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCALDIR}/ls-R TEXMFVARDIR= share/texmf-var TEXMFVAR_LSR= ${LOCALBASE}/${TEXMFVARDIR}/ls-R TEXMFDISTDIR= share/texmf-dist TEXMFDIST_LSR= ${LOCALBASE}/${TEXMFDISTDIR}/ls-R TEXMFCONFIGDIR= share/texmf-config TEXMFCONFIG_LSR=${LOCALBASE}/${TEXMFCONFIGDIR}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr EXCLUDE_LIST= doc/fonts/amsfonts/\* \ doc/fonts/bluesky/\* \ doc/latex/amsfonts/\* \ dvips/bluesky/\* \ fonts/map/dvips/ams/\* \ fonts/source/ams/\* \ fonts/tfm/ams/\* \ fonts/type1/bluesky/\* \ tex/latex/amsfonts/\* \ tex/plain/amsfonts/\* \ tex/texinfo/\* do-install: ${MKDIR} ${PREFIX}/${TEXMFDISTDIR} cd ${PREFIX}/${TEXMFDISTDIR} && \ ${TAR} -x -z -U -f ${DISTDIR}/${DIST_SUBDIR}/${TETEX_TEXMF_SRC} \ ${EXCLUDE_LIST:S,^,--exclude ,g} cd ${PREFIX}/${TEXMFDISTDIR} && \ ${PATCH} < ${FILESDIR}/extra-patch-latex.ltx && \ ${RM} -f tex/latex/base/latex.ltx.orig ${INSTALL_DATA} ${FILESDIR}/cslatex.ini \ ${PREFIX}/${TEXMFDISTDIR}/tex/cslatex/cslatex.ini ${INSTALL_DATA} ${FILESDIR}/csplain.ini \ ${PREFIX}/${TEXMFDISTDIR}/tex/csplain/csplain.ini ${INSTALL_DATA} ${FILESDIR}/t1code.tex \ ${PREFIX}/${TEXMFDISTDIR}/tex/csplain/t1code.tex .for T in doc/fonts fonts/afm/public fonts/map/dvips fonts/source/public \ fonts/tfm/public fonts/type1/public tex/latex tex/plain cd ${PREFIX}/${TEXMFDISTDIR}/${T} && \ ${LN} -s -f ${LOCALBASE}/share/fonts/amsfonts/${T}/amsfonts . .endfor cd ${PREFIX}/${TEXMFDISTDIR}/dvips/pstricks && \ ${PATCH} --quiet < ${WRKDIR}/PSTricks.patch && \ ${RM} -f pst-text.pro.orig ( ${ECHO_CMD} '% ls-R -- filename database for kpathsea; do not change this line.'; \ ${ECHO_CMD} './:'; \ ${ECHO_CMD} 'ls-R'; \ ${ECHO_CMD} '' ) > ${PREFIX}/${TEXMFDISTDIR}/ls-R ${MKDIR} ${PREFIX}/${TEXMFDISTDIR}/xdvi ${TOUCH} ${PREFIX}/${TEXMFDISTDIR}/xdvi/XDvi @if [ -x ${MKTEXLSR} ]; then \ ${MKTEXLSR} ${LOCALBASE}/${TEXMFDISTDIR}; fi .include diff --git a/print/teTeX/Makefile b/print/teTeX/Makefile index 0cb7d12e4350..9f221b717ff0 100644 --- a/print/teTeX/Makefile +++ b/print/teTeX/Makefile @@ -1,53 +1,54 @@ # Created by: Bernd Rosauer # $FreeBSD$ PORTNAME= teTeX PORTVERSION= 3.0 PORTREVISION= 7 CATEGORIES= print MASTER_SITES= # empty DISTFILES= # empty EXTRACT_ONLY= # empty MAINTAINER= hrs@FreeBSD.org COMMENT= A meta port for teTeX suite RUN_DEPENDS= ${LOCALBASE}/share/fonts/cm-super/README:${PORTSDIR}/print/cm-super USE_TEX= base texmf dvipsk dvipdfmx OPTIONS_DEFINE= LETTERSIZE X11 LETTERSIZE_DESC= Use letter size by default +NO_STAGE= yes .include .if ${PORT_OPTIONS:MX11} USE_TEX+= xdvik .endif # XXX: We always build in batch mode to disable OPTIONS # in print/teTeX-base. DEPENDS_ARGS+= BATCH=yes .if ${PORT_OPTIONS:MLETTERSIZE} FLAVOR+= letter DEPENDS_ARGS+= WITH_LETTERSIZE=true PAPERSIZE= letter .else PAPERSIZE= a4 .endif TEXMFDISTDIR= share/texmf-dist TEXMFLOCAL_LSR= ${LOCALBASE}/share/texmf-local/ls-R # XXX: this does not work #.if defined(FLAVOR) #PKGNAMESUFFIX= ${FLAVOR:S,^,-,:Q:S,\\ ,,g:S,\\-,-,g} #.endif do-build: @${DO_NADA} do-install: #emtpy @${DO_NADA} .include diff --git a/print/tex-aleph/Makefile b/print/tex-aleph/Makefile index be3aba0fe6f6..c73090d32bc5 100644 --- a/print/tex-aleph/Makefile +++ b/print/tex-aleph/Makefile @@ -1,88 +1,89 @@ # $FreeBSD$ PORTNAME= aleph PORTVERSION= 0.0.r.4 CATEGORIES= print MASTER_SITES= ftp://tug.org/historic/systems/texlive/2012/ PKGNAMEPREFIX= tex- DISTNAME= texlive-${DISTVERSION_TEXLIVE}-source DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${DISTNAME_TEXMF}${EXTRACT_SUFX} DIST_SUBDIR= TeX EXTRACT_ONLY= texlive-${DISTVERSION_TEXLIVE}-source${EXTRACT_SUFX} MAINTAINER= hrs@FreeBSD.org COMMENT= TeX Engine including Omega and e-TeX features USE_XZ= yes USE_GMAKE= yes USE_TEX= texlive kpathsea web2c texmf formats fmtutil TEXHASHDIRS= ${TEXMFDISTDIR} EXTRACT_AFTER_ARGS= ${EXTRACT_FILES:S,^,${DISTNAME}/,} EXTRACT_FILES= \ build-aux \ libs/obsdcompat \ libs/xpdf \ texk/web2c EXTRACT_AFTER_ARGS_TEXMF=| ${TAR} -xf - -C ${PREFIX}/share \ --strip-components 1 --no-same-permission --no-same-owner \ ${EXTRACT_FILES_TEXMF:S,^,${DISTNAME_TEXMF}/,} DISTVERSION_TEXLIVE= 20120701 DISTNAME_TEXMF= texlive-${DISTVERSION_TEXLIVE}-texmf EXTRACT_FILES_TEXMF= \ texmf-dist/tex/plain/config/aleph.ini \ texmf-dist/doc/aleph \ texmf-dist/source/lambda \ texmf-dist/tex/lambda WRKSRC= ${WRKDIR}/${DISTNAME}/texk/web2c GNU_CONFIGURE= yes CONFIGURE_ENV= OBSDCOMPAT_INCLUDES=-I${WRKSRC}/../../libs/obsdcompat EXCLUDE_ENGINES= etex luatex pdftex mf mf-nowin ptex eptex uptex euptex xetex CONFIGURE_ARGS= ${EXCLUDE_ENGINES:S/^/--disable-/} \ --enable-aleph \ --enable-otangle \ --disable-mp \ --enable-web2c \ --disable-web-progs \ --with-system-freetype2 \ --with-freetype2-includes=${LOCALBASE}/include/freetype2 \ --with-freetype2-libdir=${LOCALBASE}/lib \ --with-system-gd \ --with-system-icu \ --with-icu-includes=${LOCALBASE}/include \ --with-icu-libdir=${LOCALBASE}/lib \ --with-system-kpathsea \ --with-kpathsea-includes=${LOCALBASE}/include \ --with-kpathsea-libdir=${LOCALBASE}/lib \ --with-system-libpng \ --with-libpng-includes=${LOCALBASE}/include \ --with-libpng-libdir=${LOCALBASE}/lib \ --with-system-poppler \ --with-system-t1lib \ --with-system-teckit \ --with-teckit-includes=${LOCALBASE}/include/teckit \ --with-teckit-libdir=${LOCALBASE}/lib \ --with-system-zziplib \ --with-system-zlib CFLAGS+= -I${LOCALBASE}/include MAKE_JOBS_UNSAFE= yes TEX_FORMATS= aleph MAN1= ofm2opl.1 opl2ofm.1 ovf2ovp.1 ovp2ovf.1 aleph.1 otp2ocp.1 \ outocp.1 mkocp.1 mkofm.1 MLINKS= aleph.1 lamed.1 \ dvicopy.1 odvicopy.1 \ dvitype.1 odvitype.1 \ tangle.1 otangle.1 +NO_STAGE= yes pre-configure: for D in libs/obsdcompat libs/xpdf; do \ cd ${WRKDIR}/${DISTNAME}/$$D && \ ${SETENV} ${CONFIGURE_ENV} ${SH} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; \ done pre-su-install: ${CAT} ${DISTDIR}/${DIST_SUBDIR}/texlive-${DISTVERSION_TEXLIVE}-texmf${EXTRACT_SUFX} \ ${EXTRACT_AFTER_ARGS_TEXMF} .include diff --git a/print/tex-dvipdfmx/Makefile b/print/tex-dvipdfmx/Makefile index a9771731d7e9..ca337991f33c 100644 --- a/print/tex-dvipdfmx/Makefile +++ b/print/tex-dvipdfmx/Makefile @@ -1,80 +1,81 @@ # Created by: Shen Chuan-Hsing # $FreeBSD$ PORTNAME= dvipdfmx PORTVERSION= 20120420 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ftp://tug.org/historic/systems/texlive/2012/ PKGNAMEPREFIX= tex- DISTNAME= texlive-${DISTVERSION_TEXMF}-source DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${DISTNAME_TEXMF}${EXTRACT_SUFX} DIST_SUBDIR= TeX EXTRACT_ONLY= texlive-${DISTVERSION_TEXMF}-source${EXTRACT_SUFX} MAINTAINER= hrs@FreeBSD.org COMMENT= DVI Previewer(kpathsearch) for X LICENSE= GPLv2 LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ paper:${PORTSDIR}/print/libpaper RUN_DEPENDS= ${LOCALBASE}/share/fonts/adobe-cmaps/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps USE_XZ= yes USE_GMAKE= yes USE_TEX= texlive kpathsea web2c texmf texhash TEXHASHDIR= ${TEXMFDISTDIR} ${TEXMFDIR} USES= pkgconfig EXTRACT_AFTER_ARGS= ${EXTRACT_FILES:S,^,${DISTNAME}/,} EXTRACT_FILES= \ m4 \ build-aux \ texk/am \ texk/dvipdfmx \ texk/kpathsea EXTRACT_AFTER_ARGS_TEXMF= \ | ${TAR} -xf - -C ${PREFIX}/share \ --strip-components 1 --no-same-permission --no-same-owner \ ${EXCLUDE_FILES_TEXMF:S,^,--exclude ${DISTNAME_TEXMF}/,} \ ${EXTRACT_FILES_TEXMF:S,^,${DISTNAME_TEXMF}/,} DISTVERSION_TEXMF= 20120701 DISTNAME_TEXMF= texlive-${DISTVERSION_TEXMF}-texmf EXCLUDE_FILES_TEXMF= \ texmf/fonts/map/dvipdfmx/updmap/kanjix.map EXTRACT_FILES_TEXMF= \ texmf-dist/fonts/map/dvipdfm/ \ texmf/dvipdfm/config/ \ texmf/dvipdfmx/ \ texmf/fonts/cmap/dvipdfmx/ \ texmf/fonts/map/dvipdfmx/ \ texmf/doc/dvipdfm/ \ texmf/doc/dvipdfmx/ WRKSRC= ${WRKDIR}/${DISTNAME}/texk/dvipdfmx GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-paper \ --with-system-kpathsea \ --with-kpathsea-includes=${LOCALBASE}/include \ --with-kpathsea-libdir=${LOCALBASE}/lib \ --with-system-libpng \ --with-system-zlib CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpaper -L${LOCALBASE}/lib NO_MANCOMPRESS= yes MAN1= dvipdfm.1 dvipdft.1 ebb.1 extractbb.1 +NO_STAGE= yes pre-su-install: ${CAT} ${DISTDIR}/${DIST_SUBDIR}/texlive-${DISTVERSION_TEXMF}-texmf${EXTRACT_SUFX} \ ${EXTRACT_AFTER_ARGS_TEXMF} ${MKDIR} ${PREFIX}/${TEXMFDISTDIR}/fonts/map/dvipdfmx \ ${PREFIX}/${TEXMFDIR}/fonts/map/dvipdfmx/updmap ${TOUCH} ${PREFIX}/${TEXMFDISTDIR}/fonts/map/dvipdfmx/.keep_me \ ${PREFIX}/${TEXMFDIR}/fonts/map/dvipdfmx/updmap/.keep_me post-install: ${LN} -f -s ${LOCALBASE}/share/fonts/adobe-cmaps \ ${PREFIX}/${TEXMFDIR}/fonts/cmap/adobe-cmaps .include diff --git a/print/tex-dvipsk/Makefile b/print/tex-dvipsk/Makefile index c51578420202..423db22347cf 100644 --- a/print/tex-dvipsk/Makefile +++ b/print/tex-dvipsk/Makefile @@ -1,71 +1,72 @@ # $FreeBSD$ PORTNAME= dvipsk PORTVERSION= 5.992 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ftp://tug.org/historic/systems/texlive/2012/ PKGNAMEPREFIX= tex- DISTNAME= texlive-${DISTVERSION_TEXMF}-source DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${DISTNAME_TEXMF}${EXTRACT_SUFX} DIST_SUBDIR= TeX EXTRACT_ONLY= texlive-${DISTVERSION_TEXMF}-source${EXTRACT_SUFX} MAINTAINER= hrs@FreeBSD.org COMMENT= Convert a TeX DVI file to PostScript LICENSE= GPLv2 LIB_DEPENDS= paper:${PORTSDIR}/print/libpaper USE_XZ= yes USE_GMAKE= yes USE_TEX= texlive kpathsea web2c texmf texhash TEXHASHDIRS= ${TEXMFDISTDIR} ${TEXMFDIR} EXTRACT_AFTER_ARGS= ${EXTRACT_FILES:S,^,${DISTNAME}/,} EXTRACT_FILES= \ m4 \ build-aux \ texk/am \ texk/dvipsk \ texk/lcdf-typetools \ texk/kpathsea EXTRACT_AFTER_ARGS_TEXMF= \ | ${TAR} -xf - -C ${PREFIX}/share \ --strip-components 1 --no-same-permission --no-same-owner \ ${EXTRACT_FILES_TEXMF:S,^,${DISTNAME_TEXMF}/,} DISTVERSION_TEXMF= 20120701 DISTNAME_TEXMF= texlive-${DISTVERSION_TEXMF}-texmf EXTRACT_FILES_TEXMF= \ texmf-dist/fonts/map/dvips/ \ texmf-dist/fonts/enc/dvips/ \ texmf-dist/dvips/ \ texmf-dist/tex/generic/dvips/ \ texmf/fonts/map/dvips/ \ texmf/fonts/enc/dvips/ \ texmf/doc/dvips/ \ texmf/dvips/ WRKSRC= ${WRKDIR}/${DISTNAME}/texk/dvipsk GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-paper \ --with-system-kpathsea \ --with-kpathsea-includes=${LOCALBASE}/include \ --with-kpathsea-libdir=${LOCALBASE}/lib \ --with-system-libpng \ --with-system-zlib CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpaper -L${LOCALBASE}/lib NO_MANCOMPRESS= yes MAN1= afm2tfm.1 dvips.1 INFO= dvips +NO_STAGE= yes pre-su-install: ${CAT} ${DISTDIR}/${DIST_SUBDIR}/texlive-${DISTVERSION_TEXMF}-texmf${EXTRACT_SUFX} \ ${EXTRACT_AFTER_ARGS_TEXMF} post-install: ${INSTALL_DATA} ${WRKDIR}/texlive-${DISTVERSION_TEXMF}-source/texk/lcdf-typetools/7t.enc ${PREFIX}/${TEXMFDISTDIR}/fonts/enc/dvips/base/7t.enc .include diff --git a/print/tex-formats/Makefile b/print/tex-formats/Makefile index 83f33992ad70..10d336d2697b 100644 --- a/print/tex-formats/Makefile +++ b/print/tex-formats/Makefile @@ -1,24 +1,25 @@ # $FreeBSD$ PORTNAME= formats PORTVERSION= 20120701 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= #empty PKGNAMEPREFIX= tex- DISTFILES= #empty EXTRACT_ONLY= #empty MAINTAINER= hrs@FreeBSD.org COMMENT= Formats for Basic TeX Engines NO_BUILD= yes USE_TEX= texlive web2c kpathsea texmf texhash fmtutil TEXHASHDIRS= ${TEXMFVARDIR} TEX_FORMATS= amstex context cslatex eplain latex-bin \ metafont mex mltex mptopdf pdftex tex texsis +NO_STAGE= yes do-install: @${DO_NADA} .include diff --git a/print/tex-jadetex/Makefile b/print/tex-jadetex/Makefile index f00fa7da05a0..046072753b56 100644 --- a/print/tex-jadetex/Makefile +++ b/print/tex-jadetex/Makefile @@ -1,33 +1,34 @@ # $FreeBSD$ PORTNAME= jadetex PORTVERSION= 3.13 CATEGORIES= print MASTER_SITES= ftp://tug.org/historic/systems/texlive/2012/ PKGNAMEPREFIX= tex- DISTNAME= texlive-20120701-texmf DIST_SUBDIR= TeX EXTRACT_ONLY= MAINTAINER= hrs@FreeBSD.org COMMENT= TeX backend for Jade, DSSSL processor for SGML/XML documents USE_XZ= yes USE_TEX= texlive texmf pdftex xmltex fmtutil TEXHASHDIRS= ${TEXMFDISTDIR} EXTRACT_AFTER_ARGS=| ${TAR} -xf - -C ${PREFIX}/share \ --strip-components 1 --no-same-permission --no-same-owner \ ${EXTRACT_FILES:S,^,${DISTNAME}/,} EXTRACT_FILES= \ texmf-dist/doc/otherformats/jadetex \ texmf-dist/source/jadetex/base \ texmf-dist/tex/jadetex/base NO_WRKSRC= yes NO_BUILD= yes TEX_FORMATS= jadetex +NO_STAGE= yes do-install: ${CAT} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \ ${EXTRACT_AFTER_ARGS} .include diff --git a/print/tex-luatex/Makefile b/print/tex-luatex/Makefile index b43a9a120dab..516673f41a2b 100644 --- a/print/tex-luatex/Makefile +++ b/print/tex-luatex/Makefile @@ -1,100 +1,101 @@ # $FreeBSD$ PORTNAME= luatex PORTVERSION= 0.70.2 CATEGORIES= print MASTER_SITES= ftp://tug.org/historic/systems/texlive/2012/ PKGNAMEPREFIX= tex- DISTNAME= texlive-${DISTVERSION_TEXMF}-source DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${DISTNAME_TEXMF}${EXTRACT_SUFX} DIST_SUBDIR= TeX EXTRACT_ONLY= texlive-${DISTVERSION_TEXMF}-source${EXTRACT_SUFX} MAINTAINER= hrs@FreeBSD.org COMMENT= Extended version of pdfTeX using Lua LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \ graphite:${PORTSDIR}/graphics/silgraphite \ icuio:${PORTSDIR}/devel/icu \ png15:${PORTSDIR}/graphics/png \ poppler:${PORTSDIR}/graphics/poppler \ TECkit:${PORTSDIR}/textproc/teckit \ zzip:${PORTSDIR}/devel/zziplib USE_XZ= yes USE_GMAKE= yes USE_TEX= texlive kpathsea web2c texmf formats fmtutil USES= pkgconfig EXTRACT_AFTER_ARGS= ${EXTRACT_FILES:S,^,${DISTNAME}/,} EXTRACT_FILES= \ build-aux \ libs/obsdcompat \ libs/xpdf \ texk/web2c EXTRACT_AFTER_ARGS_TEXMF=| ${TAR} -xf - -C ${PREFIX}/share \ --strip-components 1 --no-same-permission --no-same-owner \ ${EXTRACT_FILES_TEXMF:S,^,${DISTNAME_TEXMF}/,} DISTVERSION_TEXMF=20120701 DISTNAME_TEXMF= texlive-${DISTVERSION_TEXMF}-texmf EXTRACT_FILES_TEXMF= \ texmf-dist/tex/latex/latexconfig/dvilualatex.ini \ texmf-dist/tex/latex/latexconfig/lualatex-patch-kernel.tex \ texmf-dist/tex/latex/latexconfig/lualatex-reset-codes.tex \ texmf-dist/tex/latex/latexconfig/lualatex.ini \ texmf-dist/tex/latex/latexconfig/lualatexiniconfig.tex \ texmf-dist/tex/latex/latexconfig/lualatexquotejobname.tex \ texmf-dist/tex/lualatex \ texmf-dist/tex/luatex \ texmf-dist/tex/plain/config/dviluatex.ini \ texmf-dist/tex/plain/config/luatex.ini \ texmf/tex/generic/config/luatex-unicode-letters.tex \ texmf/tex/generic/config/luatexiniconfig.tex \ texmf-dist/doc/lualatex \ texmf-dist/doc/luatex \ texmf-dist/source/luatex \ texmf-dist/source/lualatex WRKSRC= ${WRKDIR}/${DISTNAME}/texk/web2c GNU_CONFIGURE= yes CONFIGURE_ENV= OBSDCOMPAT_INCLUDES=-I${WRKSRC}/../../libs/obsdcompat EXCLUDE_ENGINES= aleph etex pdftex mf mf-nowin ptex eptex uptex euptex xetex CONFIGURE_ARGS= ${EXCLUDE_ENGINES:S/^/--disable-/} \ --enable-luatex \ --enable-mp \ --enable-web2c \ --disable-web-progs \ --with-system-freetype2 \ --with-freetype2-includes=${LOCALBASE}/include/freetype2 \ --with-freetype2-libdir=${LOCALBASE}/lib \ --with-system-gd \ --with-system-icu \ --with-icu-includes=${LOCALBASE}/include \ --with-icu-libdir=${LOCALBASE}/lib \ --with-system-kpathsea \ --with-kpathsea-includes=${LOCALBASE}/include \ --with-kpathsea-libdir=${LOCALBASE}/lib \ --with-system-libpng \ --with-libpng-includes=${LOCALBASE}/include \ --with-libpng-libdir=${LOCALBASE}/lib \ --with-system-poppler \ --with-system-t1lib \ --with-system-teckit \ --with-teckit-includes=${LOCALBASE}/include/teckit \ --with-teckit-libdir=${LOCALBASE}/lib \ --with-system-zziplib \ --with-system-zlib CFLAGS+= -I${LOCALBASE}/include MAKE_JOBS_UNSAFE= yes TEX_FORMATS= luatex +NO_STAGE= yes pre-configure: for D in libs/obsdcompat libs/xpdf; do \ cd ${WRKDIR}/${DISTNAME}/$$D && \ ${SETENV} ${CONFIGURE_ENV} ${SH} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; \ done pre-su-install: ${CAT} ${DISTDIR}/${DIST_SUBDIR}/texlive-${DISTVERSION_TEXMF}-texmf${EXTRACT_SUFX} \ ${EXTRACT_AFTER_ARGS_TEXMF} .include diff --git a/print/tex-mfpic/Makefile b/print/tex-mfpic/Makefile index 83625764b105..e399f9844e7d 100644 --- a/print/tex-mfpic/Makefile +++ b/print/tex-mfpic/Makefile @@ -1,60 +1,58 @@ -# New ports collection makefile for: tex-mfpic -# Date created: 16 July 2011 -# Whom: hrs -# +# Created by: hrs # $FreeBSD$ PORTNAME= mfpic PORTVERSION= 1.06.20110308 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://comp.uark.edu/~luecking/tex/ PKGNAMEPREFIX= tex- DISTNAME= ${PORTNAME}106 DIST_SUBDIR= teTeX MAINTAINER= hrs@FreeBSD.org COMMENT= A TeX package that supports drawing pictures USE_ZIP= yes USE_TEX= latex PLIST_SUB= MKTEXLSR=${MKTEXLSR} \ TEXMFDIR=${TEXMFDIR} TEXMFDIR= share/texmf TEXMF_LSR= ${LOCALBASE}/${TEXMFDIR}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEX_BIN= ${LOCALBASE}/bin/etex YES_CMD= /usr/bin/yes NO_WRKSUBDIR= yes PLIST_FILES= ${CLASS_FILES:S,^,${CLASSDIR}/,} \ ${MP_FILES:S,^,${MPDIR}/,} \ ${MF_FILES:S,^,${MFDIR}/,} \ ${DOC_FILES:S,^doc/,,:S,^,${DDIR}/,} CLASSDIR= ${TEXMFDIR}/tex/generic/${PORTNAME} MPDIR= ${TEXMFDIR}/metapost/${PORTNAME} MFDIR= ${TEXMFDIR}/metafont/${PORTNAME} DDIR= ${TEXMFDIR}/doc/generic/${PORTNAME} CLASS_FILES= mfpic.sty mfpic.tex dvipsnam.mp grafbase.mp MP_FILES= dvipsnam.mp grafbase.mp MF_FILES= grafbase.mf DOC_FILES= README changes.txt install.txt doc/coil.mps \ doc/lcheadings.ist doc/mfpcard.pdf doc/mfpcard.tex \ doc/mfpdoc.sty doc/mfpguide.pdf doc/mfpguide.tex \ doc/mfpic-doc.pdf doc/mfpic-doc.tex +NO_STAGE= yes do-build: cd ${WRKDIR} && ${YES_CMD} | ${TEX_BIN} mfpic.ins do-install: cd ${WRKDIR} && \ ${INSTALL_DATA} ${CLASS_FILES} ${PREFIX}/${CLASSDIR} && \ ${INSTALL_DATA} ${MP_FILES} ${PREFIX}/${MPDIR} && \ ${INSTALL_DATA} ${MF_FILES} ${PREFIX}/${MFDIR} && \ ${INSTALL_DATA} ${DOC_FILES} ${PREFIX}/${DDIR} post-install: @${MKTEXLSR} ${LOCALBASE}/${TEXMFDIR} .include diff --git a/print/tex-omegaware-old/Makefile b/print/tex-omegaware-old/Makefile index 38c49d97616e..eed2d98bf775 100644 --- a/print/tex-omegaware-old/Makefile +++ b/print/tex-omegaware-old/Makefile @@ -1,43 +1,41 @@ -# New ports collection makefile for: tex-omegaware-old -# Date created: 24 Jan 2004 -# Whom: hrs@FreeBSD.org -# +# Created by: hrs@FreeBSD.org # $FreeBSD$ PORTNAME= tex-omegaware-old PORTVERSION= 2.0.2 PORTREVISION= 5 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= hrs/teTeX DISTFILES= ${TETEX_SRC} ${TETEX_TEXMF} EXTRACT_ONLY= ${TETEX_SRC} MAINTAINER= hrs@FreeBSD.org COMMENT= Old version of ovf2ovp, ovp2ovf, ofm2opl, and opl2ofm USE_TEX= base texmf DIST_SUBDIR= teTeX WRKSRC= ${WRKDIR}/tetex-src-${PORTVERSION}/texk/web2c CONFIGURE_WRKSRC= ${WRKDIR}/tetex-src-${PORTVERSION} USE_GMAKE= yes USES= perl5 USE_PERL5= build TETEX_SRC= tetex-src-${PORTVERSION}.tar.gz TETEX_TEXMF= tetex-texmf-${PORTVERSION}.tar.gz TEXMF_TREE= ${PREFIX}/share/texmf MAKE_ENV= LN="${LN}" \ INSTALL_PROGRAM="${INSTALL_PROGRAM}" GNU_CONFIGURE= YES CONFIGURE_ARGS= --disable-multiplatform \ --without-texinfo --without-dialog \ --without-xdvik --without-dvipdfm \ --with-system-ncurses --with-system-zlib CONFIGURE_ENV= INSTALL_PROGRAM="${BSD_INSTALL_SCRIPT}" +NO_STAGE= yes pre-build: ${CP} ${FILESDIR}/Makefile.${PORTNAME} ${WRKSRC}/Makefile .include diff --git a/print/tex-ptexenc/Makefile b/print/tex-ptexenc/Makefile index 203db8dd81ba..3d5bc2360023 100644 --- a/print/tex-ptexenc/Makefile +++ b/print/tex-ptexenc/Makefile @@ -1,28 +1,29 @@ # $FreeBSD$ PORTNAME= ptexenc PORTVERSION= 1.3.0 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ftp://tug.org/historic/systems/texlive/2012/ PKGNAMEPREFIX= tex- DISTNAME= texlive-20120701-source DIST_SUBDIR= TeX MAINTAINER= hrs@FreeBSD.org COMMENT= Library for Japanese pTeX and its tools USE_XZ= yes USE_TEX= texlive kpathsea USE_AUTOTOOLS= libtool USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${DISTNAME}/texk/ptexenc EXTRACT_AFTER_ARGS= ${EXTRACT_FILES} EXTRACT_FILES= ${DISTNAME}/build-aux \ ${DISTNAME}/texk/ptexenc GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-system-kpathsea \ --with-kpathsea-includes=${LOCALBASE}/include \ --with-kpathsea-libdir=${LOCALBASE}/lib +NO_STAGE= yes .include diff --git a/print/tex-texmflocal/Makefile b/print/tex-texmflocal/Makefile index 7e10815f8a46..beb6ae1e56db 100644 --- a/print/tex-texmflocal/Makefile +++ b/print/tex-texmflocal/Makefile @@ -1,80 +1,78 @@ -# New ports collection makefile for: tex-texmflocal -# Date created: 24 Jan 2004 -# Whom: hrs@FreeBSD.org -# +# Created by: hrs@FreeBSD.org # $FreeBSD$ PORTNAME= tex-texmflocal PORTVERSION= 1.9 CATEGORIES= print MASTER_SITES= # empty DISTFILES= # empty MAINTAINER= hrs@FreeBSD.org COMMENT= Meta-port that creates a site-local $$TEXMF directory NO_WRKSUBDIR= yes NO_BUILD= yes PKGINSTALL= ${WRKDIR}/pkg-install.sh PKGDEINSTALL= ${WRKDIR}/pkg-install.sh PLIST= ${WRKDIR}/pkg-plist TEXMFDIR= share/texmf TEXMF_LSR= ${PREFIX}/${TEXMFDIR}/ls-R TEXMFLOCALDIR= share/texmf-local TEXMFLOCAL_LSR= ${PREFIX}/${TEXMFLOCALDIR}/ls-R TEXMFVARDIR= share/texmf-var TEXMFVAR_LSR= ${PREFIX}/${TEXMFVARDIR}/ls-R TEXMFCONFIGDIR= share/texmf-config TEXMFCONFIG_LSR=${PREFIX}/${TEXMFCONFIGDIR}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr +NO_STAGE= yes .include DIRS!= ${CAT} ${FILESDIR}/dirlist LSRMAGIC=( ${ECHO_CMD} "% ls-R -- filename database for kpathsea; do not change this line."; \ ${ECHO_CMD} "./:"; \ ${ECHO_CMD} "ls-R"; \ ${ECHO_CMD} ""; ) pre-install: (${ECHO_CMD} "bin/tetex-modesw"; \ for dir in ${DIRS}; do \ ${ECHO_CMD} "@unexec ${RMDIR} %D/${TEXMFDIR}/$${dir} > /dev/null 2>&1 || true"; \ ${ECHO_CMD} "@unexec ${RMDIR} %D/${TEXMFLOCALDIR}/$${dir} > /dev/null 2>&1 || true"; \ ${ECHO_CMD} "@unexec ${RMDIR} %D/${TEXMFVARDIR}/$${dir} > /dev/null 2>&1 || true"; \ ${ECHO_CMD} "@unexec ${RMDIR} %D/${TEXMFCONFIGDIR}/$${dir} > /dev/null 2>&1 || true"; \ ${ECHO_CMD} "@exec ${MKDIR} %D/${TEXMFDIR}/$${dir}"; \ ${ECHO_CMD} "@exec ${MKDIR} %D/${TEXMFLOCALDIR}/$${dir}"; \ ${ECHO_CMD} "@exec ${MKDIR} %D/${TEXMFVARDIR}/$${dir}"; \ ${ECHO_CMD} "@exec ${MKDIR} %D/${TEXMFCONFIGDIR}/$${dir}"; \ done; \ ${ECHO_CMD} '@exec ${LSRMAGIC:S,%,%%,g} > ${TEXMF_LSR} && ${CHMOD} 0644 ${TEXMF_LSR}'; \ ${ECHO_CMD} '@exec ${LSRMAGIC:S,%,%%,g} > ${TEXMFLOCAL_LSR} && ${CHMOD} 0644 ${TEXMFLOCAL_LSR}'; \ ${ECHO_CMD} '@exec ${LSRMAGIC:S,%,%%,g} > ${TEXMFVAR_LSR} && ${CHMOD} 0644 ${TEXMFVAR_LSR}'; \ ${ECHO_CMD} '@exec ${LSRMAGIC:S,%,%%,g} > ${TEXMFCONFIG_LSR} && ${CHMOD} 0644 ${TEXMFCONFIG_LSR}'; \ ${ECHO_CMD} '@unexec ${RM} -f ${TEXMF_LSR} > /dev/null 2>&1 || true'; \ ${ECHO_CMD} '@unexec ${RM} -f ${TEXMFLOCAL_LSR} > /dev/null 2>&1 || true'; \ ${ECHO_CMD} '@unexec ${RM} -f ${TEXMFVAR_LSR} > /dev/null 2>&1 || true'; \ ${ECHO_CMD} '@unexec ${RM} -f ${TEXMFCONFIG_LSR} > /dev/null 2>&1 || true'; \ ${ECHO_CMD} "@unexec ${RMDIR} %D/${TEXMFDIR} > /dev/null 2>&1 || true"; \ ${ECHO_CMD} "@unexec ${RMDIR} %D/${TEXMFLOCALDIR} > /dev/null 2>&1 || true"; \ ${ECHO_CMD} "@unexec ${RMDIR} %D/${TEXMFVARDIR} > /dev/null 2>&1 || true"; \ ${ECHO_CMD} "@unexec ${RMDIR} %D/${TEXMFCONFIGDIR} > /dev/null 2>&1 || true"; \ ${ECHO_CMD} '@exec if [ -x ${MKTEXLSR} ]; then ${MKTEXLSR}; fi'; \ ${ECHO_CMD} '@unexec if [ -x ${MKTEXLSR} ]; then ${MKTEXLSR}; fi'; \ ) > ${PLIST} do-install: ${INSTALL_SCRIPT} ${FILESDIR}/tetex-modesw.in ${PREFIX}/bin/tetex-modesw .for D in TEXMF TEXMFLOCAL TEXMFVAR TEXMFCONFIG ${MKDIR} ${DIRS:S,^,${PREFIX}/${${D}DIR}/,} ${LSRMAGIC} > ${${D}_LSR} ${CHMOD} 0644 ${${D}_LSR} .endfor post-install: @if [ -x ${MKTEXLSR} ]; then ${MKTEXLSR}; fi .include diff --git a/print/tex-xdvik/Makefile b/print/tex-xdvik/Makefile index 6327f1c50fb7..16a57b320be9 100644 --- a/print/tex-xdvik/Makefile +++ b/print/tex-xdvik/Makefile @@ -1,60 +1,61 @@ # Created by: Kentaro Inagaki # $FreeBSD$ PORTNAME= xdvik PORTVERSION= 22.86 CATEGORIES= print MASTER_SITES= SF/xdvi/${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= tex- DIST_SUBDIR= TeX MAINTAINER= hrs@FreeBSD.org COMMENT= DVI Previewer(kpathsearch) for X LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \ paper:${PORTSDIR}/print/libpaper USES= iconv gmake motif USE_TEX= texlive web2c kpathsea texmf texhash TEXHASHDIRS= ${TEXMFDIR} USE_XORG= ice sm x11 xmu xpm xt WRKSRC= ${WRKDIR}/${DISTNAME}/texk/xdvik GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared \ --datarootdir=${LOCALBASE}/share \ --with-xdvi-x-toolkit=motif \ --with-iconv \ --with-xpm \ --with-system-kpathsea \ --with-kpathsea-includes=${LOCALBASE}/include/kpathsea \ --with-kpathsea-libdir=${LOCALBASE}/lib \ --with-system-zlib \ --with-system-freetype2 \ --with-system-libgs \ --with-default-gs-lib-path=${LOCALBASE}/lib \ --with-default-dvips-path=${LOCALBASE}/bin/dvips \ --with-default-ps2pdf-path=${LOCALBASE}/bin/ps2pdf CONFIGURE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ INSTALL_DATA="${INSTALL_DATA}" \ INSTALL_PROGRAM="${INSTALL_PROGRAM}" CFLAGS+= -I${LOCALBASE}/include -DHAVE_LIBPAPER -g -O0 PLIST_SUB= TEXMFDIR=${TEXMFDIR} TEXMFCONFIGDIR=${TEXMFDIR}-config CONFLICTS_INSTALL= xdvi-[0-9]* xdvi-*-[0-9]* *-xdvi-[0-9]* \ xdvik-[0-9]* ja-xdvik-*-[0-9]* MAN1= xdvi.1 PORTDOCS= BUGS CHANGES INSTALL README README.CVS README.coding \ README.config README.cross README.distro README.hacking \ README.layout README.xdvik README_maintainer TODO +NO_STAGE= yes .include post-install: .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} cd ${WRKDIR}/${DISTNAME} && \ ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif .include diff --git a/print/tex-xetex/Makefile b/print/tex-xetex/Makefile index 7d08a89c8527..c1e8dafb972a 100644 --- a/print/tex-xetex/Makefile +++ b/print/tex-xetex/Makefile @@ -1,93 +1,94 @@ # $FreeBSD$ PORTNAME= xetex PORTVERSION= 0.9999 CATEGORIES= print MASTER_SITES= http://people.allbsd.org/~hrs/FreeBSD/:web2c \ ftp://tug.org/historic/systems/texlive/2012/:texmf PKGNAMEPREFIX= tex- DISTNAME= web2c-29235 DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:web2c \ ${DISTNAME_TEXMF}${EXTRACT_SUFX}:texmf DIST_SUBDIR= TeX EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= hrs@FreeBSD.org COMMENT= TeX System with Unicode and Modern Font Technologies LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \ graphite2:${PORTSDIR}/graphics/graphite2 \ icuio:${PORTSDIR}/devel/icu \ openjpeg:${PORTSDIR}/graphics/openjpeg \ png15:${PORTSDIR}/graphics/png \ poppler:${PORTSDIR}/graphics/poppler \ TECkit:${PORTSDIR}/textproc/teckit USE_XZ= yes USE_GMAKE= yes USE_TEX= texlive kpathsea web2c texmf formats fmtutil USES= pkgconfig EXTRACT_AFTER_ARGS= ${EXTRACT_FILES:S,^,${DISTNAME}/,} EXTRACT_FILES= \ build-aux \ libs/xpdf \ libs/harfbuzz \ texk/web2c EXTRACT_AFTER_ARGS_TEXMF= \ | ${TAR} -xf - -C ${PREFIX}/share \ --strip-components 1 --no-same-permission --no-same-owner \ ${EXTRACT_FILES_TEXMF:S,^,${DISTNAME_TEXMF}/,} DISTNAME_TEXMF= texlive-20120701-texmf EXTRACT_FILES_TEXMF= \ texmf-dist/doc/xelatex \ texmf-dist/doc/xetex \ texmf-dist/fonts/misc/xetex \ texmf-dist/scripts/xetex \ texmf-dist/source/xelatex \ texmf-dist/tex/latex/latexconfig/xelatex.ini \ texmf-dist/tex/plain/config/xetex.ini \ texmf-dist/tex/xelatex \ texmf-dist/tex/xetex \ texmf-dist/tex/generic/xetexconfig/unicode-letters.tex WRKSRC= ${WRKDIR}/${DISTNAME}/texk/web2c GNU_CONFIGURE= yes EXCLUDE_ENGINES= aleph etex pdftex luatex mf mf-nowin mp ptex eptex uptex euptex CONFIGURE_ARGS= ${EXCLUDE_ENGINES:S/^/--disable-/} \ --enable-xetex \ --enable-web2c \ --disable-web-progs \ --with-system-freetype2 \ --with-freetype2-includes=${LOCALBASE}/include/freetype2 \ --with-freetype2-libdir=${LOCALBASE}/lib \ --with-system-graphite2 \ --with-graphite2-includes=${LOCALBASE}/include/graphite2 \ --with-graphite2-libdir=${LOCALBASE}/lib \ --with-system-icu \ --with-icu-include=${LOCALBASE}/include \ --with-icu-libdir=${LOCALBASE}/lib \ --with-system-kpathsea \ --with-kpathsea-includes=${LOCALBASE}/include \ --with-kpathsea-libdir=${LOCALBASE}/lib \ --with-system-libpng \ --with-libpng-includes=${LOCALBASE}/include \ --with-libpng-libdir=${LOCALBASE}/lib \ --with-system-poppler \ --with-system-teckit \ --with-teckit-includes=${LOCALBASE}/include/teckit \ --with-teckit-libdir=${LOCALBASE}/lib \ --with-system-zlib CFLAGS+= -I${LOCALBASE}/include MAKE_JOBS_UNSAFE= yes TEX_FORMATS= xetex +NO_STAGE= yes pre-configure: for D in libs/harfbuzz libs/xpdf; do \ cd ${WRKDIR}/${DISTNAME}/$$D && \ ${SETENV} ${CONFIGURE_ENV} ${SH} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; \ done pre-su-install: ${CAT} ${DISTDIR}/${DIST_SUBDIR}/texlive-20120701-texmf${EXTRACT_SUFX} \ ${EXTRACT_AFTER_ARGS_TEXMF} .include diff --git a/print/tex-xmltex/Makefile b/print/tex-xmltex/Makefile index 93a0da39b2f0..40f7ba366c85 100644 --- a/print/tex-xmltex/Makefile +++ b/print/tex-xmltex/Makefile @@ -1,33 +1,34 @@ # $FreeBSD$ PORTNAME= xmltex PORTVERSION= 1.9 CATEGORIES= print MASTER_SITES= ftp://tug.org/historic/systems/texlive/2012/ PKGNAMEPREFIX= tex- DISTNAME= texlive-20120701-texmf DIST_SUBDIR= TeX EXTRACT_ONLY= MAINTAINER= hrs@FreeBSD.org COMMENT= Non-validating XML parser, written in TeX USE_XZ= yes USE_TEX= texlive texmf pdftex fmtutil TEXHASHDIRS= ${TEXMFDISTDIR} EXTRACT_AFTER_ARGS=| ${TAR} -xf - -C ${PREFIX}/share \ --strip-components 1 --no-same-permission --no-same-owner \ ${EXTRACT_FILES:S,^,${DISTNAME}/,} EXTRACT_FILES= \ texmf-dist/source/xmltex \ texmf-dist/tex/xmltex \ texmf-dist/doc/otherformats/xmltex NO_WRKSRC= yes NO_BUILD= yes TEX_FORMATS= xmltex +NO_STAGE= yes do-install: ${CAT} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \ ${EXTRACT_AFTER_ARGS} .include diff --git a/print/tex/Makefile b/print/tex/Makefile index db424b4d25f0..22b226ad2a63 100644 --- a/print/tex/Makefile +++ b/print/tex/Makefile @@ -1,74 +1,71 @@ -# New ports collection makefile for: tex -# Date created: 29 September 1994 -# Whom: jmz -# +# Created by: jmz # $FreeBSD$ -# PORTNAME= tex PORTVERSION= 3.14159 PORTREVISION= 3 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= mikeh #${MASTER_SITE_TEX_CTAN} XXX distfiles disappeared/moved? #MASTER_SITE_SUBDIR= systems/web2c DISTNAME= web2c-7.2 DISTFILES= web2c-7.2b.tar.gz web-7.2a.tar.gz tex_base.tar.gz cm_tfm.tar.gz \ mf_lib.tar.gz cm_mf.tar.gz modes.mf EXTRACT_ONLY= web2c-7.2b.tar.gz web-7.2a.tar.gz tex_base.tar.gz cm_tfm.tar.gz \ mf_lib.tar.gz cm_mf.tar.gz MAINTAINER= gabor@FreeBSD.org COMMENT= TeX and METAFONT DIST_SUBDIR= tex CONFLICTS= teTeX* USE_GMAKE= yes GNU_CONFIGURE= yes MAN1= access.1 amstex.1 bibtex.1 dmp.1 dvicopy.1 dvitype.1 eplain.1 \ etex.1 gftodvi.1 gftopk.1 gftype.1 kpsestat.1 kpsewhich.1 \ latex.1 makempx.1 mf.1 mft.1 mktexlsr.1 mktexmf.1 mktexpk.1 \ mktextfm.1 mpost.1 mpto.1 newer.1 omega.1 patgen.1 pdftex.1 \ pktogf.1 pktype.1 pltotf.1 pooltype.1 readlink.1 tangle.1 \ tex.1 tftopl.1 tie.1 vftovp.1 vptovf.1 weave.1 INFO= kpathsea web2c MAKE_FLAGS= fmts= all_mems= +NO_STAGE= yes .include .if ${ARCH} == "ia64" BROKEN= Segfault during build on ia64 .endif pre-configure: cd ${WRKDIR} && ${FIND} . -name \*.gz | ${XARGS} ${GUNZIP_CMD} -f post-configure: @cd ${WRKSRC}/web2c; \ ${LN} -s ../../tfm/*.tfm ../../base/*.tex ../../mf/*.mf ../../lib/*.mf .; \ ${CP} ${DISTDIR}/${DIST_SUBDIR}/modes.mf . do-build: @(cd ${WRKSRC}; unset `env|${GREP} ^TEX|${SED} -e s/=.*//`; \ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${ALL_TARGET}) post-install: @for i in kpsewhich dmp bibtex dvicopy dvitomp dvitype gftodvi gftopk \ gftype mf mft patgen pktogf pktype pltotf pooltype tangle tex tftopl \ vftovp vptovf weave; do ${STRIP_CMD} ${PREFIX}/bin/$$i; done @${RM} -f ${PREFIX}/bin/mpostf ${PREFIX}/bin/inimpost ${PREFIX}/bin/virmpost ${PREFIX}/bin/latex \ ${PREFIX}/share/texmf/web2c/mpost.mem ${PREFIX}/share/texmf/web2c/plain.mem \ ${PREFIX}/share/texmf/web2c/mp.pool ${PREFIX}/bin/mpost ${PREFIX}/bin/mpto @${MKDIR} ${PREFIX}/share/texmf/fonts/tfm @(cd ${WRKDIR}/tfm; ${INSTALL_DATA} *.tfm ${PREFIX}/share/texmf/fonts/tfm) @${MKDIR} ${PREFIX}/share/texmf/metafont @(cd ${WRKDIR}/mf; ${INSTALL_DATA} *.mf ${PREFIX}/share/texmf/metafont) @${MKDIR} ${PREFIX}/share/texmf/tex @(cd ${WRKDIR}/lib; ${INSTALL_DATA} *.tex ${PREFIX}/share/texmf/tex) @(cd ${WRKDIR}/base; ${INSTALL_DATA} *.tex ${PREFIX}/share/texmf/tex) .include diff --git a/print/texinfo/Makefile b/print/texinfo/Makefile index 636ab680fe3e..563ed0d4ec5c 100644 --- a/print/texinfo/Makefile +++ b/print/texinfo/Makefile @@ -1,57 +1,58 @@ # Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD$ PORTNAME= texinfo PORTVERSION= 5.1.20130828 CATEGORIES= print MASTER_SITES= GNU \ ftp://ftp.stack.nl/pub/users/johans/texinfo/${PORTVERSION:E}/ DISTNAME= ${PORTNAME}-${PORTVERSION:R} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} htmlxref.cnf texinfo.tex texi2dvi EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= johans@FreeBSD.org COMMENT= A typeset documentation system with multiple format output BUILD_DEPENDS+= help2man:${PORTSDIR}/misc/help2man FETCH_ARGS= -Ap GNU_CONFIGURE= yes USE_XZ= yes INSTALL_TARGET= install install-tex PKGDEINSTALL= ${PKGINSTALL} USES+= charsetfix gmake perl5 MAKE_ARGS= TEXMF=${PREFIX}/${TEXMF} INFO= ${PORTNAME} info-stnd info MAN1= info.1 infokey.1 install-info.1 makeinfo.1 texi2dvi.1 \ texi2pdf.1 pdftexi2dvi.1 pod2texi.1 texi2any.1 texindex.1 MAN5= info.5 texinfo.5 TEXMF= share/texmf PLIST_SUB= TEXMF=${TEXMF} +NO_STAGE= yes .include .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" CPPFLAGS+= -I${LOCALBASE}/lib LDFLAGS+= -L${LOCALBASE}/lib -lintl .else CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif post-patch: ${CHMOD} 755 ${WRKSRC}/build-aux/install-sh ${CP} ${DISTDIR}/texinfo.tex ${WRKSRC}/doc/ ${CP} ${DISTDIR}/texi2dvi ${WRKSRC}/util/ post-install: @${SETENV} PKG_PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} ${SH} \ ${PKGINSTALL} ${PKGNAME} POST-INSTALL @${INSTALL_DATA} ${DISTDIR}/htmlxref.cnf ${DATADIR}/ .include diff --git a/print/texlive-base/Makefile b/print/texlive-base/Makefile index d5c4bb387bc9..a062a33f1502 100644 --- a/print/texlive-base/Makefile +++ b/print/texlive-base/Makefile @@ -1,128 +1,129 @@ # $FreeBSD$ PORTNAME= texlive PORTVERSION= 20120701 PORTREVISION= 8 CATEGORIES= print MASTER_SITES= ftp://tug.org/historic/systems/texlive/2012/ PKGNAMESUFFIX= -base DISTNAME= ${PORTNAME}-${DISTVERSION}-source DIST_SUBDIR= TeX MAINTAINER= hrs@FreeBSD.org COMMENT= TeX Live Typesetting System, base binaries RUN_DEPENDS= psbook:${PORTSDIR}/print/psutils LIB_DEPENDS= icuio:${PORTSDIR}/devel/icu \ t1:${PORTSDIR}/devel/t1lib \ TECkit:${PORTSDIR}/textproc/teckit \ graphite:${PORTSDIR}/graphics/silgraphite \ gd:${PORTSDIR}/graphics/gd \ freetype:${PORTSDIR}/print/freetype2 \ ttf:${PORTSDIR}/print/freetype \ png15:${PORTSDIR}/graphics/png \ zzip:${PORTSDIR}/devel/zziplib USE_TEX= texlive web2c kpathsea ptexenc texhash-bootstrap USE_XZ= yes USES= gmake pkgconfig perl5 USE_AUTOTOOLS= autoconf USE_GHOSTSCRIPT=yes USE_PERL5= run USE_LDCONFIG= yes USE_XORG= x11 xmu xaw EXCLUDE_FILES= ${DISTNAME}/texk/web2c \ ${DISTNAME}/texk/kpathsea \ ${DISTNAME}/texk/ptexenc \ ${DISTNAME}/texk/xdvik \ ${DISTNAME}/texk/dvipdfmx \ ${DISTNAME}/texk/dvipsk \ ${DISTNAME}/libs/freetype \ ${DISTNAME}/libs/freetype2 \ ${DISTNAME}/libs/gd \ ${DISTNAME}/libs/graphite \ ${DISTNAME}/libs/icu \ ${DISTNAME}/libs/libpng \ ${DISTNAME}/libs/t1lib \ ${DISTNAME}/libs/teckit \ ${DISTNAME}/libs/zlib \ ${DISTNAME}/libs/zziplib \ ${DISTNAME}/utils/biber \ ${DISTNAME}/utils/psutils EXTRACT_AFTER_ARGS= ${EXCLUDE_FILES:S,^,--exclude ,} GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-native-texlive-build \ --disable-web-progs \ --disable-psutils \ --enable-shared \ --enable-build-in-source-tree \ --datarootdir=${LOCALBASE}/share \ --with-system-freetype \ --with-freetype-includes=${LOCALBASE}/include/freetype1/freetype \ --with-freetype-libdir=${LOCALBASE}/lib \ --with-system-freetype2 \ --with-freetype2-includes=${LOCALBASE}/include/freetype2 \ --with-freetype2-libdir=${LOCALBASE}/lib \ --with-system-gd \ --with-system-graphite \ --with-system-icu \ --with-icu-include=${LOCALBASE}/include \ --with-icu-libdir=${LOCALBASE}/lib \ --with-system-kpathsea \ --with-kpathsea-include=${LOCALBASE}/include/kpathsea \ --with-kpathsea-libdir=${LOCALBASE}/lib \ --with-system-libgs \ --with-libgs-includes=${LOCALBASE}/include \ --with-libgs-libdir=${LOCALBASE}/lib \ --with-system-libpng \ --with-system-ptexenc \ --with-ptexenc-include=${LOCALBASE}/include/ptexenc \ --with-ptexenc-libdir=${LOCALBASE}/lib \ --with-system-t1lib \ --with-system-teckit \ --with-system-zziplib \ --with-system-zlib CFLAGS+= -I${LOCALBASE}/include \ -I${LOCALBASE}/include/kpathsea \ -I${LOCALBASE}/include/ptexenc PLIST_SUB= INSTALL_DATA="${INSTALL_DATA}" NO_MANCOMPRESS= yes MAN1= afm2pl.1 allcm.1 allec.1 allneeded.1 bbox.1 bg5conv.1 \ cef5conv.1 cefconv.1 cefsconv.1 cfftot1.1 chktex.1 chkweb.1 \ context.1 ctxtools.1 detex.1 deweb.1 disdvi.1 dt2dv.1 dv2dt.1 \ dvi2fax.1 dvi2tty.1 dvibook.1 dviconcat.1 dvidvi.1 dvigif.1 \ dvihp.1 dvilj.1 dvilj2p.1 dvilj4.1 dvilj4l.1 dvilj6.1 \ dvipng.1 dvipos.1 dvired.1 dviselect.1 dvisvgm.1 dvitodvi.1 \ e2pall.1 extconv.1 fmtutil-sys.1 fmtutil.1 fontinst.1 \ gsftopk.1 hbf2gf.1 kpsepath.1 kpsetool.1 kpsewhere.1 kpsexpand.1\ lacheck.1 m-tx.1 mag.1 makeindex.1 mendex.1 mkindex.1 \ mktexfmt.1 mmafm.1 mmpfb.1 mptopdf.1 otfinfo.1 otftotfm.1 \ pdfclose.1 pdfopen.1 pfb2pfa.1 pk2bm.1 pmx2pdf.1 pmxab.1 \ prepmx.1 ps2eps.1 ps2frag.1 ps2pk.1 pslatex.1 pstopdf.1 \ rubibtex.1 rumakeindex.1 scor2prt.1 sjisconv.1 t1ascii.1 \ t1asm.1 t1binary.1 t1disasm.1 t1dotlessj.1 t1lint.1 t1mac.1 \ t1rawafm.1 t1reencode.1 t1testpage.1 t1unmac.1 \ texconfig-sys.1 texconfig.1 texdoctk.1 texexec.1 texlinks.1 \ texmfstart.1 thumbpdf.1 tpic2pdftex.1 ttf2pk.1 ttf2tfm.1 \ ttfdump.1 ttftotype42.1 updmap-sys.1 updmap.1 vlna.1 MAN5= fmtutil.cnf.5 updmap.cfg.5 INFO= dvipng +NO_STAGE= yes post-patch: cd ${WRKSRC} && \ ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \ texk/tetex/fmtutil-sys \ texk/tetex/texconfig-sys \ texk/tetex/updmap-sys.sh post-install-fmtutil: ${MKDIR} ${PREFIX}/${TEXMFCONFIGDIR}/web2c ${TOUCH} ${PREFIX}/${TEXMFCONFIGDIR}/web2c/.keep_me ${INSTALL_DATA} ${PREFIX}/${TEXMFDIR}/web2c/fmtutil.cnf \ ${PREFIX}/${FMTUTIL_CNF} post-install: post-install-fmtutil .ORDER: post-install-fmtutil do-texhash .include diff --git a/print/texlive-docs/Makefile b/print/texlive-docs/Makefile index fb9e67ef2a75..d79d7cf6288f 100644 --- a/print/texlive-docs/Makefile +++ b/print/texlive-docs/Makefile @@ -1,49 +1,50 @@ # $FreeBSD$ PORTNAME= texlive PORTVERSION= 20120701 CATEGORIES= print MASTER_SITES= ftp://ftp.tug.org/historic/systems/texlive/2012/ PKGNAMESUFFIX= -docs DISTNAME= ${PORTNAME}-${PORTVERSION}-texmf DIST_SUBDIR= TeX MAINTAINER= hrs@FreeBSD.org COMMENT= TeX Live Typesetting System, documentation USE_XZ= yes USE_TEX= texlive texmf NO_BUILD= yes NO_WRKSRC= yes EXCLUDE_FILES= \*/doc/man \ texmf-dist/doc/aleph \ texmf-dist/doc/lualatex \ texmf-dist/doc/luatex \ texmf-dist/doc/xelatex \ texmf-dist/doc/xetex \ texmf-dist/doc/otherformats/jadetex \ texmf-dist/doc/otherformats/xmltex \ texmf-dist/doc/ptex \ texmf-dist/doc/platex \ texmf-dist/doc/uptex \ texmf-dist/doc/uplatex \ texmf-dist/doc/fonts/japanese-otf \ texmf-dist/doc/fonts/japanese-otf-uptex \ texmf-dist/doc/fonts/jfontmaps \ texmf/doc/dvips \ texmf/doc/dvipdfm \ texmf/doc/dvipdfmx EXTRACT_AFTER_ARGS=| ${TAR} xf - ${EXCLUDE_FILES:S,^,--exclude ${DISTNAME}/,} +NO_STAGE= yes do-extract: @${MKDIR} ${WRKDIR} do-install: ${CAT} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \ ${EXTRACT_AFTER_ARGS} -C ${PREFIX}/share \ --strip-components 1 --no-same-permission --no-same-owner \ ${DISTNAME}/texmf/doc ${DISTNAME}/texmf-dist/doc .include diff --git a/print/texlive-full/Makefile b/print/texlive-full/Makefile index f22a26461c8a..669e43a1dd9e 100644 --- a/print/texlive-full/Makefile +++ b/print/texlive-full/Makefile @@ -1,29 +1,30 @@ # $FreeBSD$ PORTNAME= texlive DISTVERSION= 20120701 CATEGORIES= print MASTER_SITES= #empty PKGNAMESUFFIX= -full DISTFILES= #empty EXTRACT_ONLY= #empty MAINTAINER= hrs@FreeBSD.org COMMENT= TeX Live, Full Version USE_TEX= texlive full texhash NO_BUILD= yes OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT=DOCS +NO_STAGE= yes .include .if ${PORT_OPTIONS:MDOCS} USE_TEX+= docs .endif do-install: @${DO_NADA} .include diff --git a/print/texlive-infra/Makefile b/print/texlive-infra/Makefile index 4017cb44e980..8ad716dd4996 100644 --- a/print/texlive-infra/Makefile +++ b/print/texlive-infra/Makefile @@ -1,26 +1,27 @@ # $FreeBSD$ PORTNAME= texlive PORTVERSION= 27610 CATEGORIES= print perl5 MASTER_SITES= ftp://tug.org/tex-archive/systems/texlive/tlnet/archive/ PKGNAMESUFFIX= -infra DISTNAME= ${PORTNAME}.infra DIST_SUBDIR= TeX MAINTAINER= hrs@FreeBSD.org COMMENT= Basic TeXLive infrastructure USE_XZ= yes USE_TEX= texlive texmf NO_BUILD= yes NO_WRKSUBDIR= yes +NO_STAGE= yes do-install: ${MKDIR} ${SITE_PERL}/TeXLive ${INSTALL_DATA} ${WRKSRC}/tlpkg/TeXLive/*.pm ${SITE_PERL}/TeXLive ${INSTALL_DATA} ${WRKSRC}/texmf/web2c/fmtutil-hdr.cnf \ ${WRKSRC}/texmf/web2c/updmap-hdr.cfg \ ${PREFIX}/${TEXMFDIR}/web2c/ .include diff --git a/print/texlive-texmf/Makefile b/print/texlive-texmf/Makefile index a56961c21073..dbc95781d97d 100644 --- a/print/texlive-texmf/Makefile +++ b/print/texlive-texmf/Makefile @@ -1,179 +1,180 @@ # $FreeBSD$ PORTNAME= texlive PORTVERSION= 20120701 PORTREVISION= 4 CATEGORIES= print MASTER_SITES= ftp://ftp.tug.org/historic/systems/texlive/2012/ PKGNAMESUFFIX= -texmf DISTNAME= ${PORTNAME}-${PORTVERSION}${PKGNAMESUFFIX} DIST_SUBDIR= TeX MAINTAINER= hrs@FreeBSD.org COMMENT= TeX Live Typesetting System, texmf Tree USE_XZ= yes USE_TEX= texlive base texhash TEXHASHDIRS= ${TEXMFDIR} ${TEXMFDISTDIR} NO_BUILD= yes NO_WRKSRC= yes EXCLUDE_FILES= \*/doc/man \ texmf/doc \ texmf/web2c/texmf.cnf \ texmf/web2c/fmtutil.cnf \ texmf/web2c/fmtutil-hdr.cnf \ texmf/web2c/updmap-hdr.cfg \ texmf/scripts/a2ping \ texmf/scripts/ps2eps \ texmf/scripts/tetex \ texmf/scripts/simpdftex \ texmf/xdvi \ texmf/dvips \ texmf/fonts/enc/dvips \ texmf/fonts/map/dvips \ texmf/fonts/cmap/dvipdfmx \ texmf/fonts/map/dvipdfmx \ texmf/dvipdfmx \ texmf/dvipdfm \ texmf-dist/doc \ texmf-dist/dvips \ texmf-dist/fonts/misc/xetex \ texmf-dist/scripts/accfonts \ texmf-dist/scripts/authorindex \ texmf-dist/scripts/bibexport \ texmf-dist/scripts/bundledoc \ texmf-dist/scripts/cachepic/cachepic.tlu \ texmf-dist/scripts/context/perl/mptopdf.pl \ texmf-dist/scripts/ctanify \ texmf-dist/scripts/ctanupload \ texmf-dist/scripts/de-macro \ texmf-dist/scripts/dosepsbin \ texmf-dist/scripts/dviasm \ texmf-dist/scripts/ebong \ texmf-dist/scripts/epspdf/epspdf.rb \ texmf-dist/scripts/epspdf/epspdftk.tcl \ texmf-dist/scripts/epstopdf \ texmf-dist/scripts/exceltex \ texmf-dist/scripts/fig4latex \ texmf-dist/scripts/findhyph \ texmf-dist/scripts/fontools \ texmf-dist/scripts/fragmaster \ texmf-dist/scripts/glossaries/makeglossaries \ texmf-dist/scripts/installfont \ texmf-dist/scripts/jfontmaps \ texmf-dist/scripts/latex2man \ texmf-dist/scripts/latexdiff \ texmf-dist/scripts/latexfileversion \ texmf-dist/scripts/latexmk \ texmf-dist/scripts/listbib \ texmf-dist/scripts/listings-ext \ texmf-dist/scripts/luaotfload \ texmf-dist/scripts/m-tx/m-tx.lua \ texmf-dist/scripts/match_parens \ texmf-dist/scripts/mathspic \ texmf-dist/scripts/mf2pt1 \ texmf-dist/scripts/mkgrkindex \ texmf-dist/scripts/mkjobtexmf \ texmf-dist/scripts/musixtex/musixflx.lua \ texmf-dist/scripts/musixtex/musixtex.lua \ texmf-dist/scripts/oberdiek/pdfatfi.pl \ texmf-dist/scripts/pax/pdfannotextractor.pl \ texmf-dist/scripts/pdfcrop \ texmf-dist/scripts/pdfjam \ texmf-dist/scripts/pedigree-perl/pedigree.pl \ texmf-dist/scripts/perltex \ texmf-dist/scripts/pkfix-helper \ texmf-dist/scripts/pkfix \ texmf-dist/scripts/pmx/pmx2pdf.lua \ texmf-dist/scripts/pst-pdf/ps4pdf \ texmf-dist/scripts/pst2pdf \ texmf-dist/scripts/purifyeps \ texmf-dist/scripts/splitindex \ texmf-dist/scripts/sty2dtx \ texmf-dist/scripts/svn-multi \ texmf-dist/scripts/tex4ht \ texmf-dist/scripts/texcount \ texmf-dist/scripts/texdef \ texmf-dist/scripts/texdiff \ texmf-dist/scripts/texdirflatten \ texmf-dist/scripts/texliveonfly \ texmf-dist/scripts/texloganalyser \ texmf-dist/scripts/thumbpdf \ texmf-dist/scripts/typeoutfileinfo \ texmf-dist/scripts/ulqda \ texmf-dist/scripts/uptex \ texmf-dist/scripts/urlbst \ texmf-dist/scripts/vpe \ texmf-dist/scripts/xetex \ texmf-dist/source/jadetex \ texmf-dist/source/lambda \ texmf-dist/source/luatex \ texmf-dist/source/lualatex \ texmf-dist/source/xelatex \ texmf-dist/source/xmltex \ texmf-dist/tex/generic/xetexconfig \ texmf-dist/tex/jadetex \ texmf-dist/tex/lambda \ texmf-dist/tex/lualatex \ texmf-dist/tex/luatex \ texmf-dist/tex/latex/latexconfig/dvilualatex.ini \ texmf-dist/tex/latex/latexconfig/lualatex-patch-kernel.tex \ texmf-dist/tex/latex/latexconfig/lualatex-reset-codes.tex \ texmf-dist/tex/latex/latexconfig/lualatex.ini \ texmf-dist/tex/latex/latexconfig/lualatexiniconfig.tex \ texmf-dist/tex/latex/latexconfig/lualatexquotejobname.tex \ texmf-dist/tex/latex/latexconfig/xelatex.ini \ texmf-dist/tex/plain/config/aleph.ini \ texmf-dist/tex/plain/config/dviluatex.ini \ texmf-dist/tex/plain/config/luatex.ini \ texmf-dist/tex/plain/config/xetex.ini \ texmf-dist/tex/xelatex \ texmf-dist/tex/xetex \ texmf-dist/tex/xmltex \ texmf/tex/generic/config/luatex-unicode-letters.tex \ texmf/tex/generic/config/luatexiniconfig.tex \ texmf-dist/fonts/source/ptex \ texmf-dist/fonts/ovp/public/japanese-otf-uptex \ texmf-dist/fonts/vf/ptex \ texmf-dist/fonts/vf/uptex \ texmf-dist/fonts/vf/public/japanese-otf \ texmf-dist/fonts/vf/public/japanese-otf-uptex \ texmf-dist/fonts/type1/ptex \ texmf-dist/fonts/tfm/ptex \ texmf-dist/fonts/tfm/uptex \ texmf-dist/fonts/tfm/public/japanese-otf-uptex \ texmf-dist/fonts/tfm/public/japanese-otf \ texmf-dist/fonts/ofm/public/japanese-otf \ texmf-dist/source/fonts/uptex \ texmf-dist/source/fonts/japanese-otf-uptex \ texmf-dist/source/fonts/japanese-otf \ texmf-dist/source/platex \ texmf-dist/source/uplatex \ texmf-dist/tex/ptex \ texmf-dist/tex/uptex \ texmf-dist/tex/platex \ texmf-dist/tex/uplatex \ texmf-dist/tex/generic/hyph-utf8/patterns/ptex \ texmf-dist/tex/generic/dvips \ texmf-dist/fonts/enc/dvips \ texmf-dist/fonts/map/dvips \ texmf-dist/fonts/map/dvipdfmx \ texmf-dist/fonts/map/dvipdfm \ texmf-dist/fonts/cmap/uptex EXTRACT_AFTER_ARGS=| ${TAR} xf - ${EXCLUDE_FILES:S,^,--exclude ${DISTNAME}/,} +NO_STAGE= yes do-extract: @${MKDIR} ${WRKDIR} do-install: ${CAT} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \ ${EXTRACT_AFTER_ARGS} -C ${PREFIX}/share \ --strip-components 1 --no-same-permission --no-same-owner for D in ${TEXMFDIR} ${TEXMFDISTDIR}; do \ ${MKDIR} ${PREFIX}/$$D/doc && \ ${TOUCH} ${PREFIX}/$$D/doc/.keep_me; \ done .include diff --git a/print/texpower/Makefile b/print/texpower/Makefile index 1b3522ce6479..a1a0ca11f970 100644 --- a/print/texpower/Makefile +++ b/print/texpower/Makefile @@ -1,49 +1,50 @@ # Created by: Ying-Chieh Liao # $FreeBSD$ PORTNAME= texpower PORTVERSION= 0.2 PORTREVISION= 6 CATEGORIES= print MASTER_SITES= SF PKGNAMEPREFIX= latex- DISTNAME= ${PORTNAME}-0-2 MAINTAINER= hrs@FreeBSD.org COMMENT= Creating dynamic online presentations with LaTeX USE_TEX= tetex latex PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} \ MKTEXLSR=${MKTEXLSR} TEXMFLOCAL= share/texmf-local MKTEXLSR= ${LOCALBASE}/bin/mktexlsr DOCFILES= 00readme.txt 01install.txt \ manual.pdf powersem.pdf texpower.pdf OPTIONS_DEFINE= DOCS +NO_STAGE= yes .include do-build: @(cd ${BUILD_WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) @(cd ${BUILD_WRKSRC}/tpslifonts && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) do-install: ${MKDIR} ${PREFIX}/${TEXMFLOCAL}/tex/latex/${PORTNAME} cd ${WRKSRC} && ${INSTALL_DATA} *.sty *.cls *.cfg \ ${PREFIX}/${TEXMFLOCAL}/tex/latex/${PORTNAME} ${MKDIR} ${PREFIX}/${TEXMFLOCAL}/tex/latex/${PORTNAME}/tpslifonts cd ${WRKSRC}/tpslifonts && ${INSTALL_DATA} *.sty \ ${PREFIX}/${TEXMFLOCAL}/tex/latex/${PORTNAME}/tpslifonts .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${DOCSDIR} .endif post-install: ${MKTEXLSR} .include diff --git a/print/texvc/Makefile b/print/texvc/Makefile index 83e23086fef4..5fceddcadbea 100644 --- a/print/texvc/Makefile +++ b/print/texvc/Makefile @@ -1,40 +1,36 @@ -# New ports collection makefile for: texvc -# Date created: 2008-06-14 -# Whom: Max Brazhnikov -# # $FreeBSD$ -# PORTNAME= texvc PORTVERSION= 20050202 PORTREVISION= 3 CATEGORIES= print MASTER_SITES= SF/wikipedia/Support%20files/${PORTNAME}%20Linux-x86%20source%20%2B%20binary DISTNAME= ${PORTNAME}-linux-x86-${PORTVERSION} MAINTAINER= makc@FreeBSD.org COMMENT= Convert latex equations to HTML, MathML, PNG USE_OCAML= yes NO_OCAML_RUNDEPENDS= yes USE_GMAKE= yes BUILD_WRKSRC= ${WRKSRC}/src PLIST_FILES= bin/texvc OPTIONS_DEFINE= RASTER OPTIONS_DEFAULT= ${OPTIONS_DEFINE} RASTER_DESC= rasterization support +NO_STAGE= yes .include .if ${PORT_OPTIONS:MRASTER} USE_GHOSTSCRIPT_RUN= yes USE_TEX= latex dvipsk RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick .endif do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/texvc ${PREFIX}/bin .include diff --git a/print/tgif2tex/Makefile b/print/tgif2tex/Makefile index d822534bc88c..487f00fd255c 100644 --- a/print/tgif2tex/Makefile +++ b/print/tgif2tex/Makefile @@ -1,46 +1,47 @@ # Created by: Satoshi TAOKA # $FreeBSD$ 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 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 USES= perl5 USE_PERL5= run +NO_STAGE= yes .include do-build: ${REINPLACE_CMD} \ -e "s,%%LOCALBASE%%,${LOCALBASE}," \ -e "s,^#!/usr/bin/perl,#!${PERL}," \ ${WRKSRC}/tgif2tex do-install: ${INSTALL_SCRIPT} ${WRKSRC}/tgif2tex ${PREFIX}/bin/tgif2tex .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif .include diff --git a/print/transfig/Makefile b/print/transfig/Makefile index 33a7213f6bce..10338cf23260 100644 --- a/print/transfig/Makefile +++ b/print/transfig/Makefile @@ -1,30 +1,31 @@ -# Created by: chuckr@freebsd.org +# Created by: chuckr@FreeBSD.org # $FreeBSD$ PORTNAME= transfig PORTVERSION= 3.2.5e CATEGORIES= print MASTER_SITES= SF/mcj/mcj-source/ DISTNAME= ${PORTNAME}.${PORTVERSION} MAINTAINER= fbsd-ports@opsec.eu COMMENT= Tools to convert Xfig .fig files RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png USES= imake CFLAGS+= -Wno-return-type USE_GHOSTSCRIPT_RUN= yes USE_XORG= xpm MAN1= fig2dev.1 fig2ps2tex.1 pic2tpic.1 transfig.1 CFLAGS+= -I${LOCALBASE}/include/libpng15 MAKE_ARGS+= INSTALLFLAGS="${COPY}" \ INSTPGMFLAGS="${STRIP} ${_BINOWNGRP} -m ${BINMODE}" \ INSTBINFLAGS="${_BINOWNGRP} -m ${BINMODE}" \ INSTDATFLAGS="${_SHROWNGRP} -m ${SHAREMODE}" \ INSTMANFLAGS="${_MANOWNGRP} -m ${MANMODE}" +NO_STAGE= yes .include diff --git a/print/trueprint/Makefile b/print/trueprint/Makefile index 452b3e674a65..3cd561825299 100644 --- a/print/trueprint/Makefile +++ b/print/trueprint/Makefile @@ -1,23 +1,24 @@ # Created by: Dmitry Sivachenko # $FreeBSD$ PORTNAME= trueprint PORTVERSION= 5.4 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= trueprint MAINTAINER= danilogondolfo@gmail.com COMMENT= Print program listings on postscript printer USE_GMAKE= yes USES= gettext GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib -lintl MAN1= trueprint.1 INFO= trueprint PLIST_FILES= bin/trueprint +NO_STAGE= yes .include diff --git a/print/ttf2pt1/Makefile b/print/ttf2pt1/Makefile index 0aacc58fe2b3..fa2e6ccdfcc8 100644 --- a/print/ttf2pt1/Makefile +++ b/print/ttf2pt1/Makefile @@ -1,39 +1,40 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= ttf2pt1 PORTVERSION= 3.4.4 PORTREVISION= 4 CATEGORIES= print MASTER_SITES= SF EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= True Type Font to Postscript Type 1 Converter LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 RUN_DEPENDS= t1asm:${PORTSDIR}/print/t1utils USES= pkgconfig shebangfix perl5 MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} ${CPPFLAGS}" LIBS="${LDFLAGS}" \ INSTDIR="${PREFIX}" LIBXDIR="${PREFIX}/bin" 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 MAN1= ttf2pt1.1 ttf2pt1_convert.1 ttf2pt1_x2gs.1 CPPFLAGS+= `pkg-config --cflags freetype2` \ -I${LOCALBASE}/include -DUSE_FREETYPE LDFLAGS+= `pkg-config --libs freetype2` \ -L${LOCALBASE}/lib -lm +NO_STAGE= yes .include diff --git a/print/ttfquery/Makefile b/print/ttfquery/Makefile index 80c2bfb02475..d6c4955c8f23 100644 --- a/print/ttfquery/Makefile +++ b/print/ttfquery/Makefile @@ -1,23 +1,24 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= ttfquery PORTVERSION= 1.0.5 CATEGORIES= print MASTER_SITES= CHEESESHOP DISTNAME= TTFQuery-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= FontTools-based package for querying system fonts LICENSE= BSD LICENSE_FILE= ${WRKSRC}/license.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>0:${PORTSDIR}/print/py-fonttools \ ${PYNUMPY} USE_PYTHON= yes USE_PYDISTUTILS= easy_install PYDISTUTILS_PKGNAME= TTFQuery +NO_STAGE= yes .include diff --git a/print/ttftot42/Makefile b/print/ttftot42/Makefile index abaf7d906a7c..33b8bbd89dca 100644 --- a/print/ttftot42/Makefile +++ b/print/ttftot42/Makefile @@ -1,22 +1,23 @@ # Created by: Yukihiro Nakai # $FreeBSD$ PORTNAME= ttftot42 PORTVERSION= 0.3.1 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://www.nih.at/ttftot42/ MAINTAINER= ports@FreeBSD.org COMMENT= TrueType to Type42 font converter LIB_DEPENDS= ttf:${PORTSDIR}/print/freetype GNU_CONFIGURE= yes PLIST_FILES= bin/ttftot42 CPPFLAGS+= -I${LOCALBASE}/include/freetype1/freetype \ -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +NO_STAGE= yes .include diff --git a/print/txtbdf2ps/Makefile b/print/txtbdf2ps/Makefile index 75d1e48c61eb..a43fda748d2e 100644 --- a/print/txtbdf2ps/Makefile +++ b/print/txtbdf2ps/Makefile @@ -1,35 +1,31 @@ -# ex:ts=8 -# Ports collection makefile for: txtbdf2ps -# Date created: Aug 10, 2002 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= txtbdf2ps PORTVERSION= 0.7.1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \ http://oldrus-ispell.sourceforge.net/ EXTRACT_SUFX= .txt MAINTAINER= ak@FreeBSD.org COMMENT= Translator TXT + BDF to PS PROJECTHOST= ak-various-projects PLIST_FILES= bin/txtbdf2ps USES= perl5 EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= EXTRACT_AFTER_ARGS= ${WRKDIR} NO_WRKSUBDIR= yes NO_BUILD= yes +NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|g' ${WRKSRC}/${DISTNAME}.txt do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}.txt ${PREFIX}/bin/txtbdf2ps .include diff --git a/print/typetools/Makefile b/print/typetools/Makefile index 680d00b0b575..acee6d888c88 100644 --- a/print/typetools/Makefile +++ b/print/typetools/Makefile @@ -1,25 +1,26 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= typetools PORTVERSION= 2.98 CATEGORIES= print MASTER_SITES= http://www.lcdf.org/type/ DISTNAME= lcdf-${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Tools for manipulating fonts LICENSE= GPLv2 USE_TEX= base GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_header_kpathsea_kpathsea_h=yes CONFIGURE_ARGS= --with-kpathsea=${LOCALBASE} MAN1= cfftot1.1 mmafm.1 mmpfb.1 otfinfo.1 otftotfm.1 t1dotlessj.1 \ t1lint.1 t1rawafm.1 t1reencode.1 t1testpage.1 ttftotype42.1 DATADIR= ${PREFIX}/share/lcdf-${PORTNAME} +NO_STAGE= yes .include diff --git a/print/utopia/Makefile b/print/utopia/Makefile index 4e4ad609f45a..339938a039d7 100644 --- a/print/utopia/Makefile +++ b/print/utopia/Makefile @@ -1,16 +1,17 @@ # Created by: James Bailie # $FreeBSD$ PORTNAME= utopia PORTVERSION= 1.1 CATEGORIES= print MASTER_SITES= http://www.mammothcheese.ca/ MAINTAINER= jimmy@mammothcheese.ca COMMENT= Adobe Utopia typeface for Groff MAN7= utopia_font.7 MANCOMPRESSED= yes +NO_STAGE= yes .include diff --git a/print/wprint/Makefile b/print/wprint/Makefile index 138cf2833f5f..cd481a80901b 100644 --- a/print/wprint/Makefile +++ b/print/wprint/Makefile @@ -1,39 +1,40 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= wprint PORTVERSION= 2.05 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://programoj.esperanto.org.uy/angle/ MAINTAINER= ports@FreeBSD.org COMMENT= Mozilla/HtmlDoc/Netscape Postscript Filter LICENSE= GPLv2 # (or later) LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 USES= iconv perl5 GNU_CONFIGURE= yes MAN1= wprint.1 CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +NO_STAGE= yes post-patch: .for file in man/wprint.1.pod src/wprint.c @${REINPLACE_CMD} -e "s|/etc/wprint\.conf|${PREFIX}/etc/wprint.conf|g" \ ${WRKSRC}/${file} .endfor @${REINPLACE_CMD} -e 's,$$(srcdir)/wprint.conf $$(sysconfdir),$$(srcdir)/wprint.conf $$(sysconfdir)/wprint.conf.dist,g' \ ${WRKSRC}/etc/Makefile.in post-install: @if [ ! -f ${PREFIX}/etc/wprint.conf ]; then \ ${CP} -p ${PREFIX}/etc/wprint.conf.dist ${PREFIX}/etc/wprint.conf ; \ fi .include diff --git a/print/xdvi/Makefile b/print/xdvi/Makefile index 31bce59d110b..c6b10f513951 100644 --- a/print/xdvi/Makefile +++ b/print/xdvi/Makefile @@ -1,50 +1,51 @@ # Created by: Jean-Marc Zucconi # $FreeBSD$ PORTNAME= xdvi PORTVERSION= pl20 PORTREVISION= 4 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_XCONTRIB} MASTER_SITE_SUBDIR= applications DISTNAME= ${PORTNAME}-20 EXTRACT_SUFX= .tar.Z DIST_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= DVI previewer for the X Window System CONFLICTS= teTeX-* USES= gmake imake:notall USE_XORG= ice sm x11 xaw xext xmu xt xpm PKGINSTALL= ${WRKDIR}/pkg-install PKGDEINSTALL= ${WRKDIR}/pkg-deinstall PLIST_SUB= LOCALBASE=${LOCALBASE} .if defined(PACKAGE_BUILDING) SCRIPTS_ENV= PACKAGE_BUILDING=${PACKAGE_BUILDING} .else IS_INTERACTIVE= yes .endif MAN1= xdvi.1 +NO_STAGE= yes post-configure: @${REINPLACE_CMD} -e "s=distclean::=distclean:=g" ${WRKSRC}/Makefile .for F in pkg-install pkg-deinstall ${SED} -e "s=%%PREFIX%%=${PREFIX}=" \ -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ < ${PKGDIR}/${F} > ${WRKDIR}/${F} .endfor do-install: @(cd ${WRKSRC}; ${GMAKE} install.man \ MANDIR=${PREFIX}/man/man1 MANSUFFIX=1) @(cd ${WRKSRC}; ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} xdvi.man) @(cd ${WRKSRC}; ${GMAKE} -f Makefile install BINDIR=${PREFIX}/bin) @(cd ${WRKSRC}; ${INSTALL_SCRIPT} MakeTeXPK ${PREFIX}/bin) post-install: @if [ -f ${WRKDIR}/post-install ]; then ${SH} ${WRKDIR}/post-install; fi .include diff --git a/print/xdvik/Makefile b/print/xdvik/Makefile index 6777080b3e42..ba1a7a8bf9fd 100644 --- a/print/xdvik/Makefile +++ b/print/xdvik/Makefile @@ -1,79 +1,80 @@ # Created by: Kentaro Inagaki # $FreeBSD$ PORTNAME= xdvik PORTVERSION= 22.84.16 PORTREVISION= 5 CATEGORIES= print MASTER_SITES= SF/hoge #/xdvi/${PORTNAME}/${PORTVERSION} PKGNAMESUFFIX= -tetex MAINTAINER= hrs@FreeBSD.org COMMENT= DVI Previewer(kpathsearch) for X LIB_DEPENDS= t1.5:${PORTSDIR}/devel/t1lib USES= gmake motif USE_TEX= base texmf MAKE_JOBS_UNSAFE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-system-t1lib \ --with-t1lib-libdir=${LIBT1_PREFIX}/lib \ --with-t1lib-include=${LIBT1_PREFIX}/include \ --disable-multiplatform CONFIGURE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ INSTALL_DATA="${INSTALL_DATA}" \ INSTALL_PROGRAM="${INSTALL_PROGRAM}" CFLAGS+= -I${LOCALBASE}/include INSTALL_WRKSRC= ${WRKSRC}/texk/xdvik PLIST_SUB= TEXMFDIR=${TEXMFDIR} TEXMFCONFIGDIR=${TEXMFDIR}-config CONFLICTS_INSTALL= xdvi-[0-9]* xdvi-*-[0-9]* *-xdvi-[0-9]* \ *-xdvik-[0-9]* ja-xdvik-*-[0-9]* \ texlive-[0-9]* tex-web2c-[0-9]* \ tex-kpathsea-[0-9]* tex-xdvik-[0-9]* \ tex-dvipsk-[0-9]* tex-dvipdfmx-[0-9]* MAN1= xdvi.1 MLINKS= xdvi.1 oxdvi.1 TEXMFDIR= share/texmf TEXMFDISTDIR= share/texmf-dist TEXMFLOCALDIR= share/texmf-local TEXMFLOCAL_LSR?=${LOCALBASE}/${TEXMFLOCALDIR}/ls-R TEXCONFIGBIN= ${LOCALBASE}/bin/texconfig-sys MKTEXLSR?= ${LOCALBASE}/bin/mktexlsr LIBT1_PREFIX?= ${LOCALBASE} DOC_FILES= BUGS CHANGES INSTALL \ README README.CVS README_maintainer TODO .if defined(WITH_LETTERSIZE) FLAVOR+= letter PAPERSIZE= letter .else PAPERSIZE= a4 .endif PKGINSTALL= ${WRKDIR}/pkg-install.sh PKGDEINSTALL= ${WRKDIR}/pkg-install.sh PKGINSTALL_SUB= MKTEXLSR=${MKTEXLSR} \ XDVIDIR=${PREFIX}/${TEXMFDIR}/xdvi \ XDVICONFDIR=${PREFIX}/${TEXMFDIR}-config/xdvi \ PAPERSIZE=${PAPERSIZE} \ TEXCONFIGBIN=${TEXCONFIGBIN} \ LOCALBASE=${LOCALBASE} +NO_STAGE= yes pre-install: ${SED} ${PKGINSTALL_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ < ${FILESDIR}/pkg-install.in > ${PKGINSTALL} ${CHMOD} 0755 ${PKGINSTALL} post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR} .endif @${PKGINSTALL} ${PKGNAME} POST-INSTALL .include diff --git a/print/xfce4-print/Makefile b/print/xfce4-print/Makefile index dcc789d8ced7..6b7ef4927a9b 100644 --- a/print/xfce4-print/Makefile +++ b/print/xfce4-print/Makefile @@ -1,64 +1,65 @@ # Created by: James Earl # $FreeBSD$ PORTNAME= xfce4-print PORTVERSION= 4.6.1 PORTREVISION= 10 CATEGORIES= print xfce MASTER_SITES= ${MASTER_SITE_XFCE} MASTER_SITE_SUBDIR= src/archive/xfprint/${PORTVERSION:R} DISTNAME= xfprint-${PORTVERSION} DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Xfce 4 graphical frontend for printing BUILD_DEPENDS+= a2ps:${PORTSDIR}/print/a2ps RUN_DEPENDS+= a2ps:${PORTSDIR}/print/a2ps GNU_CONFIGURE= yes INSTALLS_ICONS= yes USE_BZIP2= yes USES= gettext pkgconfig USE_GMAKE= yes USE_GNOME= glib20 gnomehack gtk20 intltool intlhack USE_LDCONFIG= yes USE_XFCE= configenv libgui libutil xfconf OPTIONS_DEFINE= LETTER OPTIONS_DEFAULT= LPR OPTIONS_SINGLE= PRINTMETHOD OPTIONS_SINGLE_PRINTMETHOD= LPR CUPS LETTER_DESC= Use letter paper format instead of A4 LPR_DESC= Use lpr as printing system +NO_STAGE= yes .include .if ${PORT_OPTIONS:MCUPS} CONFIGURE_ARGS+=--enable-cups LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-client PLIST_SUB+= CUPS="" .else CONFIGURE_ARGS+=--disable-cups PLIST_SUB+= CUPS="@comment " .endif .if ${PORT_OPTIONS:MLPR} CONFIGURE_ARGS+=--enable-bsdlpr --with-printcap=/etc/printcap PLIST_SUB+= LPR="" .else CONFIGURE_ARGS+=--disable-bsdlpr PLIST_SUB+= LPR="@comment " .endif .if ${PORT_OPTIONS:MLETTER} CONFIGURE_ARGS+=--enable-letter .else CONFIGURE_ARGS+=--disable-letter .endif post-patch: @${REINPLACE_CMD} -e 's/@LDFLAGS@/& -Wl,-E/' ${WRKSRC}/xfprint/Makefile.in \ ${WRKSRC}/xfprint-manager/Makefile.in .include diff --git a/print/xmbibtex/Makefile b/print/xmbibtex/Makefile index 951489a96ace..8d3373db8b4d 100644 --- a/print/xmbibtex/Makefile +++ b/print/xmbibtex/Makefile @@ -1,26 +1,27 @@ # Created by: Thomas Gellekum # $FreeBSD$ PORTNAME= xmbibtex PORTVERSION= 1.7 PORTREVISION= 3 CATEGORIES= print databases MASTER_SITES= ${MASTER_SITE_SUNSITE} MASTER_SITE_SUBDIR= apps/tex MAINTAINER= ports@FreeBSD.org COMMENT= Reference manager based on the BibTeX file format WRKSRC_SUBDIR= src USES= imake motif USE_XORG= ice sm x11 xext xmu xp xt xpm NO_INSTALL_MANPAGES= yes PLIST_FILES= bin/xmbibtex lib/X11/app-defaults/XmBibTeX +NO_STAGE= yes post-configure: @${REINPLACE_CMD} -e 's,(CCLINK,(CXXLINK, ; s,/usr/local,${PREFIX},' \ ${WRKSRC}/Makefile .include diff --git a/print/xmltex/Makefile b/print/xmltex/Makefile index ab6a11196f31..e04b353a7297 100644 --- a/print/xmltex/Makefile +++ b/print/xmltex/Makefile @@ -1,74 +1,71 @@ -# New ports collection makefile for: xmltex -# Date created: 9 May 2002 -# Whom: Nik Clayton -# +# Created by: Nik Clayton # $FreeBSD$ -# PORTNAME= xmltex PORTVERSION= 1.9 PORTREVISION= 9 CATEGORIES= print MASTER_SITES= ftp://ftp.ctan.org/tex-archive/%SUBDIR%/ \ ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/xmltex/base DISTFILES= ${DOC_FILES} ${CLASS_FILES} DIST_SUBDIR= ${PORTNAME} MAINTAINER= hrs@FreeBSD.org COMMENT= A non-validating XML parser, written in TeX LIB_DEPENDS= png15:${PORTSDIR}/graphics/png USE_TEX= tex +NO_STAGE= yes .include PLIST_SUB= MKTEXLSR=${MKTEXLSR} CLASSDIR=${CLASSDIR} WEB2CDIR=${WEB2CDIR} WRKSRC= ${WRKDIR}/base MAKE_ENV= TEXMFCNF=${FILESDIR}:${LOCALBASE}/${TEXMFWEB2C} MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEXMFDIR= share/texmf TEXMFDISTDIR= share/texmf-dist TEXMFLOCALDIR= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCALDIR}/ls-R TEXMFWEB2C= share/texmf/web2c DOC_FILES= manual.html manual.tex manual.xml manual.xsl readme.txt CLASSDIR= ${TEXMFLOCALDIR}/tex/xmltex CLASS_FILES= testascii.cfg testascii.tex testascii.xml \ testsec.tex testsec.xml \ xmltex.cfg xmltex.ini xmltex.tex pdfxmltex.ini \ iso-8859-1.xmt iso-8859-2.xmt koi8-r.xmt \ sec.xmt tei.xmt utf-16.xmt windows-1250.xmt \ langtest.tex langtest.xml langtest.xmt mathml2.xmt \ russiankoi8.xml russianutf8.xml portugeselatin1.xml \ englishutf16.xml englishutf8.xml WEB2CDIR= ${TEXMFLOCALDIR}/web2c WEB2C_FILES= xmltex.fmt pdfxmltex.fmt do-extract: ${MKDIR} ${WRKSRC} cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC} post-patch: @${CP} ${FILESDIR}/Makefile ${WRKSRC} do-install: ${INSTALL_DATA} ${WEB2C_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${WEB2CDIR} ${MKDIR} -m 555 ${PREFIX}/${CLASSDIR} ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR} .endif post-install: ${LN} -s -f ${LOCALBASE}/bin/latex ${PREFIX}/bin/xmltex ${MKTEXLSR} .include diff --git a/print/xpp/Makefile b/print/xpp/Makefile index bb2f225f8478..3e6dc30c4e8b 100644 --- a/print/xpp/Makefile +++ b/print/xpp/Makefile @@ -1,38 +1,35 @@ -# New ports collection makefile for: xpp -# Date created: 23 Mar 2007 -# Whom: Nate Lawson -# +# Created by: Nate Lawson # $FreeBSD$ -# PORTNAME= xpp PORTVERSION= 1.5 PORTREVISION= 9 CATEGORIES= print MASTER_SITES= SF/cups/${PORTNAME}/${PORTVERSION} MAINTAINER= cy@FreeBSD.org COMMENT= X11-based printer manager for CUPS LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-client \ fltk.1:${PORTSDIR}/x11-toolkits/fltk BUILD_DEPENDS= ${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base USE_BZIP2= yes USE_GMAKE= yes GNU_CONFIGURE= yes PLIST_FILES= bin/xpp share/doc/xpp/README PLIST_DIRS= share/doc/xpp +NO_STAGE= yes post-configure: @${REINPLACE_CMD} -e 's|$$(all_includes)|-I ${PREFIX}/include|' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS +=|' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|printFiles::get|get|' ${WRKSRC}/xpp.h post-install: ${MKDIR} ${PREFIX}/share/doc/xpp ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xpp .include diff --git a/print/xtexsh/Makefile b/print/xtexsh/Makefile index b2ecb70cad83..196b54e9a90a 100644 --- a/print/xtexsh/Makefile +++ b/print/xtexsh/Makefile @@ -1,57 +1,54 @@ -# New ports collection makefile for: xtexsh -# Date created: 11 August 2001 -# Whom: Jean-Sebastien Roy -# +# Created by: Jean-Sebastien Roy # $FreeBSD$ -# PORTNAME= xtexsh PORTVERSION= 1.4.2 PORTREVISION= 6 CATEGORIES= print MASTER_SITES= http://www.mat.univie.ac.at/~gerald/ftp/xtexsh/ DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E} MAINTAINER= ports@FreeBSD.org COMMENT= Tcl/Tk-based simple TeX interface LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} NO_BUILD= yes USE_TEX= latex USE_TK_WRAPPER= yes INSTALLS_ICONS= yes MAN1= xtexsh.1 MANCOMPRESSED= yes +NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e \ 's|/usr/bin|${LOCALBASE}/bin|g ; \ s|"/etc|"${PREFIX}/etc| ; \ s|exec bash|exec sh|' ${WRKSRC}/xtexsh do-install: ${INSTALL_SCRIPT} ${WRKSRC}/xtexsh ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/xtexsh.1.gz ${MANPREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/xtexshrc ${PREFIX}/etc @${MKDIR} ${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/xtexsh.desktop ${PREFIX}/share/applications @${MKDIR} ${PREFIX}/share/icons/locolor/16x16/apps ${INSTALL_DATA} ${WRKSRC}/xtexsh-mini.png \ ${PREFIX}/share/icons/locolor/16x16/apps/xtexsh.png @${MKDIR} ${PREFIX}/share/icons/locolor/32x32/apps ${INSTALL_DATA} ${WRKSRC}/xtexsh.png \ ${PREFIX}/share/icons/locolor/32x32/apps/xtexsh.png @${MKDIR} ${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/xtexsh.png ${PREFIX}/share/pixmaps .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/index.html ${DOCSDIR} .endif .include diff --git a/print/yatex/Makefile b/print/yatex/Makefile index 68d64f116d89..8e9ed45f9fe4 100644 --- a/print/yatex/Makefile +++ b/print/yatex/Makefile @@ -1,61 +1,62 @@ # Created by: Satoshi Taoka # $FreeBSD$ PORTNAME= yatex PORTVERSION= 1.77 CATEGORIES?= print elisp MASTER_SITES= http://www.yatex.org/ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= Yet Another LaTeX mode and html mode on Emacs USE_DOS2UNIX= yes USE_EMACS= yes EMACS_NO_RUN_DEPENDS= yes EMACS_NO_BUILD_DEPENDS= yes NO_BUILD= yes PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message yatex-startup.el SUB_LIST= EMACS_SITE_LISPDIR="${EMACS_SITE_LISPDIR}" 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= comment.el yatex.el yatexadd.el yatexgen.el \ yatexenv.el yatexlib.el \ yatexmth.el yatexhks.el yatexhlp.el yatexprc.el \ yatexm-o.el yatexsec.el yatexpkg.el yatexhie.el yahtml.el \ yatex19.el OPTIONS_DEFINE= DOCS +NO_STAGE= yes .include post-extract: @${INSTALL_DATA} ${WRKSRC}/docs/* ${WRKSRC} do-install: @${MKDIR} ${PREFIX}/${EMACS_SITE_LISPDIR}/yatex cd ${WRKSRC} && \ ${INSTALL_DATA} ${ELFILES} ${PREFIX}/${EMACS_SITE_LISPDIR}/yatex ${INSTALL_DATA} \ ${WRKDIR}/yatex-startup.el \ ${WRKSRC}/help/YATEXHLP.jp \ ${WRKSRC}/help/YATEXHLP.eng \ ${PREFIX}/${EMACS_SITE_LISPDIR} for F in ${INFO}; do \ ${INSTALL_DATA} ${WRKSRC}/docs/$$F \ ${PREFIX}/${INFO_PATH}/$${F}.info; \ done .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif post-install: @${CAT} ${PKGMESSAGE} .include