diff --git a/editors/2bsd-vi/Makefile b/editors/2bsd-vi/Makefile index 5b5e48006398..179e690ba251 100644 --- a/editors/2bsd-vi/Makefile +++ b/editors/2bsd-vi/Makefile @@ -1,33 +1,31 @@ -# Created by: David Thiel - PORTNAME= vi PORTVERSION= 050325 PORTREVISION= 2 CATEGORIES= editors MASTER_SITES= SF/ex-${PORTNAME}/ex-${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= 2bsd- DISTNAME= ex-${PORTVERSION} MAINTAINER= portmaster@BSDforge.com COMMENT= The original vi editor, updated to run on modern OSes LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_aarch64= Fails to link: missing sbrk BROKEN_riscv64= Fails to link: missing sbrk USES= ncurses tar:bzip2 PRESERVEDIR= /var/preserve/${PKGBASE} PLIST_SUB= PRESERVEDIR="${PRESERVEDIR}" post-extract: .SILENT ${RM} -r ${WRKSRC}/libuxre ${WRKSRC}/regexp.h post-patch: .for f in Makefile ex.1 expreserve.c exrecover.c vi.1 @${REINPLACE_CMD} -e 's|/var/preserve|${PRESERVEDIR}|' ${WRKSRC}/${f} .endfor .include diff --git a/editors/abiword-docs/Makefile b/editors/abiword-docs/Makefile index 2f0f797873c5..b0831853e3f0 100644 --- a/editors/abiword-docs/Makefile +++ b/editors/abiword-docs/Makefile @@ -1,22 +1,21 @@ -# Created by: Michael Johnson # $MCom: ports/editors/abiword-docs/Makefile,v 1.1 2009/11/10 14:08:20 kwm Exp $ PORTNAME= abiword-docs PORTVERSION= 3.0.1 CATEGORIES= editors MASTER_SITES= http://www.abisource.com/downloads/abiword/${PORTVERSION}/source/ DIST_SUBDIR= AbiWord MAINTAINER= gnome@FreeBSD.org COMMENT= AbiWord help files BUILD_DEPENDS= abiword:editors/abiword RUN_DEPENDS= abiword:editors/abiword GNU_CONFIGURE= yes USES= gmake pkgconfig # Don't give X warnings if DISPLAY is set CONFIGURE_ENV= DISPLAY="" MAKE_ENV= DISPLAY="" .include diff --git a/editors/abiword/Makefile b/editors/abiword/Makefile index d44a325acd29..489c72294f66 100644 --- a/editors/abiword/Makefile +++ b/editors/abiword/Makefile @@ -1,170 +1,168 @@ -# Created by: Joe Marcus Clarke - PORTNAME= abiword PORTVERSION= 3.0.5 PORTREVISION= 3 CATEGORIES= editors MASTER_SITES= http://www.abisource.com/downloads/abiword/${PORTVERSION}/source/ DIST_SUBDIR= AbiWord MAINTAINER= gnome@FreeBSD.org COMMENT= Open-source, cross-platform WYSIWYG word processor LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libpopt.so:devel/popt \ libpng.so:graphics/png \ libwv.so:textproc/wv \ libfribidi.so:converters/fribidi \ libgoffice-0.10.so:devel/goffice RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSerif.ttf:x11-fonts/dejavu USES= compiler:c++11-lang cpe desktop-file-utils gmake gnome iconv jpeg \ libtool pathfix pkgconfig USE_GNOME= libxml2 gtk30 librsvg2 libxslt GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --without-gnomevfs --enable-plugins="${ABIWORD_PLUGINS}" \ --enable-shared="yes" --enable-static="no" USE_LDCONFIG= yes INSTALL_TARGET= install-strip CPE_VENDOR= abisource PLIST_SUB+= ABIVERSION=3.0 OPTIONS_DEFINE= CLIPART DEBUG MATHVIEW NLS PSION \ TEMPLATES WP OPTIONS_DEFAULT=CLIPART COLSERVICE COLSUGAR COLTCP SPELLCHECK TEMPLATES OPTIONS_SUB= yes OPTIONS_GROUP= DICT COLLAB OPTIONS_GROUP_DICT= GRAMMAR SPELLCHECK OPTIONS_GROUP_COLLAB= COLFAKE COLSERVICE COLSIP COLSUGAR COLTCP COLTELEPATHY COLXMPP CLIPART_DESC= Include clipart COLLAB_DESC= Collaboration backend COLFAKE_DESC= Fake collaboration for debugging purposes only COLSERVICE_DESC= Collaborate with AbiCollab.net webservice COLSIP_DESC= Collaborate with the SIP/SIMPLE backend COLSUGAR_DESC= Collaborate with the Sugar/OLPC environment COLTCP_DESC= Collaborate with direct TCP peer to peer connections COLTELEPATHY_DESC= Collaborate with the Telepathy backend (experimental) COLXMPP_DESC= Collaborate with the Jabber/XMPP backend DICT_DESC= Spelling and grammar checking GRAMMAR_DESC= Grammar checking plugin MATHVIEW_DESC= MathML render plugin PSION_DESC= Psion 5(MX) files convertion plugin SPELLCHECK_DESC= Spell checking support TEMPLATES_DESC= Include additional templates WP_DESC= WordPerfect img/doc import/export plugin # check configure for ALL_PLUGINS for complete list ABIWORD_PLUGINS= garble loadbindings opml xslfo bmp iscii sdw babelfish \ paint command latex pdf wikipedia hrtext openxml \ goffice wmf kword mif wml s5 freetranslation gdict mht \ applix t602 docbook google eml hancom presentation \ clarisworks pdb urldict openwriter mswrite gimp \ passepartout eml # opendocument enabled by default, rsvg plugin isn't needed on unix. # Plugins we don't support: # gda CLIPART_CONFIGURE_ENABLE= clipart COLFAKE_CONFIGURE_ENABLE= collab-backend-fake COLSERVICE_CONFIGURE_ENABLE= collab-backend-service COLSERVICE_BUILD_DEPENDS= ${LOCALBASE}/include/asio.hpp:net/asio COLSERVICE_LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libgnutls.so:security/gnutls COLSERVICE_RUN_DEPENDS= ${LOCALBASE}/include/asio.hpp:net/asio COLSIP_CONFIGURE_ENABLE= collab-backend-sip COLSUGAR_CONFIGURE_ENABLE= collab-backend-sugar COLSUGAR_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib COLTCP_CONFIGURE_ENABLE= collab-backend-tcp COLTCP_BUILD_DEPENDS= ${LOCALBASE}/include/asio.hpp:net/asio COLTCP_RUN_DEPENDS= ${LOCALBASE}/include/asio.hpp:net/asio COLTELEPATHY_CONFIGURE_ENABLE= collab-backend-telepathy COLTELEPATHY_LIB_DEPENDS= libtelepathy-glib.so:net-im/telepathy-glib COLXMPP_CONFIGURE_ENABLE= collab-backend-xmpp COLXMPP_LIB_DEPENDS= libloudmouth-1.so:net-im/loudmouth DEBUG_CONFIGURE_ENABLE= debug GRAMMAR_LIB_DEPENDS= liblink-grammar.so:textproc/link-grammar GRAMMAR_IMPLIES= SPELLCHECK MATHVIEW_USES= bison MATHVIEW_LIB_DEPENDS= libmathview.so:x11-toolkits/gtkmathview NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls PSION_LIB_DEPENDS= libpsiconv.so:converters/psiconv SPELLCHECK_LIB_DEPENDS= libenchant.so:textproc/enchant SPELLCHECK_CONFIGURE_ENABLE= spell TEMPLATES_CONFIGURE_ENABLE= templates WP_USE= gnome=libgsf WP_LIB_DEPENDS= libwpg-0.3.so:graphics/libwpg03 \ libwpd-0.10.so:textproc/libwpd010 \ libwps-0.4.so:textproc/libwps .include .if ${PORT_OPTIONS:MCOL*} PLIST_SUB+= COLLAB="" ABIWORD_PLUGINS+= collab .else PLIST_SUB+= COLLAB="@comment " .endif .if ${PORT_OPTIONS:MGRAMMAR} ABIWORD_PLUGINS+= grammar .endif .if ${PORT_OPTIONS:MMATHVIEW} ABIWORD_PLUGINS+= mathview .endif .if ${PORT_OPTIONS:MPSION} ABIWORD_PLUGINS+= psion .endif .if ${PORT_OPTIONS:MWP} ABIWORD_PLUGINS+= wpg wordperfect .endif post-patch: @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \ ${WRKSRC}/goffice-bits/goffice/app/goffice-app.h \ ${WRKSRC}/src/af/util/xp/ut_go_file.h # The following substitutions ensure that plugins are linked with libabiword # from the work or stage directory instead of a previously installed library. # In pseudo code: # s,PLUGIN_LIBS="$PLUGIN_LIBS -Lsrc -labiword", # PLUGIN_LIBS="src/libabiword.la $PLUGIN_LIBS", # s,foo_LIBS="$foo_LIBS $PLUGIN_LIBS", # foo_LIBS="$PLUGIN_LIBS $foo_LIBS", # The initial value of PLUGIN_LIBS may contain -L/usr/local/lib so it would # have to come after -Lsrc, but -Lsrc is not correct when libtool relinks # plugins during staging so use src/libabiword.la and let libtool figure out # what flags are needed. Secondly, switch around foo_LIBS and PLUGIN_LIBS # because foo_LIBS may contain -L/usr/local/lib. @${REINPLACE_CMD} \ -e "s,\$$PLUGIN_LIBS \"'-L\$${top_builddir}/src'\" -labiword-\$$ABIWORD_SERIES,\\\\\$${top_builddir}/src/libabiword-\$$ABIWORD_SERIES.la \$$PLUGIN_LIBS," \ -e "/_LIBS=/s,\"\\(.*\\)\"\\('\$${PLUGIN_LIBS}.*'\\),\\2\" \\1\"," \ -e 's|" == "|" = "|g' ${WRKSRC}/configure .include diff --git a/editors/aee/Makefile b/editors/aee/Makefile index 36dc131987a0..b51979f28cfc 100644 --- a/editors/aee/Makefile +++ b/editors/aee/Makefile @@ -1,54 +1,52 @@ -# Created by: Kelly Yancey - PORTNAME= aee DISTVERSION= 2.2.22 CATEGORIES= editors MAINTAINER= portmaster@BSDforge.com COMMENT= Easy editor with both curses and X11 interfaces LICENSE= ART10 LICENSE_FILE= ${WRKSRC}/Artistic USES= ncurses PLIST_FILES= bin/aee bin/rae man/man1/aee.1.gz ${DATADIR}/help.ae ALL_TARGET= main USE_GITLAB= yes GL_ACCOUNT= ports1 GL_PROJECT= aee GL_COMMIT= bf68f4accb96ac39020ac2d9092022aebfa5df27 OPTIONS_DEFINE= XAE XAE_DESC= Build X11 version 'xae' XAE_USES= xorg XAE_USE= XORG=x11 XAE_PLIST_FILES= bin/xae bin/rxae XAE_ALL_TARGET= xae XAE_DESKTOP_ENTRIES= "Xae" "" "" "xae" "" false post-patch: @${REINPLACE_CMD} -e \ 's|cc|${CC}|g ; \ s|"-s"|""|g ; \ s|/usr/X11R6|${LOCALBASE}|g' \ ${WRKSRC}/create.mk.aee \ ${WRKSRC}/create.mk.xae @${REINPLACE_CMD} -e 's|/usr/local/lib|${DATADIR}|g' \ ${WRKSRC}/aee.1 \ ${WRKSRC}/localize.c ${CHMOD} 0544 ${WRKSRC}/create.mk.aee ${WRKSRC}/create.mk.xae ${WRKSRC}/install-sh do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/aee ${STAGEDIR}${PREFIX}/bin (cd ${STAGEDIR}${PREFIX}/bin && ${LN} aee rae) ${INSTALL_MAN} ${WRKSRC}/aee.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/help.ae ${STAGEDIR}${DATADIR} do-install-XAE-on: ${INSTALL_PROGRAM} ${WRKSRC}/xae ${STAGEDIR}${PREFIX}/bin (cd ${STAGEDIR}${PREFIX}/bin && ${LN} xae rxae) .include diff --git a/editors/aewan/Makefile b/editors/aewan/Makefile index 759dd7513e82..11dac05c5f99 100644 --- a/editors/aewan/Makefile +++ b/editors/aewan/Makefile @@ -1,39 +1,37 @@ -# Created by: krion - PORTNAME= aewan PORTVERSION= 1.0.01 PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Curses-based program for the creation and editing of ASCII art LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes USES= gmake ncurses PLIST_FILES= bin/aecat bin/aewan bin/aemakeflic \ man/man1/aecat.1.gz \ man/man1/aewan.1.gz \ man/man1/aemakeflic.1.gz \ man/man5/aewan.5.gz PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|OSTYPE == |OSTYPE = |g' ${WRKSRC}/configure post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in README ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/editors/apel/Makefile b/editors/apel/Makefile index c78909e2ca5c..f0a7f4c04f40 100644 --- a/editors/apel/Makefile +++ b/editors/apel/Makefile @@ -1,36 +1,34 @@ -# Created by: Shigeyuki FUKUSHIMA - PORTNAME= apel PORTVERSION= 10.8.${SNAPDATE} PORTREVISION= 4 CATEGORIES= editors elisp PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} MAINTAINER= nobutaka@FreeBSD.org COMMENT= Portable Emacs Library LICENSE= GPLv2 USES= emacs USE_GITHUB= yes GH_ACCOUNT= wanderlust GH_TAGNAME= 4e3269b SNAPDATE= 20201106 NO_ARCH= yes ALL_TARGET= elc MAKE_ARGS+= PREFIX="${STAGEDIR}${PREFIX}" \ LISPDIR="${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}" \ VERSION_SPECIFIC_LISPDIR="${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}" OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC} ; \ for i in README.* ; do \ ${INSTALL_DATA} $${i} ${STAGEDIR}${DOCSDIR} ; \ done) .include diff --git a/editors/asedit/Makefile b/editors/asedit/Makefile index 4690e0022d5d..69864e77c78f 100644 --- a/editors/asedit/Makefile +++ b/editors/asedit/Makefile @@ -1,29 +1,27 @@ -# Created by: Andreas Kohout - PORTNAME= asedit PORTVERSION= 1.3.2 PORTREVISION= 5 CATEGORIES= editors MASTER_SITES= XCONTRIB/editors MAINTAINER= ports@FreeBSD.org COMMENT= Text editor for X/Motif USES= imake:notall motif tar:Z xorg USE_XORG= ice sm x11 xext xmu xt PLIST_FILES= bin/asedit \ lib/X11/app-defaults/Asedit \ lib/X11/app-defaults/Asedit-sgi \ lib/X11/app-defaults/Asedit_em \ lib/X11/app-defaults/Asedit_em-sgi \ lib/X11/asedit.hlp \ lib/X11/asedit_em.hlp \ man/man1/asedit.1.gz post-patch: @${REINPLACE_CMD} -e \ '/^XMLIB/s|-lPW|| ; \ /^DEFINES/s|-O ||' ${WRKSRC}/Imakefile .include diff --git a/editors/beav/Makefile b/editors/beav/Makefile index 7e2ead1de121..bfa281c0bb09 100644 --- a/editors/beav/Makefile +++ b/editors/beav/Makefile @@ -1,37 +1,35 @@ -# Created by: Thomas Gellekum - PORTNAME= beav PORTVERSION= 1.40.18 PORTREVISION= 3 CATEGORIES= editors MASTER_SITES= DEBIAN_POOL DISTNAME= ${PORTNAME}_${PORTVERSION:R}.orig PATCH_SITES= ${MASTER_SITES} PATCHFILES= ${PORTNAME}_${PORTVERSION:R}-${PORTVERSION:E}.diff.gz PATCH_DIST_STRIP= -p1 MAINTAINER= ports@FreeBSD.org COMMENT= Binary Editor And Viewer, a full featured binary file editor USES= ncurses WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R:S/.//} ALL_TARGET= beav MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DUNIX -DBSD -DNOPROTO" OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|(OFILES):|$$(OFILES):|' \ -e 's|-lncurses|${LDFLAGS} -lncurses|' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/beav.1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/beav ${STAGEDIR}${PREFIX}/bin/beav ${INSTALL_MAN} ${WRKSRC}/beav.1 ${STAGEDIR}${MANPREFIX}/man/man1/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/beav140.txt ${STAGEDIR}${DOCSDIR}/beav.txt .include diff --git a/editors/biew/Makefile b/editors/biew/Makefile index 3e5cefb52e9e..01ecdeb1e3fb 100644 --- a/editors/biew/Makefile +++ b/editors/biew/Makefile @@ -1,77 +1,75 @@ -# Created by: Michael Vasilenko - PORTNAME= biew PORTVERSION= 6.1.0 PORTREVISION= 4 CATEGORIES= editors MASTER_SITES= SF/beye/biew/${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}-src MAINTAINER= danfe@FreeBSD.org COMMENT= Binary file viewer and editor LICENSE= GPLv2 ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= no targets defined in Makefile USES= dos2unix gmake iconv ncurses tar:bzip2 DOS2UNIX_FILES= ${PORTDOCS:S,^,doc/,} HAS_CONFIGURE= yes CONFIGURE_ARGS= --cc="${CC}" --with-extraincdir="${LOCALBASE}/include" \ --ld="${CC}" --with-extralibdir="${LOCALBASE}/lib" \ --prefix="${PREFIX}" --datadir="${DATADIR}" MAKEFILE= makefile WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.//g} PORTDOCS= biew_en.txt biew_ru.txt develop.en develop.ru file_ini.en \ file_ini.ru release.txt unix.txt OPTIONS_DEFINE= SLANG DOCS OPTIONS_DEFAULT= SLANG SLANG_DESC= Use S-Lang based display renderer SLANG_LIB_DEPENDS= libslang.so:devel/libslang2 SLANG_CONFIGURE_ON= --enable-slang SLANG_CONFIGURE_OFF= --enable-curses post-patch: @${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},' ${WRKSRC}/configure # Allow it to find definition of `uintmax_t' (required at least for ia64) @${REINPLACE_CMD} -e 's,codelen++),++DisP->codelen),' \ ${WRKSRC}/plugins/disasm/ix86/ix86_fun.c # Fix inline assembly to make Clang happy (upstream ticket #49) @${REINPLACE_CMD} -e '/srcptr/s,::"g",::"r",' \ ${WRKSRC}/biewlib/sysdep/ia32/aclib_template.c \ ${WRKSRC}/biewlib/sysdep/x86_64/aclib_template.c @${REINPLACE_CMD} -E 's,fild|fistp,&s,' \ ${WRKSRC}/biewlib/sysdep/ia32/cpu_info.c \ ${WRKSRC}/biewlib/sysdep/x86_64/cpu_info.c post-build: # Convert Russian text files to UTF-8 encoding (doing it in post-build # ensures we have iconv(1) installed, and seems more logical since these # files could theoretically also be [re]built) @${SH} -c '${FIND} ${WRKSRC}/doc/*ru* -type f | while read f ; \ do ${ICONV_CMD} -f cp866 -t utf-8 "$${f}" > "$${f}.tmp" && \ ${MV} "$${f}.tmp" "$${f}" ; done' do-install: ${INSTALL_PROGRAM} ${WRKSRC}/biew ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR}/skn ${STAGEDIR}${DATADIR}/syntax \ ${STAGEDIR}${DATADIR}/xlt ${INSTALL_DATA} ${WRKSRC}/bin_rc/biew.hlp ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/bin_rc/skn/* ${STAGEDIR}${DATADIR}/skn ${INSTALL_DATA} ${WRKSRC}/bin_rc/syntax/* ${STAGEDIR}${DATADIR}/syntax ${INSTALL_DATA} ${WRKSRC}/bin_rc/xlt/russian/* \ ${STAGEDIR}${DATADIR}/xlt ${INSTALL_MAN} ${WRKSRC}/doc/biew.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/editors/bitedit/Makefile b/editors/bitedit/Makefile index b02fafd345c9..985df4fe04f3 100644 --- a/editors/bitedit/Makefile +++ b/editors/bitedit/Makefile @@ -1,25 +1,23 @@ -# Created by: Michael L. Hostbaek (mich@freebsdcluster.org) - PORTNAME= bitedit PORTVERSION= 0.9.4 CATEGORIES= editors MASTER_SITES= http://freebsdcluster.org/~mich/software/ MAINTAINER= ports@FreeBSD.org COMMENT= Simple ncurses file editing program LICENSE= GPLv2 USES= ncurses MAKE_ARGS= CFLAGS="${CFLAGS} -DVERSION=\\\"${PORTVERSION}\\\"" DOCSDIR= ${PREFIX}/share/doc/${PORTNAME} OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bitedit ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/bitedit.txt ${STAGEDIR}${DOCSDIR}/bitedit.txt .include diff --git a/editors/boiling-egg/Makefile b/editors/boiling-egg/Makefile index bca370fa5dd6..6308175fa458 100644 --- a/editors/boiling-egg/Makefile +++ b/editors/boiling-egg/Makefile @@ -1,25 +1,23 @@ -# Created by: Yoichi NAKAYAMA - PORTNAME= boiling-egg PORTVERSION= 0.02 PORTREVISION= 1 CATEGORIES= editors elisp MASTER_SITES= http://www.gcd.org/sengoku/boiling-egg/ DISTNAME= ${PORTNAME}.el EXTRACT_SUFX= # empty EXTRACT_ONLY= # empty MAINTAINER= ports@FreeBSD.org COMMENT= Front-end of Egg V4 NO_WRKSUBDIR= yes NO_BUILD= yes ELISPDIR= share/emacs/site-lisp PLIST_SUB+= ELISPDIR=${ELISPDIR} do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${ELISPDIR} ${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} ${STAGEDIR}${PREFIX}/${ELISPDIR} .include diff --git a/editors/bpatch/Makefile b/editors/bpatch/Makefile index d7432a782d79..b987dc7bee49 100644 --- a/editors/bpatch/Makefile +++ b/editors/bpatch/Makefile @@ -1,27 +1,25 @@ -# Created by: joerg - PORTNAME= bpatch PORTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= LOCAL/joerg DISTNAME= ${PORTNAME} MAINTAINER= joerg@FreeBSD.org COMMENT= Hex editor that doesn't load the whole file at once # 2016-11-14: Email from Prof. (em.) John Rupley # As far as I am concerned, the code is public domain, with no # restrictions. Steven List, in his README for the original # distribution, said that the original author, Garry Johnson, gave him # permission to place the code in the public domain. So, do whatever # you will with bpatch. Nice to know it may still have a life. LICENSE= CC0-1.0 CONFLICTS_INSTALL= bdelta NO_WRKSUBDIR= yes PLIST_FILES= bin/bpatch \ man/man1/bpatch.1.gz .include diff --git a/editors/bvi/Makefile b/editors/bvi/Makefile index 90c422738b8f..76ae8b7af7a5 100644 --- a/editors/bvi/Makefile +++ b/editors/bvi/Makefile @@ -1,15 +1,13 @@ -# Created by: Chris D. Faulhaber - PORTNAME= bvi PORTVERSION= 1.4.0 CATEGORIES= editors MASTER_SITES= SF EXTRACT_SUFX= .src.tar.gz MAINTAINER= naddy@FreeBSD.org COMMENT= Vi-like binary file (hex)editor USES= ncurses GNU_CONFIGURE= yes .include diff --git a/editors/chexedit/Makefile b/editors/chexedit/Makefile index 45668d3fe70f..4d4cac01dc4c 100644 --- a/editors/chexedit/Makefile +++ b/editors/chexedit/Makefile @@ -1,30 +1,28 @@ -# Created by: Roman Shterenzon - PORTNAME= chexedit PORTVERSION= 0.9.7 PORTREVISION= 2 CATEGORIES= editors MASTER_SITES= http://www.rogoyski.com/adam/programs/hexedit/ \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= hexedit-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Full screen text mode Hex editor using the [n]curses library LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= ncurses GNU_CONFIGURE= yes CONFIGURE_ENV+= ac_cv_header_ncurses_h=yes PLIST_FILES= bin/chexedit \ man/man1/chexedit.1.gz # Fix build on recent current CFLAGS+= -fcommon do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/hexedit ${STAGEDIR}${PREFIX}/bin/chexedit ${INSTALL_MAN} ${WRKSRC}/docs/hexedit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/chexedit.1 .include diff --git a/editors/codelite/Makefile b/editors/codelite/Makefile index af8310ebbb4b..c6e2be624f9e 100644 --- a/editors/codelite/Makefile +++ b/editors/codelite/Makefile @@ -1,94 +1,92 @@ -# Created by: gahr - PORTNAME= codelite PORTVERSION= 12.0 PORTREVISION= 4 CATEGORIES= editors devel MAINTAINER= ports@FreeBSD.org COMMENT= Open Source IDE for C/C++ LICENSE= GPLv2+ BROKEN= outdated, doesn't build with Pango 1.46.2 or newer - PR 249879 DEPRECATED= Has been broken for over a year. EXPIRATION_DATE= 2022-08-01 RUN_DEPENDS= xterm:x11/xterm LIB_DEPENDS+= libhunspell-1.7.so:textproc/hunspell #BROKEN_armv6= fails to configure: has leading or trailing whitespace. This is now an error according to policy CMP0004 USE_GITHUB= yes GH_ACCOUNT= eranif USES= cmake:noninja compiler:c++11-lib dos2unix gettext gnome pathfix \ pkgconfig shebangfix sqlite USE_GNOME+= cairo gtk20 DOS2UNIX_GLOB= *.cpp *.txt SHEBANG_FILES= Runtime/codelite_xterm bash_CMD= /bin/sh USE_WX= 3.0 CMAKE_ARGS= -DPREFIX:STRING="${PREFIX}" \ -DIS_FREEBSD:STRING=1 \ -DCL_WX_CONFIG:STRING="${WX_CONFIG:T}" USE_LDCONFIG= ${PREFIX}/lib/codelite OPTIONS_DEFINE= CSCOPE SFTP OPTIONS_RADIO= CLANG OPTIONS_SUB= yes CSCOPE_DESC= CScope integration CSCOPE_RUN_DEPENDS= cscope:devel/cscope SFTP_DESC= Secure FTP support via libssh SFTP_LIB_DEPENDS= libssh.so:security/libssh SFTP_CMAKE_OFF= -DENABLE_SFTP:STRING=0 SFTP_USES= localbase CLANG_DESC= Clang code-completion .for v in 40 50 60 OPTIONS_RADIO_CLANG+= CLANG$v CLANG$v_DESC= Clang ${v:C/(.)(.)/\1.\2.x/} CLANG$v_BUILD_DEPENDS= llvm$v>0:devel/llvm$v CLANG$v_RUN_DEPENDS= llvm$v>0:devel/llvm$v post-patch-CLANG$v-on: @${REINPLACE_CMD} -e \ 's|/usr/lib/llvm-.*/|${LOCALBASE}/llvm$v/|' \ ${WRKSRC}/cmake/Modules/FindLibClang.cmake \ ${WRKSRC}/cmake/Modules/FindLibLLDB.cmake .endfor .include .if ${PORT_OPTIONS:MCLANG*} CMAKE_ARGS+= -DENABLE_LLDB:STRING=1 -DENABLE_CLANG:STRING=1 .else CMAKE_ARGS+= -DENABLE_LLDB:STRING=0 -DENABLE_CLANG:STRING=0 .endif post-patch: # Use the correct wx-config @${REINPLACE_CMD} -e \ '/ IS_FREEBSD/s|^|#| ; \ / CL_WX_CONFIG/s|^|#| ; \ / -Wno-/s|^|#| ; \ / -O2/s|^|#| ; \ s|"-s"|""|' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e \ 's|"-lkvm"|"-lkvm -lutil"| ; \ s|share/man|man|' \ ${WRKSRC}/LiteEditor/CMakeLists.txt @${REINPLACE_CMD} -e \ 's|"-lutil"|"-lkvm -lutil"|' \ ${WRKSRC}/codelite_terminal/CMakeLists.txt @${REINPLACE_CMD} -e \ '/ADDITIONAL_LIBRARIES/s|""|"-lexecinfo"|' \ ${WRKSRC}/sdk/codelite_cppcheck/CMakeLists.txt @${REINPLACE_CMD} -e \ 's|/bin/grep|/usr/bin/grep|' \ ${WRKSRC}/cmake/Modules/FindLibClang.cmake .include diff --git a/editors/cooledit/Makefile b/editors/cooledit/Makefile index a76563807055..0e98097f0dce 100644 --- a/editors/cooledit/Makefile +++ b/editors/cooledit/Makefile @@ -1,33 +1,31 @@ -# Created by: brett@peloton.physics.montana.edu - PORTNAME= cooledit DISTVERSION= 3.17.28 PORTREVISION= 3 CATEGORIES= editors MASTER_SITES= SUNSITE/apps/editors/X/cooledit MAINTAINER= ports@FreeBSD.org COMMENT= Suite of utilities, including a GUI editor LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= gettext gmake libtool python xorg # gettext is linked to despite .mo files having been deleted USE_GCC= yes USE_LDCONFIG= yes USE_XORG= x11 xt GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CFLAGS+= -DHAVE_MBRTOWC CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib OPTIONS_DEFINE= NEXT_LOOK NEXT_LOOK_DESC= Enable NeXT look NEXT_LOOK_CONFIGURE_ENABLE= NeXT-look post-patch: @${REINPLACE_CMD} -e 's|po pixmap man|po man|g' ${WRKSRC}/Makefile.in .include diff --git a/editors/cream/Makefile b/editors/cream/Makefile index 8e1a08be3144..06795ab001bb 100644 --- a/editors/cream/Makefile +++ b/editors/cream/Makefile @@ -1,49 +1,47 @@ -# Created by: Janos Mohacsi - PORTNAME= cream PORTVERSION= 0.43 CATEGORIES= editors MASTER_SITES= SF/${PORTNAME}/Cream/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Gvim extension with many features LICENSE= GPLv3+ RUN_DEPENDS= ${LOCALBASE}/bin/gvim:editors/vim@gtk3 NO_ARCH= yes NO_BUILD= yes USES= desktop-file-utils PLIST_SUB= VIM_VER="${VIM_VER}" OPTIONS_DEFINE= DOCS VIMRUNTIME!= cd ../vim && ${MAKE} -V PORTVERSION:R:S,\.,,g VIM_VER?= vim${VIMRUNTIME} do-install: (cd ${WRKSRC} && ${INSTALL_SCRIPT} cream \ ${STAGEDIR}${PREFIX}/bin) @${MKDIR} ${STAGEDIR}${PREFIX}/share/vim/${VIM_VER}/cream (cd ${WRKSRC} && ${INSTALL_DATA} creamrc *.vim \ ${STAGEDIR}${PREFIX}/share/vim/${VIM_VER}/cream) .for f in addons bitmaps help lang @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} \ ${STAGEDIR}${PREFIX}/share/vim/${VIM_VER}/cream) .endfor (cd ${WRKSRC} && ${INSTALL_DATA} cream.desktop \ ${STAGEDIR}${PREFIX}/share/applications) (cd ${WRKSRC} && ${INSTALL_DATA} cream.png cream.svg \ ${STAGEDIR}${PREFIX}/share/pixmaps) do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in docs docs-html @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} \ ${STAGEDIR}${DOCSDIR}) .endfor .include diff --git a/editors/deforaos-editor/Makefile b/editors/deforaos-editor/Makefile index 123a0b0235ba..e2a38916d2f9 100644 --- a/editors/deforaos-editor/Makefile +++ b/editors/deforaos-editor/Makefile @@ -1,50 +1,48 @@ -# Created by: Olivier Cochard-Labbe - PORTNAME= editor PORTVERSION= 0.4.0 CATEGORIES= editors MASTER_SITES= http://www.defora.org/os/download/download/4398/ PKGNAMEPREFIX= deforaos- DISTNAME= Editor-${PORTVERSION} MAINTAINER= olivier@FreeBSD.org COMMENT= DeforaOS desktop text editor LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libSystem.so:devel/deforaos-libsystem \ libDesktop.so:x11/deforaos-libdesktop \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 MAKE_ARGS+= PREFIX=${PREFIX} MAKE_ENV+= MANDIR=${STAGEDIR}${MANPREFIX}/man USES= desktop-file-utils gnome pkgconfig USE_GNOME= gtk20 cairo gdkpixbuf2 OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl post-patch-DOCS-off: ${REINPLACE_CMD} 's|data doc po|data po|' \ ${WRKSRC}/Makefile post-patch-NLS-off: ${REINPLACE_CMD} 's|po src tools|src tools|' \ ${WRKSRC}/Makefile post-patch: @${REINPLACE_CMD} 's|-Wl,-pie||g' \ ${WRKSRC}/tools/Makefile \ ${WRKSRC}/src/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/editor \ ${STAGEDIR}${PREFIX}/bin/filter .include diff --git a/editors/dhex/Makefile b/editors/dhex/Makefile index e7a64cb31c4f..de41d3260892 100644 --- a/editors/dhex/Makefile +++ b/editors/dhex/Makefile @@ -1,30 +1,28 @@ -# Created by: Emanuel Haupt - PORTNAME= dhex PORTVERSION= 0.69 CATEGORIES= editors MASTER_SITES= http://www.dettus.net/dhex/ \ LOCAL/ehaupt DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Ncurses-based hex-editor with diff mode LICENSE= GPLv2 USES= ncurses MANPAGE1= dhex.1 MANPAGE5= dhexrc.5 dhex_markers.5 dhex_searchlog.5 PLIST_FILES= bin/dhex man/man1/dhex.1.gz man/man5/dhex_markers.5.gz \ man/man5/dhex_searchlog.5.gz man/man5/dhexrc.5.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${MANPAGE1} ${STAGEDIR}${MANPREFIX}/man/man1 .for f in ${MANPAGE5} ${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${MANPREFIX}/man/man5 .endfor .include diff --git a/editors/diakonos/Makefile b/editors/diakonos/Makefile index beb456b5789b..e6260496626b 100644 --- a/editors/diakonos/Makefile +++ b/editors/diakonos/Makefile @@ -1,47 +1,45 @@ -# Created by: Chris Petrik - PORTNAME= diakonos DISTVERSIONPREFIX= v DISTVERSION= 0.9.7 PORTREVISION= 1 CATEGORIES= editors ruby MAINTAINER= christopher.petrik@usm.edu COMMENT= Console editor for the masses LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENCE RUN_DEPENDS= rubygem-curses>=1.3.1:devel/rubygem-curses USES= shebangfix USE_GITHUB= yes GH_ACCOUNT= Pistos USE_RUBY= yes SHEBANG_FILES= bin/${PORTNAME} NO_ARCH= yes NO_BUILD= yes SUB_FILES= installation.rb SUB_LIST= RUBY_SITELIBDIR=${RUBY_SITELIBDIR} OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/${PORTNAME} cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${RUBY_SITELIBDIR} ${INSTALL_SCRIPT} ${WRKDIR}/installation.rb \ ${STAGEDIR}${RUBY_SITELIBDIR}/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/diakonos.conf \ ${STAGEDIR}${PREFIX}/etc/diakonos.conf.sample ${INSTALL_DATA} ${WRKSRC}/diakonos-256-colour.conf \ ${STAGEDIR}${PREFIX}/etc/diakonos-256-colour.conf.sample post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/help (cd ${WRKSRC} && ${INSTALL_DATA} CHANGELOG README.rdoc \ ${STAGEDIR}${DOCSDIR}) ${INSTALL_DATA} ${WRKSRC}/help/*.dhf ${STAGEDIR}${DOCSDIR}/help .include diff --git a/editors/dkns/Makefile b/editors/dkns/Makefile index 25958b8a8bfc..f9fb17c48e34 100644 --- a/editors/dkns/Makefile +++ b/editors/dkns/Makefile @@ -1,22 +1,20 @@ -# Created by: James Bailie - PORTNAME= dkns PORTVERSION= 1.100 CATEGORIES= editors MASTER_SITES= http://www.mammothcheese.ca/ MAINTAINER= jimmy@mammothcheese.ca COMMENT= Simple console text editor LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= munger:lang/munger MAKE_ENV= INSTALL_MAN="${INSTALL_MAN}" INSTALL_SCRIPT="${INSTALL_SCRIPT}" NO_ARCH= yes PLIST_FILES= bin/dkns \ man/man1/dkns.1.gz .include diff --git a/editors/drjava/Makefile b/editors/drjava/Makefile index 4e0b7750739e..ebaeebca2ba0 100644 --- a/editors/drjava/Makefile +++ b/editors/drjava/Makefile @@ -1,31 +1,29 @@ -# Created by: Nicola Vitale - PORTNAME= drjava DISTVERSION= 20140826-r5761 PORTREVISION= 1 CATEGORIES= editors java MASTER_SITES= SF/${PORTNAME}/1.%20DrJava%20Stable%20Releases/${PORTNAME}-stable-${DISTVERSION} DISTNAME= ${PORTNAME}-stable-${PORTVERSION:S|.|-|g} EXTRACT_SUFX= .jar EXTRACT_ONLY= MAINTAINER= nivit@FreeBSD.org COMMENT= Lightweight IDE for writing Java programs NO_BUILD= yes USE_JAVA= yes SUB_FILES= ${PORTNAME} SUB_LIST= DRJAVAJAR=${DRJAVAJAR} PLIST_SUB= DRJAVAJAR=${DRJAVAJAR} DATADIR= ${JAVASHAREDIR}/${PORTNAME} DRJAVAJAR= ${DISTFILES} do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${STAGEDIR}${DATADIR}/${DRJAVAJAR} ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/editors/e3/Makefile b/editors/e3/Makefile index 8894135fe62c..4ccfd70ad0bf 100644 --- a/editors/e3/Makefile +++ b/editors/e3/Makefile @@ -1,21 +1,19 @@ -# Created by: joseph@randomnetworks.com - PORTNAME= e3 PORTVERSION= 2.8 PORTEPOCH= 3 CATEGORIES= editors MASTER_SITES= http://sites.google.com/site/e3editor/Home/ MAINTAINER= ports@FreeBSD.org COMMENT= Full featured text editor written in assembler BUILD_DEPENDS= nasm:devel/nasm USES= gmake tar:tgz MAKE_ARGS= OS=FREEBSD ONLY_FOR_ARCHS= i386 post-patch: @${REINPLACE_CMD} -e '/SYS_sigaction 46/s/46/342/' ${WRKSRC}/e3.h .include diff --git a/editors/e93/Makefile b/editors/e93/Makefile index ce9c6dd71315..c8a52ddd4cc0 100644 --- a/editors/e93/Makefile +++ b/editors/e93/Makefile @@ -1,33 +1,31 @@ -# Created by: Satoshi Asami (asami) - PORTNAME= e93 PORTVERSION= 1.4.3 CATEGORIES= editors tcl MASTER_SITES= http://www.sqrt.com/downloads/ DISTNAME= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Tcl-based, programmer-oriented text editor LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.TXT USES= compiler:c11 tar:tgz tcl xorg USE_XORG= x11 xinerama xmu MAKE_ENV= TCL_INCLUDEDIR=${TCL_INCLUDEDIR} TCL_VERSION=${TCL_SHLIB_VER} PORTDOCS= README* TODO OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/e93 ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/lib/e93lib cd ${WRKSRC}/e93lib && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/e93lib do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/editors/ecce/Makefile b/editors/ecce/Makefile index 6bacb960e890..738951353f94 100644 --- a/editors/ecce/Makefile +++ b/editors/ecce/Makefile @@ -1,24 +1,22 @@ -# Created by: Bob Eager - PORTNAME= ecce DISTVERSION= 2.9d CATEGORIES= editors MASTER_SITES= http://www.ml1.org.uk/distfiles/ \ http://www.ancientgeek.org.uk/distfiles/ MAINTAINER= bob@eager.cx COMMENT= Edinburgh Compatible Context Editor LICENSE= CC0-1.0 OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ecce ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/ecce.1.gz ${STAGEDIR}${MANPREFIX}/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include diff --git a/editors/edith/Makefile b/editors/edith/Makefile index 4c1cdf3005b1..a8ccd2f5271d 100644 --- a/editors/edith/Makefile +++ b/editors/edith/Makefile @@ -1,39 +1,37 @@ -# Created by: Christian Brueffer - PORTNAME= edith PORTVERSION= 1.58 PORTREVISION= 2 CATEGORIES= editors linux MASTER_SITES= http://www.groenink.com/pub/edith/ DISTFILES= edith1.55.common.tar.gz \ edith1.58.linux-glibc.tar.gz MAINTAINER= ports@FreeBSD.org COMMENT= X11 GUI editor for binary and plain text files # Converted from RESTRICTED LICENSE= edithlicense LICENSE_NAME= edith LICENSE_TEXT= Redistribution not allowed LICENSE_PERMS= auto-accept ONLY_FOR_ARCHS= i386 amd64 USES= linux USE_LINUX= xorglibs NO_BUILD= yes WRKSRC= ${WRKDIR}/edith EDITHDIR= ${PREFIX}/lib/edith do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/linux/edith ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${EDITHDIR}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/edi* ${STAGEDIR}${EDITHDIR}/bin .for i in defaults help @${MKDIR} ${STAGEDIR}${EDITHDIR}/${i} ${INSTALL_DATA} ${WRKSRC}/${i}/* ${STAGEDIR}${EDITHDIR}/${i} .endfor ${INSTALL_MAN} ${WRKSRC}/edith.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/editors/editorconfig-core-c/Makefile b/editors/editorconfig-core-c/Makefile index 8a471ff95192..091ba2e1971c 100644 --- a/editors/editorconfig-core-c/Makefile +++ b/editors/editorconfig-core-c/Makefile @@ -1,30 +1,28 @@ -# Created by: Akinori MUSHA aka knu - PORTNAME= editorconfig-core-c PORTVERSION= 0.12.5 DISTVERSIONPREFIX= v CATEGORIES= editors MAINTAINER= ports@FreeBSD.org COMMENT= EditorConfig core library and executable written in C LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= doxygen:devel/doxygen LIB_DEPENDS= libpcre2-8.so:devel/pcre2 USES= cmake USE_GITHUB= yes GH_ACCOUNT= editorconfig USE_LDCONFIG= yes CONFLICTS_INSTALL= py*-editorconfig PLIST_SUB= PORTVERSION=${PORTVERSION} \ SHLIB_MAJOR=${PORTVERSION:C/\..+//} \ SHLIB_VER=${PORTVERSION} .include diff --git a/editors/emacs-devel/Makefile b/editors/emacs-devel/Makefile index 2df93cc76911..cbec887c2820 100644 --- a/editors/emacs-devel/Makefile +++ b/editors/emacs-devel/Makefile @@ -1,292 +1,290 @@ -# Created by: Kenneth Vestergaard Schmidt - PORTNAME= emacs DISTVERSION= 29.0.50.20220715 PORTEPOCH= 2 CATEGORIES= editors PKGNAMESUFFIX= -devel MAINTAINER= emacs@FreeBSD.org COMMENT= GNU editing macros ${COMMENT_${FLAVOR}} COMMENT_nox= (No X flavor) LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= texinfo>=6.5,1:print/texinfo LIB_DEPENDS= libgmp.so:math/gmp FLAVORS= full nox full_CONFLICTS_INSTALL= emacs-devel-nox nox_PKGNAMESUFFIX= -devel-nox nox_CONFLICTS_INSTALL= emacs-devel USES= autoreconf:build cpe gmake localbase:ldflags ncurses pkgconfig CPE_VENDOR= gnu USE_GITHUB= yes GH_ACCOUNT= emacs-mirror GH_TAGNAME= 23ffb0c GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-build-details \ --localstatedir=/var \ --without-libsystemd \ --without-selinux \ --without-gconf .if ${FLAVOR:U} == nox CONFIGURE_ARGS+= --with-sound=no \ --with-x-toolkit=no \ --without-cairo \ --without-dbus \ --without-gconf \ --without-gif \ --without-gsettings \ --without-imagemagick \ --without-jpeg \ --without-lcms2 \ --without-libotf \ --without-m17n-flt \ --without-pgtk \ --without-png \ --without-rsvg \ --without-tiff \ --without-toolkit-scroll-bars \ --without-webp \ --without-x \ --without-xim \ --without-xpm \ --without-xwidgets .else CONFIGURE_ARGS+= --with-x .endif # See r468320 to determine if/when the next line can be removed CONFIGURE_ENV= ac_cv_header_sys_sysinfo_h=no CONFLICTS_INSTALL= emacs emacs-canna emacs-nox SUB_FILES= pkg-message sources.el SUB_LIST= EMACS_VER=${DISTVERSION:R} \ NATIVECOMP_COMMENT_END=${NATIVECOMP_COMMENT_END} \ NATIVECOMP_COMMENT_START=${NATIVECOMP_COMMENT_START} INFO= auth autotype bovine calc ccmode cl dbus dired-x ebrowse ede \ ediff edt efaq eieio eintr elisp emacs emacs-gnutls emacs-mime \ epa erc ert eshell eudc eww flymake forms gnus htmlfontify \ idlwave ido info mairix-el message mh-e modus-themes newsticker \ nxml-mode octave-mode org pcl-cvs pgg rcirc reftex remember \ sasl sc semantic ses sieve smtpmail speedbar srecode todo-mode \ tramp transient url vhdl-mode vip viper vtable widget wisent \ woman INFO_PATH= ${DATADIR_REL}/info PLIST_SUB= EMACS_VER=${DISTVERSION:R} \ GNU_HOST=${CONFIGURE_TARGET} OPTIONS_DEFINE= ACL DBUS GNUTLS GSETTINGS HARFBUZZ JSON \ LCMS2 M17N MAILUTILS MODULES NATIVECOMP OTF \ PGTK SCROLLBARS SOURCES SQLITE3 THREADS XFT XIM \ XML XWIDGETS OPTIONS_DEFAULT= ACL CAIRO DBUS GIF GNUTLS GSETTINGS GTK3 \ HARFBUZZ JPEG JSON KQUEUE LCMS2 MAILUTILS \ MODULES NATIVECOMP OSS PGTK PNG SCROLLBARS \ SOURCES SQLITE3 SVG THREADS TIFF WEBP XML OPTIONS_GROUP= GRAPHICS OPTIONS_GROUP_GRAPHICS= CAIRO GIF JPEG MAGICK PNG SVG TIFF WEBP XPM OPTIONS_RADIO= FILENOTIFY SOUND X11TOOLKIT OPTIONS_RADIO_FILENOTIFY= GFILE KQUEUE OPTIONS_RADIO_SOUND= ALSA OSS OPTIONS_RADIO_X11TOOLKIT= GTK2 GTK3 XAW XAW3D .if ${FLAVOR:U} == nox OPTIONS_EXCLUDE= ALSA CAIRO DBUS GFILE GIF GSETTINGS GTK2 \ GTK3 HARFBUZZ JPEG LCMS2 M17N MAGICK OSS OTF \ PGTK PNG SCROLLBARS SVG TIFF WEBP XAW XAW3D XFT \ XIM XPM XWIDGETS .endif OPTIONS_SUB= YES ACL_DESC= Access control list support CAIRO_DESC= Cairo graphics library support [implies PNG] FILENOTIFY_DESC= File notification support GFILE_DESC= File notification via gfile GRAPHICS_DESC= Graphics support GSETTINGS_DESC= GSettings API for application settings HARFBUZZ_DESC= HarfBuzz for text shaping KQUEUE_DESC= File notification via kqueue M17N_DESC= M17N support for text-shaping [implies XFT] MAGICK_DESC= ImageMagick image processing support (deprecated) MAILUTILS_DESC= Mail framework via GNU Mailutils MODULES_DESC= Dynamic modules support NATIVECOMP_DESC= Emacs Lisp native compiler support (experimental) OTF_DESC= Opentype fonts [implies XFT] PGTK_DESC= Pure GTK GUI [implies CAIRO, GTK3] SCROLLBARS_DESC= Toolkit scroll-bars SOURCES_DESC= Install sources SVG_DESC= Scalable vector graphics support [implies PNG] X11TOOLKIT_DESC= X11 toolkit XAW3D_DESC= Athena3D widgets XAW_DESC= Athena widgets XIM_DESC= X Input Method XWIDGETS_DESC= Experimental GTK widgets [implies GTK3] ACL_CONFIGURE_ENABLE= acl ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ON= --with-sound=alsa CAIRO_IMPLIES= PNG CAIRO_PREVENTS= XFT CAIRO_USE= GNOME=cairo CAIRO_CONFIGURE_WITH= cairo DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CONFIGURE_WITH= dbus GFILE_USE= GNOME=glib20 GFILE_CONFIGURE_ON= --with-file-notification=gfile GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CONFIGURE_WITH= gif GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_WITH= gnutls GSETTINGS_USE= GNOME=glib20 GSETTINGS_CONFIGURE_WITH= gsettings GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 GTK2_USE= GNOME=cairo,gtk20 GTK2_CONFIGURE_ON= --with-x-toolkit=gtk2 GTK3_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 GTK3_USE= GNOME=cairo,gtk30 GTK3_CONFIGURE_ON= --with-x-toolkit=gtk3 HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_CONFIGURE_WITH= harfbuzz JPEG_USES= jpeg JPEG_CONFIGURE_WITH= jpeg JSON_LIB_DEPENDS= libjansson.so:devel/jansson JSON_CONFIGURE_WITH= json KQUEUE_CONFIGURE_ON= --with-file-notification=kqueue LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CONFIGURE_WITH= lcms2 #LTO_CONFIGURE_ON= --enable-link-time-optimization M17N_IMPLIES= XFT M17N_LIB_DEPENDS= libm17n.so:devel/m17n-lib M17N_CONFIGURE_WITH= m17n-flt MAGICK_USES= magick:7 MAGICK_CONFIGURE_WITH= imagemagick MAILUTILS_LIB_DEPENDS= libmailutils.so:mail/mailutils MAILUTILS_CONFIGURE_WITH= mailutils MAILUTILS_CONFIGURE_ENV_OFF= ac_cv_lib_lockfile_maillock=no \ ac_cv_prog_liblockfile=no MODULES_CONFIGURE_WITH= modules NATIVECOMP_LIB_DEPENDS= libgccjit.so:lang/${_GCC_PORT} NATIVECOMP_CONFIGURE_WITH= native-compilation NATIVECOMP_MAKE_ARGS= NATIVE_FULL_AOT=1 NATIVECOMP_LDFLAGS= -L${LOCALBASE}/lib/${_GCC_PORT} OSS_CONFIGURE_ON= --with-sound=oss OTF_LIB_DEPENDS= libotf.so:print/libotf OTF_CONFIGURE_WITH= libotf PGTK_IMPLIES= CAIRO GTK3 PGTK_PREVENTS= M17N XFT XPM PGTK_CONFIGURE_WITH= pgtk PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_WITH= png SCROLLBARS_CONFIGURE_WITH= toolkit-scroll-bars SQLITE3_USES= sqlite:3 SQLITE3_CONFIGURE_WITH= sqlite3 SVG_IMPLIES= PNG SVG_USE= GNOME=cairo,librsvg2 SVG_CONFIGURE_WITH= rsvg THREADS_CONFIGURE_WITH= threads TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_WITH= tiff WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_WITH= webp XAW3D_LIB_DEPENDS= libXaw3d.so:x11-toolkits/Xaw3d XAW3D_CONFIGURE_ON= --with-x-toolkit=athena XAW_USE= XORG=xaw XAW_CONFIGURE_ON= --with-x-toolkit=athena \ --without-xaw3d XFT_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 XFT_USE= XORG=xft,xrender XFT_CONFIGURE_WITH= xft XIM_CONFIGURE_WITH= xim # keep XML_USES=gnome, because nox flavor does not have USES=gnome XML_USES= gnome XML_USE= GNOME=libxml2 XML_CONFIGURE_WITH= xml2 XPM_USE= XORG=xpm XPM_CONFIGURE_WITH= xpm XWIDGETS_IMPLIES= GTK3 XWIDGETS_LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 XWIDGETS_USE= XORG=xcomposite XWIDGETS_CONFIGURE_WITH= xwidgets .include .if ${ARCH:Mpowerpc64*} USE_GCC= yes .endif .if ${PORT_OPTIONS:MNATIVECOMP} NATIVECOMP_COMMENT_END= NATIVECOMP_COMMENT_START= .else NATIVECOMP_COMMENT_END= '*/' NATIVECOMP_COMMENT_START= '/*' .endif .if ${PORT_OPTIONS:MNATIVECOMP} && !defined(_GCC_PORT_CHOSEN) _GCC_PORT!= ${BSDMAKE} -V_GCC_PORT USE_GCC=11+ _GCC_PORT_CHOSEN=yes .endif .if ${FLAVOR:U} != nox USES+= desktop-file-utils gnome .if !${PORT_OPTIONS:MPGTK} USES+= xorg USE_XORG+= ice sm x11 xcb xcomposite xext xfixes xi xinerama xmu xrandr \ xrender xt .endif .endif .if !${PORT_OPTIONS:MGTK2} && !${PORT_OPTIONS:MGTK3} && !${PORT_OPTIONS:MXAW} && \ !${PORT_OPTIONS:MXAW3D} CONFIGURE_ARGS+= --with-x-toolkit=no .endif # Schema generation is dependent on both PGTK, and GSETTINGS options # as per https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=183936ee8e5 .if ${PORT_OPTIONS:MGSETTINGS} && ${PORT_OPTIONS:MPGTK} GLIB_SCHEMAS+= org.gnu.emacs.defaults.gschema.xml .endif .if ${FLAVOR} == nox # With a desktop entry stage-qa will give a warning about requiring # desktop-file-utils and portlint -C will give a warning about INSTALLS_ICONS, # but don't pull in those dependencies with the nox flavor. post-patch: @${REINPLACE_CMD} -e 's/^Terminal=.*$$/Terminal=true/' ${WRKSRC}/etc/emacs.desktop .endif pre-configure: @(cd ${WRKSRC} && ./autogen.sh all) @${REINPLACE_CMD} \ -e '/emacs-repository-version/s/^.*$$/(setq emacs-repository-version "${GH_TAGNAME}")/' \ -e '/emacs-repository-branch/s/^.*$$/(setq emacs-repository-branch "master")/' \ ${WRKSRC}/lisp/loadup.el post-install: @${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd @(cd ${STAGEDIR}${PREFIX} && ${FIND} libexec/emacs/${DISTVERSION:R}/${CONFIGURE_TARGET}/ -name emacs-*.pdmp >> ${TMPPLIST}) post-install-MAILUTILS-on: ${LN} -sf ${PREFIX}/bin/movemail \ ${STAGEDIR}${PREFIX}/libexec/emacs/${DISTVERSION:R}/${CONFIGURE_TARGET} # Natively compiled elisp files names include build checksum information, so add # these files to the plist after the build. post-install-NATIVECOMP-on: @(cd ${WRKSRC} && ${FIND} native-lisp -type f | ${SED} -e 's,^,lib/emacs/${DISTVERSION:R}/,') >> ${TMPPLIST} @${FIND} ${STAGEDIR}${PREFIX}/lib/emacs/${DISTVERSION:R}/native-lisp/ -name '*.eln*' -exec ${STRIP_CMD} {} + post-install-SOURCES-on: @${MKDIR} ${STAGEDIR}${DATADIR}/${DISTVERSION:R}/src ${INSTALL_DATA} ${WRKSRC}/src/*.[ch] ${STAGEDIR}${DATADIR}/${DISTVERSION:R}/src ${INSTALL_DATA} ${WRKDIR}/sources.el ${STAGEDIR}${DATADIR}/${DISTVERSION:R}/site-lisp/site-start.el .include diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile index 482693883c3a..f6244cd6e22e 100644 --- a/editors/emacs/Makefile +++ b/editors/emacs/Makefile @@ -1,269 +1,267 @@ -# Created by: MANTANI Nobutaka - PORTNAME= emacs DISTVERSION= 28.1 PORTREVISION= 1 PORTEPOCH= 3 CATEGORIES= editors MASTER_SITES= GNU .if ${FLAVOR:U} == canna PATCH_SITES+= https://www.gentei.org/~yuuji/software/emacs28canna/:canna PATCHFILES+= emacs28.1-canna-20220406b.diff.gz:-p1:canna .endif MAINTAINER= emacs@FreeBSD.org COMMENT= GNU editing macros ${COMMENT_${FLAVOR}} COMMENT_nox= (No X flavor) COMMENT_canna= (Canna Japanese input flavor) LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgmp.so:math/gmp FLAVORS= full canna nox canna_PKGNAMESUFFIX= -canna canna_LIB_DEPENDS= libcanna.so:japanese/canna-lib canna_CONFLICTS_INSTALL= emacs emacs-nox canna_DESCR= ${.CURDIR}/pkg-descr-canna full_CONFLICTS_INSTALL= emacs-canna emacs-nox nox_PKGNAMESUFFIX= -nox nox_CONFLICTS_INSTALL= emacs emacs-canna USES= cpe gmake localbase:ldflags makeinfo ncurses pkgconfig tar:xz CPE_VENDOR= gnu .if ${FLAVOR:U} != nox USES+= desktop-file-utils gnome xorg USE_XORG= ice sm x11 xcb xext xfixes xinerama xmu xrandr xt .endif GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-build-details \ --localstatedir=/var \ --without-libsystemd \ --without-gconf \ --without-selinux .if ${FLAVOR:U} == canna CONFIGURE_ARGS+= --with-canna .endif .if ${FLAVOR:U} == nox CONFIGURE_ARGS+= --with-sound=no \ --with-x-toolkit=no \ --without-cairo \ --without-dbus \ --without-gif \ --without-gsettings \ --without-imagemagick \ --without-jpeg \ --without-lcms2 \ --without-libotf \ --without-m17n-flt \ --without-png \ --without-rsvg \ --without-tiff \ --without-toolkit-scroll-bars \ --without-x \ --without-xim \ --without-xpm \ --without-xwidgets .else CONFIGURE_ARGS+= --with-x .endif # See r468320 to determine if/when the next line can be removed CONFIGURE_ENV= ac_cv_header_sys_sysinfo_h=no CONFLICTS_INSTALL= emacs-devel emacs-devel-nox SUB_FILES= sources.el SUB_LIST= EMACS_VER=${DISTVERSION} INFO= auth autotype bovine calc ccmode cl dbus dired-x ebrowse ede \ ediff edt efaq eieio eintr elisp emacs emacs-gnutls emacs-mime \ epa erc ert eshell eudc eww flymake forms gnus htmlfontify \ idlwave ido info mairix-el message mh-e modus-themes newsticker \ nxml-mode octave-mode org pcl-cvs pgg rcirc reftex remember \ sasl sc semantic ses sieve smtpmail speedbar srecode todo-mode \ tramp transient url vhdl-mode vip viper widget wisent woman INFO_PATH= ${DATADIR_REL}/info .if ${FLAVOR:U} == canna PLIST_FILES+= ${DATADIR}/${DISTVERSION}/lisp/canna.el.gz \ ${DATADIR}/${DISTVERSION}/lisp/canna.elc \ ${DATADIR}/${DISTVERSION}/lisp/isearch-ext.el.gz \ ${DATADIR}/${DISTVERSION}/lisp/isearch-ext.elc .endif PLIST_SUB= EMACS_VER=${DISTVERSION} \ GNU_HOST=${CONFIGURE_TARGET} OPTIONS_DEFINE= ACL DBUS FCITXPATCH GNUTLS GSETTINGS \ HARFBUZZ JSON LCMS2 M17N MAILUTILS MODULES \ NATIVECOMP OTF SCROLLBARS SOURCES THREADS XFT \ XIM XML XWIDGETS OPTIONS_DEFAULT= ACL CAIRO DBUS GIF GNUTLS GSETTINGS GTK3 \ HARFBUZZ JPEG JSON KQUEUE LCMS2 M17N MAILUTILS \ MODULES OSS OTF PNG SCROLLBARS SOURCES SVG \ THREADS TIFF XFT XIM XML XPM OPTIONS_GROUP= GRAPHICS OPTIONS_GROUP_GRAPHICS= CAIRO GIF JPEG MAGICK PNG SVG TIFF XPM OPTIONS_RADIO= FILENOTIFY SOUND X11TOOLKIT OPTIONS_RADIO_FILENOTIFY= GFILE KQUEUE OPTIONS_RADIO_SOUND= ALSA OSS OPTIONS_RADIO_X11TOOLKIT= GTK2 GTK3 MOTIF XAW XAW3D .if ${FLAVOR:U} == nox OPTIONS_EXCLUDE= ALSA CAIRO DBUS FCITXPATCH GFILE GIF \ GSETTINGS GTK2 GTK3 HARFBUZZ JPEG LCMS2 M17N \ MAGICK MOTIF OSS OTF PNG SCROLLBARS SVG TIFF \ XAW XAW3D XFT XIM XPM XWIDGETS .endif OPTIONS_SUB= YES ACL_DESC= Access control list support CAIRO_DESC= Cairo graphics library support [implies PNG, XFT] FCITXPATCH_DESC= Patch to pass C-Space to Fcitx input method FILENOTIFY_DESC= File notification support GFILE_DESC= File notification via gfile GRAPHICS_DESC= Graphics support GSETTINGS_DESC= GSettings API for application settings HARFBUZZ_DESC= HarfBuzz for text shaping KQUEUE_DESC= File notification via kqueue M17N_DESC= M17N support for text-shaping [implies XFT] MAGICK_DESC= ImageMagick image processing support (deprecated) MAILUTILS_DESC= Mail framework via GNU Mailutils MODULES_DESC= Dynamic modules support NATIVECOMP_DESC= Emacs Lisp native compiler support (experimental) OTF_DESC= Opentype fonts [implies XFT] SCROLLBARS_DESC= Toolkit scroll-bars SOURCES_DESC= Install sources SVG_DESC= Scalable vector graphics support [implies PNG] X11TOOLKIT_DESC= X11 toolkit XAW3D_DESC= Athena3D widgets XAW_DESC= Athena widgets XIM_DESC= X Input Method XWIDGETS_DESC= Experimental GTK widgets [implies GTK3] ACL_CONFIGURE_ENABLE= acl ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ON= --with-sound=alsa CAIRO_IMPLIES= PNG XFT CAIRO_USE= GNOME=cairo CAIRO_CONFIGURE_WITH= cairo DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CONFIGURE_WITH= dbus FCITXPATCH_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_xfns.c GFILE_USE= GNOME=glib20 GFILE_CONFIGURE_ON= --with-file-notification=gfile GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CONFIGURE_WITH= gif GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_WITH= gnutls GSETTINGS_USE= GNOME=glib20 GSETTINGS_CONFIGURE_WITH= gsettings GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 GTK2_USE= GNOME=cairo,gtk20 GTK2_CONFIGURE_ON= --with-x-toolkit=gtk2 GTK3_USE= GNOME=cairo,gtk30 GTK3_CONFIGURE_ON= --with-x-toolkit=gtk3 HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_CONFIGURE_WITH= harfbuzz JPEG_USES= jpeg JPEG_CONFIGURE_WITH= jpeg JSON_LIB_DEPENDS= libjansson.so:devel/jansson JSON_CONFIGURE_WITH= json KQUEUE_CONFIGURE_ON= --with-file-notification=kqueue LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CONFIGURE_WITH= lcms2 #LTO_CONFIGURE_ON= --enable-link-time-optimization M17N_IMPLIES= XFT M17N_LIB_DEPENDS= libm17n.so:devel/m17n-lib M17N_CONFIGURE_WITH= m17n-flt MAGICK_USES= magick:7 MAGICK_CONFIGURE_WITH= imagemagick MAILUTILS_LIB_DEPENDS= libmailutils.so:mail/mailutils MAILUTILS_CONFIGURE_WITH= mailutils MAILUTILS_CONFIGURE_ENV_OFF= ac_cv_lib_lockfile_maillock=no \ ac_cv_prog_liblockfile=no MODULES_CONFIGURE_WITH= modules MOTIF_USES= motif MOTIF_CONFIGURE_ON= --with-x-toolkit=motif NATIVECOMP_LIB_DEPENDS= libgccjit.so:lang/${_GCC_PORT} NATIVECOMP_CONFIGURE_WITH= native-compilation NATIVECOMP_MAKE_ARGS= NATIVE_FULL_AOT=1 NATIVECOMP_LDFLAGS= -L${LOCALBASE}/lib/${_GCC_PORT} OSS_CONFIGURE_ON= --with-sound=oss OTF_IMPLIES= XFT OTF_LIB_DEPENDS= libotf.so:print/libotf OTF_CONFIGURE_WITH= libotf PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_WITH= png SCROLLBARS_CONFIGURE_WITH= toolkit-scroll-bars .if ${FLAVOR:U} == canna SOURCES_PLIST_FILES= ${DATADIR}/${DISTVERSION}/src/canna.c .endif SVG_IMPLIES= PNG SVG_USE= GNOME=cairo,librsvg2 SVG_CONFIGURE_WITH= rsvg THREADS_CONFIGURE_WITH= threads TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_WITH= tiff XAW3D_LIB_DEPENDS= libXaw3d.so:x11-toolkits/Xaw3d XAW3D_CONFIGURE_ON= --with-x-toolkit=athena XAW_USE= XORG=xaw XAW_CONFIGURE_ON= --with-x-toolkit=athena \ --without-xaw3d XFT_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 XFT_USE= XORG=xft,xrender XFT_CONFIGURE_WITH= xft XIM_CONFIGURE_WITH= xim # keep XML_USES=gnome, because nox flavor does not have USES=gnome XML_USES= gnome XML_USE= GNOME=libxml2 XML_CONFIGURE_WITH= xml2 XPM_USE= XORG=xpm XPM_CONFIGURE_WITH= xpm XWIDGETS_IMPLIES= GTK3 XWIDGETS_LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 XWIDGETS_USE= XORG=xcomposite XWIDGETS_CONFIGURE_WITH= xwidgets .include .if ${PORT_OPTIONS:MNATIVECOMP} && !defined(_GCC_PORT_CHOSEN) _GCC_PORT!= ${BSDMAKE} -V_GCC_PORT USE_GCC=11+ _GCC_PORT_CHOSEN=yes .endif .if !${PORT_OPTIONS:MGTK2} && !${PORT_OPTIONS:MGTK3} && !${PORT_OPTIONS:MMOTIF} && \ !${PORT_OPTIONS:MXAW} && !${PORT_OPTIONS:MXAW3D} CONFIGURE_ARGS+= --with-x-toolkit=no .endif .if ${FLAVOR} == nox # With a desktop entry stage-qa will give a warning about requiring # desktop-file-utils and portlint -C will give a warning about INSTALLS_ICONS, # but don't pull in those dependencies with the nox flavor. post-patch: @${REINPLACE_CMD} -e 's/^Terminal=.*$$/Terminal=true/' ${WRKSRC}/etc/emacs.desktop .endif post-install: @${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd post-install-MAILUTILS-on: ${LN} -sf ${PREFIX}/bin/movemail \ ${STAGEDIR}${PREFIX}/libexec/emacs/${DISTVERSION}/${CONFIGURE_TARGET} # Natively compiled elisp files names include build checksum information, so add # these files to the plist after the build. post-install-NATIVECOMP-on: @(cd ${WRKSRC} && ${FIND} native-lisp -type f | ${SED} -e 's,^,lib/emacs/${DISTVERSION}/,') >> ${TMPPLIST} # @${FIND} ${STAGEDIR}${PREFIX}/lib/emacs/${DISTVERSION:R}/native-lisp/ -name '*.eln*' -exec ${STRIP_CMD} {} + post-install-SOURCES-on: @${MKDIR} ${STAGEDIR}${DATADIR}/${DISTVERSION}/src ${INSTALL_DATA} ${WRKSRC}/src/*.[ch] ${STAGEDIR}${DATADIR}/${DISTVERSION}/src ${INSTALL_DATA} ${WRKDIR}/sources.el ${STAGEDIR}${DATADIR}/${DISTVERSION}/site-lisp/site-start.el .include diff --git a/editors/encryptpad/Makefile b/editors/encryptpad/Makefile index 78e674b4b084..1fc266b0d592 100644 --- a/editors/encryptpad/Makefile +++ b/editors/encryptpad/Makefile @@ -1,67 +1,65 @@ -# Created by: Dmitri Goutnik - PORTNAME= encryptpad DISTVERSIONPREFIX= v DISTVERSION= 0.5.0.1 CATEGORIES= editors security MAINTAINER= dmgk@FreeBSD.org COMMENT= Minimalist secure text editor and binary encryptor LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/license.txt LIB_DEPENDS= libbotan-2.so:security/botan2 USES= compiler:c++11-lang desktop-file-utils gl gmake pkgconfig \ python:build qt:5 shared-mime-info shebangfix USE_GITHUB= yes GH_ACCOUNT= evpo GH_PROJECT= EncryptPad USE_GL= gl USE_QT= core gui widgets buildtools_build qmake_build BINARY_ALIAS= python=${PYTHON_CMD} \ qmake=${QMAKE} PORTDOCS= * OPTIONS_DEFINE= DOCS .include .if ${ARCH} == powerpc64 CONFIGURE_ARGS= --cpu="${ARCH}" .endif .include post-patch: .if ${CHOSEN_COMPILER_TYPE} == gcc ${REINPLACE_CMD} -e 's/freebsd-clang/freebsd-g++/' \ ${WRKSRC}/build/Makefile.qt_ui .endif do-configure: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./configure.py ${CONFIGURE_ARGS} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/release/* ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/encryptpad.desktop \ ${STAGEDIR}${PREFIX}/share/applications @${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages ${INSTALL_DATA} ${WRKSRC}/encryptpad.xml \ ${STAGEDIR}${PREFIX}/share/mime/packages .for sz in 16 32 128 256 512 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${sz}x${sz}/apps ${INSTALL_DATA} ${WRKSRC}/images/icns.iconset/icon_${sz}x${sz}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${sz}x${sz}/apps/encryptpad.png .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}/${DOCSDIR} .include diff --git a/editors/featherpad/Makefile b/editors/featherpad/Makefile index ee3ebc94b922..5b9e4b3aaf36 100644 --- a/editors/featherpad/Makefile +++ b/editors/featherpad/Makefile @@ -1,26 +1,24 @@ -# Created by: Olivier Duchateau - PORTNAME= featherpad PORTVERSION= 1.2.0 DISTVERSIONPREFIX= V CATEGORIES= editors MAINTAINER= jsm@FreeBSD.org COMMENT= Lightweight Qt5 plain-text editor LICENSE= GPLv3 LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell USES= compiler:c++11-lang desktop-file-utils pkgconfig cmake qt:5 gl xorg USE_GITHUB= yes GH_ACCOUNT= tsujan GH_PROJECT= FeatherPad USE_QT= buildtools_build qmake_build core dbus gui printsupport network \ svg widgets x11extras linguisttools USE_XORG= x11 sm ice xext USE_GL= gl .include diff --git a/editors/fileobj/Makefile b/editors/fileobj/Makefile index 7721638fff4f..67e26b3063d5 100644 --- a/editors/fileobj/Makefile +++ b/editors/fileobj/Makefile @@ -1,25 +1,23 @@ -# Created by: Rimvydas Jasinskas - PORTNAME= fileobj DISTVERSIONPREFIX= v DISTVERSION= 0.7.108 CATEGORIES= editors MAINTAINER= zrj@dragonflybsd.org COMMENT= Portable hex editor with vi like interface LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING USES= python:3.6+ USE_GITHUB= yes GH_ACCOUNT= kusumi USE_PYTHON= autoplist concurrent distutils optsuffix PLIST_FILES= man/man1/fileobj.1.gz post-install: ${INSTALL_MAN} ${WRKSRC}/doc/fileobj.1 \ ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/editors/flim/Makefile b/editors/flim/Makefile index c089327be625..1d639590a07c 100644 --- a/editors/flim/Makefile +++ b/editors/flim/Makefile @@ -1,56 +1,54 @@ -# Created by: Shigeyuki FUKUSHIMA - PORTNAME= flim PORTVERSION= 1.14.9.${SNAPDATE} PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= editors elisp PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} MAINTAINER= nobutaka@FreeBSD.org COMMENT= Message representation or encoding elisp library for emacs LICENSE= GPLv2 BUILD_DEPENDS= apel${EMACS_PKGNAMESUFFIX}>0:editors/apel@${EMACS_FLAVOR} RUN_DEPENDS= apel${EMACS_PKGNAMESUFFIX}>0:editors/apel@${EMACS_FLAVOR} USES= cpe emacs iconv makeinfo USE_GITHUB= yes GH_ACCOUNT= wanderlust GH_TAGNAME= 02735de SNAPDATE= 20210529 CPE_VENDOR= gnu NO_ARCH= yes ALL_TARGET= elc MAKE_ARGS+= PREFIX="${STAGEDIR}${PREFIX}" \ LISPDIR="${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}" \ VERSION_SPECIFIC_LISPDIR="${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}" INFO= mime-en mime-ja OPTIONS_DEFINE= DOCS post-build: @(cd ${WRKSRC} ; \ for i in mime-en.texi mime-ja.texi; do \ ${MAKEINFO} --no-split --no-validate $${i} ; \ done) post-install: @(cd ${WRKSRC} ; \ for i in mime-en.info mime-ja.info; do \ ${INSTALL_DATA} ${WRKSRC}/$${i} ${STAGEDIR}${PREFIX}/${INFO_PATH} ; \ done) post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC} ; \ for i in NEWS README.* VERSION ; do \ ${INSTALL_DATA} $${i} ${STAGEDIR}${DOCSDIR}/ ; \ done) .include diff --git a/editors/focuswriter/Makefile b/editors/focuswriter/Makefile index 487cae77f958..d5188b5a1cda 100644 --- a/editors/focuswriter/Makefile +++ b/editors/focuswriter/Makefile @@ -1,42 +1,40 @@ -# Created by: lightside - PORTNAME= focuswriter DISTVERSIONPREFIX= v DISTVERSION= 1.7.6 PORTREVISION= 1 CATEGORIES= editors MAINTAINER= ports@FreeBSD.org COMMENT= Simple, distraction-free writing environment LICENSE= GPLv3+ LGPL3+ LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL3+ = ${WRKSRC}/resources/images/icons/oxygen/COPYING LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell USES= compiler:c++11-lib desktop-file-utils gl pkgconfig qmake qt:5 USE_GITHUB= yes GH_ACCOUNT= gottcode USE_GL= gl USE_QT= concurrent core gui multimedia network printsupport widgets \ buildtools_build linguisttools_build PORTDATA= * PORTDOCS= ChangeLog CREDITS README OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/INSTALLS/s/man //' \ ${WRKSRC}/focuswriter.pro post-install: ${INSTALL_MAN} ${WRKSRC}/resources/unix/focuswriter.1 \ ${STAGEDIR}${MANPREFIX}/man/man1 post-install-DOCS-on: cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR} .include diff --git a/editors/fpc-ide/Makefile b/editors/fpc-ide/Makefile index 1ef4d0183304..8622b3e1c685 100644 --- a/editors/fpc-ide/Makefile +++ b/editors/fpc-ide/Makefile @@ -1,15 +1,13 @@ -# Created by: John Merryweather Cooper et al - CATEGORIES= editors lang PKGNAMESUFFIX= -ide COMMENT= Free Pascal integrated IDE/compiler USES= fpc USE_FPC= chm fv gdbint regexpr rtl-console rtl-extra rtl-generics fcl-xml MASTERDIR= ${.CURDIR}/../../lang/fpc WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//} EXTRACTUNITDIR= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/compiler .include "${MASTERDIR}/Makefile" diff --git a/editors/fte/Makefile b/editors/fte/Makefile index e6da541d03b1..2c6afb77fede 100644 --- a/editors/fte/Makefile +++ b/editors/fte/Makefile @@ -1,47 +1,45 @@ -# Created by: gelf - PORTNAME= fte PORTVERSION= 20110708 CATEGORIES= editors MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX} \ ${DISTNAME}-common${EXTRACT_SUFX} DIST_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Full-featured text editor for X11 LICENSE= ART10 GPLv2 LICENSE_COMB= dual WRKSRC= ${WRKDIR}/fte USES= perl5 zip xorg USE_PERL5= build USE_XORG= x11 xpm CFLAGS+= -DHAVE_STRLCAT -DHAVE_STRLCPY MAKE_ENV= INSTALL_NONROOT=1 OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|^PREFIX=|PREFIX?=|' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e \ 's|\([[:space:]]\)\($$BINDIR\)|\1$$DESTDIR\2|g ; \ s|\([[:space:]]\)\($$LIBDIR\)|\1$$DESTDIR\2|g ; \ s|\([[:space:]]\)\($$CONFIGDIR\)|\1$$DESTDIR\2|g ; \ s|\([[:space:]]\)\($$LOCALCONFIGDIR\)|\1$$DESTDIR\2|g ; \ /fterc/s|^|#|' ${WRKSRC}/install post-install: .for i in cfte xfte @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${i} .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include diff --git a/editors/fxite/Makefile b/editors/fxite/Makefile index 291bd3fe0c68..92ed8480a534 100644 --- a/editors/fxite/Makefile +++ b/editors/fxite/Makefile @@ -1,47 +1,45 @@ -# Created by: gahr - PORTNAME= fxite DISTVERSIONPREFIX= FXITE- DISTVERSION= 0_92 PORTREVISION= 4 CATEGORIES= editors MAINTAINER= ports@FreeBSD.org COMMENT= Advanced cross-platform text editor LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING USE_GITHUB= yes GH_ACCOUNT= yetanothergeek USES= autoreconf desktop-file-utils gettext gmake lua:52 pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-system-lua \ --with-lua-pkg=lua-${LUA_VER} CXXFLAGS+= -fPIC LDFLAGS+= -L${LOCALBASE}/lib -lintl PLIST_FILES= bin/fxite \ share/applications/fxite.desktop \ share/pixmaps/fxite.xpm OPTIONS_SINGLE= TOOLKIT OPTIONS_SINGLE_TOOLKIT= FOX16 FOX17 OPTIONS_DEFAULT= FOX16 FOX16_DESC= Fox 1.6 GUI toolkit support FOX16_LIB_DEPENDS= libFOX-1.6.so:x11-toolkits/fox16 FOX16_CONFIGURE_ENV= FOX_CFLAGS="$$(fox-config --cflags)" \ FOX_LIBS="$$(fox-config --libs)" \ RESWRAP="${LOCALBASE}/bin/reswrap" FOX17_DESC= Fox 1.7 GUI toolkit support FOX17_BROKEN= Fails to build: recorder.cpp:104:9: error: no matching member function for call to 'prepend' FOX17_LIB_DEPENDS= libFOX-1.7.so:x11-toolkits/fox17 FOX17_CONFIGURE_ENV= FOX_CFLAGS="$$(pkgconf fox17 --cflags)" \ FOX_LIBS="$$(pkgconf fox17 --libs) -lX11" \ RESWRAP="${LOCALBASE}/bin/fox-1.7/reswrap" TOOLKIT_DESC= GUI toolkit .include diff --git a/editors/gedit-plugins/Makefile b/editors/gedit-plugins/Makefile index 47f6369ed1e3..f31b7f89a1b8 100644 --- a/editors/gedit-plugins/Makefile +++ b/editors/gedit-plugins/Makefile @@ -1,43 +1,41 @@ -# Created by: Adam Weinberger - PORTNAME= gedit-plugins PORTVERSION= 42.1 CATEGORIES= editors gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Plugins for GEdit LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gedit>=0:editors/gedit \ valac:lang/vala \ itstool:textproc/itstool \ ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} LIB_DEPENDS= libpeas-1.0.so:devel/libpeas \ libgit2-glib-1.0.so:devel/libgit2-glib \ libgucharmap_2_90.so:deskutils/gucharmap RUN_DEPENDS= gedit>=0:editors/gedit \ ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py-libpeas@${PY_FLAVOR} PORTSCOUT= limitw:1,even USES= compiler:c11 gettext gnome localbase meson pkgconfig \ python:3.4+ shebangfix tar:xz USE_GNOME= cairo gdkpixbuf2 gtk30 gtksourceview4 intlhack introspection \ vte3 USE_CSTD= c11 USE_LDCONFIG= yes INSTALL_TARGET= install-strip SHEBANG_FILES= plugins/synctex/synctex/evince_dbus.py BINARY_ALIAS= python3=${PYTHON_CMD} GLIB_SCHEMAS= org.gnome.gedit.plugins.drawspaces.gschema.xml \ org.gnome.gedit.plugins.wordcompletion.gschema.xml \ org.gnome.gedit.plugins.terminal.gschema.xml \ org.gnome.gedit.plugins.translate.gschema.xml .include diff --git a/editors/gedit/Makefile b/editors/gedit/Makefile index e09088550875..3c457b21258c 100644 --- a/editors/gedit/Makefile +++ b/editors/gedit/Makefile @@ -1,55 +1,53 @@ -# Created by: Joe Marcus Clarke - PORTNAME= gedit PORTVERSION= 42.1 CATEGORIES= editors gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Small but powerful text editor for the GNOME Desktop Environment LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= iso-codes>=0:misc/iso-codes \ vala:lang/vala \ gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ itstool:textproc/itstool LIB_DEPENDS= libenchant.so:textproc/enchant \ libpeas-gtk-1.0.so:devel/libpeas \ libgspell-1.so:textproc/gspell \ libsoup-2.4.so:devel/libsoup \ libtepl-6.so:x11-toolkits/tepl6 \ libamtk-5.so:x11-toolkits/amtk RUN_DEPENDS= iso-codes>=0:misc/iso-codes \ gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ ${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py-libpeas@${PY_FLAVOR} PORTSCOUT= limitw:1,even USES= compiler:c11 cpe desktop-file-utils gettext gnome localbase meson \ pkgconfig python:3.4+ tar:xz xorg USE_CSTD= c11 USE_GNOME= cairo gdkpixbuf2 gtksourceview4 intlhack introspection \ libxml2 pygobject3 USE_XORG= sm x11 USE_LDCONFIG= yes PLIST_SUB= VERSION=41 INSTALL_TARGET= install-strip MESON_ARGS+= --buildtype plain BINARY_ALIAS= python3=${PYTHON_CMD} CPE_VENDOR= gnome GLIB_SCHEMAS= org.gnome.gedit.enums.xml \ org.gnome.gedit.plugins.externaltools.gschema.xml \ org.gnome.gedit.gschema.xml \ org.gnome.gedit.plugins.filebrowser.enums.xml \ org.gnome.gedit.plugins.filebrowser.gschema.xml \ org.gnome.gedit.plugins.pythonconsole.gschema.xml \ org.gnome.gedit.plugins.time.enums.xml \ org.gnome.gedit.plugins.time.gschema.xml \ org.gnome.gedit.plugins.spell.gschema.xml .include diff --git a/editors/ghex/Makefile b/editors/ghex/Makefile index 6c0f18b3e14d..71e45d19910e 100644 --- a/editors/ghex/Makefile +++ b/editors/ghex/Makefile @@ -1,25 +1,23 @@ -# Created by: Joe Marcus Clarke - PORTNAME= ghex PORTVERSION= 3.41.1 CATEGORIES= editors gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME 3 hex editor LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool USES= gettext gnome libtool localbase meson pathfix pkgconfig \ tar:xz USE_GNOME= cairo gtk30 intlhack libxml2:build USE_LDCONFIG= yes INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.gnome.GHex.gschema.xml .include diff --git a/editors/gmanedit/Makefile b/editors/gmanedit/Makefile index 5218dd50b9ed..c93cb4312f6a 100644 --- a/editors/gmanedit/Makefile +++ b/editors/gmanedit/Makefile @@ -1,21 +1,19 @@ -# Created by: Maxim Sobolev - PORTNAME= gmanedit PORTVERSION= 0.4.2 PORTREVISION= 7 CATEGORIES= editors gnome MASTER_SITES= SF/${PORTNAME}2/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= GNOME manpages editor USES= gettext gmake gnome pathfix pkgconfig USE_GNOME= gtk20 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lz post-patch: @${REINPLACE_CMD} -e '//d' ${WRKSRC}/src/callbacks.c .include diff --git a/editors/gnome-latex/Makefile b/editors/gnome-latex/Makefile index 971300c2c175..1327a056be09 100644 --- a/editors/gnome-latex/Makefile +++ b/editors/gnome-latex/Makefile @@ -1,37 +1,35 @@ -# Created by: Olivier Duchateau - PORTNAME= gnome-latex PORTVERSION= 3.40.0 CATEGORIES= editors MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Integrated LaTeX environment LICENSE= GPLv3 BUILD_DEPENDS= valac:lang/vala \ itstool:textproc/itstool \ gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas LIB_DEPENDS= libgee-0.8.so:devel/libgee \ libfribidi.so:converters/fribidi \ libenchant-2.so:textproc/enchant2 \ libtepl-6.so:x11-toolkits/tepl6 \ libgspell-1.so:textproc/gspell USES= compiler:c11 desktop-file-utils gettext gmake gnome \ pkgconfig tar:xz GNU_CONFIGURE= yes USE_GNOME= cairo dconf intltool gtksourceview4 USE_TEX= latex dvipsk INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls OPTIONS_SUB= yes GLIB_SCHEMAS= org.gnome.gnome-latex.gschema.xml .include diff --git a/editors/gummi/Makefile b/editors/gummi/Makefile index 7260778052ad..74f45588a239 100644 --- a/editors/gummi/Makefile +++ b/editors/gummi/Makefile @@ -1,33 +1,31 @@ -# Created by: Hakisho Nukama - PORTNAME= gummi PORTVERSION= 0.8.1 PORTREVISION= 14 CATEGORIES= editors MASTER_SITES= https://github.com/alexandervdm/gummi/releases/download/${PORTVERSION}/ MAINTAINER= zab@zltech.eu COMMENT= Simple LaTeX editor for GTK users LICENSE= MIT BUILD_DEPENDS= msgfmt:devel/gettext LIB_DEPENDS= libenchant-2.so:textproc/enchant2 \ libgtkspell3-3.so:textproc/gtkspell3 \ libpoppler-glib.so:graphics/poppler-glib \ libsynctex.so:devel/tex-synctex RUN_DEPENDS= etex:print/tex-formats USES= cpe desktop-file-utils gmake gnome iconv pkgconfig xorg CPE_VENDOR= ${PORTNAME}_project GNU_CONFIGURE= yes USE_XORG= xcomposite xcursor xdamage xft USE_GNOME= cairo glib20 gtksourceview3 intlhack OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext .include diff --git a/editors/heme/Makefile b/editors/heme/Makefile index c0d6c98a935f..9a27215f663c 100644 --- a/editors/heme/Makefile +++ b/editors/heme/Makefile @@ -1,28 +1,26 @@ -# Created by: Alexey Dokuchaev - PORTNAME= heme PORTVERSION= 0.4.2 CATEGORIES= editors MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= danfe@FreeBSD.org COMMENT= Small and fast console hex editor for Unix-like systems LICENSE= GPLv2 USES= ncurses ALL_TARGET= ${PORTNAME} MAKE_ARGS= CFLAGS="${CFLAGS} -Wall -DHAVE_MMAP" \ LDFLAGS="${LDFLAGS} -lncurses" \ INSTALL_PREFIX="${STAGEDIR}${PREFIX}" PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz PORTDOCS= README OPTIONS_DEFINE= DOCS post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/editors/hexcurse/Makefile b/editors/hexcurse/Makefile index ad80803842d3..57ac3b2df593 100644 --- a/editors/hexcurse/Makefile +++ b/editors/hexcurse/Makefile @@ -1,23 +1,21 @@ -# Created by: ijliao - PORTNAME= hexcurse PORTVERSION= 1.60.0 DISTVERSIONPREFIX= v CATEGORIES= editors MAINTAINER= ports@FreeBSD.org COMMENT= Versatile ncurses-based hex editor LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= ncurses USE_GITHUB= yes GH_ACCOUNT= LonnyGomes GNU_CONFIGURE= yes PLIST_FILES= bin/hexcurse man/man1/hexcurse.1.gz .include diff --git a/editors/hexedit/Makefile b/editors/hexedit/Makefile index 75fb202db651..9d06d6bb966d 100644 --- a/editors/hexedit/Makefile +++ b/editors/hexedit/Makefile @@ -1,29 +1,27 @@ -# Created by: Andrey Zakhvatov - PORTNAME= hexedit PORTVERSION= 1.6 CATEGORIES= editors MAINTAINER= sunpoet@FreeBSD.org COMMENT= View and edit files in hexadecimal or ASCII LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf ncurses GNU_CONFIGURE= yes PLIST_FILES= bin/hexedit share/man/man1/hexedit.1.gz GH_ACCOUNT= pixel USE_GITHUB= yes post-build: @m4 -DVERSION=${PORTVERSION} ${WRKSRC}/hexedit.1.in > ${WRKSRC}/hexedit.1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hexedit ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/hexedit.1 ${STAGEDIR}${PREFIX}/share/man/man1/ .include diff --git a/editors/hexpert/Makefile b/editors/hexpert/Makefile index a1d6180b350a..75dc570bc1e6 100644 --- a/editors/hexpert/Makefile +++ b/editors/hexpert/Makefile @@ -1,17 +1,15 @@ -# Created by: Peter Wemm - PORTNAME= hexpert PORTVERSION= 2.4.1 CATEGORIES= editors MASTER_SITES= LOCAL/peter MAINTAINER= peter@FreeBSD.org COMMENT= Simple but flexible binary file editor USES= ncurses uidfix MAKE_ENV= MK_MAN=no MAKE_ARGS= LDADD="-lncurses" PLIST_FILES= bin/hex .include diff --git a/editors/hnb/Makefile b/editors/hnb/Makefile index 213d331488a2..04b75b3b03a7 100644 --- a/editors/hnb/Makefile +++ b/editors/hnb/Makefile @@ -1,40 +1,38 @@ -# Created by: Patrick Li - PORTNAME= hnb PORTVERSION= 1.9.18 DISTVERSIONPREFIX= v CATEGORIES= editors MAINTAINER= fox@FreeBSD.org COMMENT= Hierarchical NoteBook a data organizer LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake USE_GITHUB= yes GH_ACCOUNT= fraggerfox MAKE_JOBS_UNSAFE= yes PLIST_FILES= bin/${PORTNAME} \ man/man1/${PORTNAME}.1.gz PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/hnb ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/hnb.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/Documentation.* ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/doc/hnbrc ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/editors/hte/Makefile b/editors/hte/Makefile index 9759ed27bcf1..4949665d4802 100644 --- a/editors/hte/Makefile +++ b/editors/hte/Makefile @@ -1,53 +1,51 @@ -# Created by: Ying-Chieh Liao - PORTNAME= hte PORTVERSION= 2.1.1.g20161206 PORTREVISION= 3 CATEGORIES= editors MAINTAINER= rene@FreeBSD.org COMMENT= File editor/viewer/analyzer for executables LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf compiler:c++14-lang makeinfo ncurses tar:bzip2 USE_GITHUB= yes GH_ACCOUNT= sebastianbiallas GH_PROJECT= ht GH_TAGNAME= e9e63373148da5d7df397d8075740d8c096ecb1d GNU_CONFIGURE= yes PLIST_FILES= bin/hte PORTDOCS= README INFO= hte OPTIONS_DEFINE= DOCS LZO2 X11 OPTIONS_DEFAULT= X11 LZO2_DESC= External lzo2 compression support LZO2_LIB_DEPENDS= liblzo2.so:archivers/lzo2 LZO2_CONFIGURE_OFF= --with-included-lzo X11_DESC= X11 textmode support X11_USES= localbase:ldflags xorg X11_USE= XORG=x11 X11_CONFIGURE_ENABLE= x11-textmode MAKE_JOBS_UNSAFE= yes pre-build: ${MAKE} -C ${WRKSRC}/tools ${MAKE} -C ${WRKSRC}/doc ${MAKE} -C ${WRKSRC} htdoc.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ht ${STAGEDIR}${PREFIX}/bin/hte ${INSTALL_DATA} ${WRKSRC}/doc/hthelp.info \ ${STAGEDIR}${PREFIX}/${INFO_PATH}/hte.info do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/editors/impress/Makefile b/editors/impress/Makefile index dbc727109b9d..2846b7fc5a12 100644 --- a/editors/impress/Makefile +++ b/editors/impress/Makefile @@ -1,37 +1,35 @@ -# Created by: Kris Kennaway - PORTNAME= impress PORTVERSION= 1.1b9 PORTREVISION= 3 CATEGORIES= editors tk MASTER_SITES= http://www.ntlug.org/~ccox/impress/ DISTNAME= imp${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Publishing and presentation tool LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual OPTIONS_DEFINE= DOCS NO_BUILD= yes NO_ARCH= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES+= tk PORTDOCS= * PLIST_FILES= bin/impress post-patch: ${REINPLACE_CMD} -e 's|exec wish|exec ${WISH}|g' \ ${WRKSRC}/src/impress.tcl do-install: ${INSTALL_SCRIPT} ${WRKSRC}/src/impress.tcl ${STAGEDIR}${PREFIX}/bin/impress do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/src/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include diff --git a/editors/jed/Makefile b/editors/jed/Makefile index 0e9fb42bb40d..01b6c0fc2c36 100644 --- a/editors/jed/Makefile +++ b/editors/jed/Makefile @@ -1,71 +1,69 @@ -# Created by: eric - PORTNAME= jed DISTVERSION= 0.99-19 PORTREVISION= 4 CATEGORIES= editors MASTER_SITES= ftp://space.mit.edu/pub/davis/jed/v${PORTVERSION:R}/ \ ftp://ftp.fu-berlin.de/pub/unix/editors/jed/v${PORTVERSION:R}/ \ ftp://ftp.ntua.gr/pub/lang/slang/jed/v${PORTVERSION:R}/ MAINTAINER= garga@FreeBSD.org COMMENT= SLang-based text editor LICENSE= GPLv2 LIB_DEPENDS= libslang.so:devel/libslang2 CONFLICTS= ja-jed OPTIONS_DEFINE= X11 PERMS HOSTLOOKUP DOCS OPTIONS_DEFAULT=X11 HOSTLOOKUP PERMS_DESC= Respect permissions by Root HOSTLOOKUP_DESC=Look-up for hostname OPTIONS_SUB= yes USES= tar:bzip2 DIST_SUBDIR= jed GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes CONFIGURE_ENV+= JED_ROOT=${PREFIX}/lib/jed PORTDOCS= * MAKE_ENV+= DEST_DOC_DIR=${STAGEDIR}${DOCSDIR} ALL_TARGET= all getmail X11_USES= xorg X11_USE= XORG=x11 XORG=ice XORG=xt X11_ALL_TARGET= xjed .include .if empty(PORT_OPTIONS:MHOSTLOOKUP) HOSTNAME_CMD= /bin/hostname EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src__userinfo.c .endif post-patch: @${REINPLACE_CMD} -e 's,(DEST_JED_ROOT)/doc,(DEST_DOC_DIR),g' \ -e 's,\.\./info/\*,,' \ -e 's,^\(JED_DOC_.*FILES\) =,\1 \?=,g' \ ${WRKSRC}/src/Makefile.in .if empty(PORT_OPTIONS:MPERMS) @${REINPLACE_CMD} 's|jed_file_is_readonly (file, 1)|jed_file_is_readonly (file, 0)|' ${WRKSRC}/src/file.c .endif .if empty(PORT_OPTIONS:MHOSTLOOKUP) @${REINPLACE_CMD} -e "s/%%JED_HOSTNAME%%/$$(${HOSTNAME_CMD})/" \ ${WRKSRC}/src/userinfo.c .endif post-configure: @${REINPLACE_CMD} -e 's,\(.usr.bin.install\) *-c,\1 -s -m 555,' \ ${WRKSRC}/src/Makefile post-install: ${INSTALL_DATA} ${WRKSRC}/lib/vms_shell.com ${STAGEDIR}${PREFIX}/lib/jed/lib ${INSTALL_DATA} ${WRKSRC}/lib/README ${STAGEDIR}${PREFIX}/lib/jed/lib ${INSTALL_DATA} ${WRKSRC}/lib/jed.conf ${STAGEDIR}${PREFIX}/lib/jed/lib .include diff --git a/editors/jedit/Makefile b/editors/jedit/Makefile index a3fd0165f437..34da673611bc 100644 --- a/editors/jedit/Makefile +++ b/editors/jedit/Makefile @@ -1,56 +1,54 @@ -# Created by: Maxim Sobolev - PORTNAME= jedit PORTVERSION= 5.6.0 PORTEPOCH= 1 CATEGORIES= editors java MASTER_SITES= SF DISTNAME= ${PORTNAME}${PORTVERSION}install EXTRACT_SUFX= .jar MAINTAINER= danilo@FreeBSD.org COMMENT= Powerful programmer's text editor written in Java LICENSE= GPLv2 OPTIONS_DEFINE= MACROS DOCS MACROS_DESC= Install default set of macros (highly recommended) OPTIONS_DEFAULT= MACROS OPTIONS_SUB= yes USES= cpe xorg USE_JAVA= yes JAVA_VERSION= 11+ USE_XORG= x11 NO_BUILD= yes DATADIR= ${JAVASHAREDIR}/${PORTNAME} DOCSDIR= ${DATADIR}/doc PORTDOCS= * SUB_FILES= jedit.sh DESKTOP_ENTRIES="jEdit" "${COMMENT}" "${PORTNAME}" \ "${PORTNAME}" "Development;" false post-extract: @(cd ${WRKDIR}/installer ; ${TAR} -xjf jedit-api.tar.bz2 ;\ ${TAR} -xjf jedit-macros.tar.bz2 ; \ ${TAR} -xjf jedit-program.tar.bz2) do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKDIR}/installer/${PORTNAME}.jar ${STAGEDIR}${DATADIR}/ .for dir in doc jars keymaps modes properties startup (cd ${WRKDIR}/installer ; ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${DATADIR}/) .endfor (cd ${WRKDIR}/installer ; ${TAR} --exclude 'modes' --exclude 'keymaps' \ -chf - macros | ${TAR} -xf - -C ${STAGEDIR}${DATADIR}/) ${INSTALL_SCRIPT} ${WRKDIR}/jedit.sh ${STAGEDIR}${PREFIX}/bin/jedit ${INSTALL_DATA} ${STAGEDIR}${DATADIR}/doc/jedit.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png ${INSTALL_MAN} ${WRKDIR}/jedit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include diff --git a/editors/joe/Makefile b/editors/joe/Makefile index e5668db8c2d3..a7d87a154de6 100644 --- a/editors/joe/Makefile +++ b/editors/joe/Makefile @@ -1,36 +1,34 @@ -# Created by: torstenb@FreeBSD.org - PORTNAME= joe PORTVERSION= 4.6 PORTEPOCH= 1 CATEGORIES?= editors MASTER_SITES= SF/joe-editor/JOE%20sources/joe-${PORTVERSION} MAINTAINER= juergen.gotteswinter@googlemail.com COMMENT= Joe's Own Editor LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS= jupp USES= gmake iconv localbase ncurses GNU_CONFIGURE= yes CONFIGURE_ENV= SPELL=aspell LIBS+= ${ICONV_LIB} ALL_TARGET= ${PORTNAME} OPTIONS_DEFINE= ASPELL DOCS ASPELL_RUN_DEPENDS= aspell:textproc/aspell post-patch: ${REINPLACE_CMD} -e 's|docs/README.old docs/man.md ||' ${WRKSRC}/Makefile.in post-install: .for rc in ftyperc jmacsrc joerc jpicorc jstarrc rjoerc ${MV} ${STAGEDIR}${ETCDIR}/${rc} ${STAGEDIR}${ETCDIR}/${rc}.sample .endfor .include diff --git a/editors/jove/Makefile b/editors/jove/Makefile index 668025c9304c..d54c3c0ad02b 100644 --- a/editors/jove/Makefile +++ b/editors/jove/Makefile @@ -1,36 +1,34 @@ -# Created by: jkh - PORTNAME= jove PORTVERSION= 4.16 PORTREVISION= 2 CATEGORIES= editors MASTER_SITES= ftp://ftp.cs.toronto.edu/pub/moraes/jove/ARCHIVE/4.16/ \ LOCAL/simon MAINTAINER= ports@FreeBSD.org COMMENT= Jonathan's Own Version of Emacs LICENSE= JOVE LICENSE_NAME= JOVE License LICENSE_FILE= ${WRKSRC}/README LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= ncurses MAKE_ARGS= LIBS="${LDFLAGS} -lncurses" WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= EXTRADOCS EXTRADOCS_DESC= Build and install cmds.doc EXTRADOCS_USES= groff OPTIONS_DEFAULT= OPTIONS_SUB= yes post-patch: # Fix collisions with getline(3) @${REINPLACE_CMD} 's|[[:<:]]getline[[:>:]]|get_line|g' ${WRKSRC}/*.c ${WRKSRC}/*.h post-patch-EXTRADOCS-off: @${REINPLACE_CMD} -E 's|^(all:.*) doc/cmds\.doc$$|\1|' ${WRKSRC}/Makefile @${REINPLACE_CMD} 's|^CMDS.DOC = .*|CMDS.DOC=|' ${WRKSRC}/Makefile .include diff --git a/editors/jucipp/Makefile b/editors/jucipp/Makefile index 06c2280cca8b..2abe79f48971 100644 --- a/editors/jucipp/Makefile +++ b/editors/jucipp/Makefile @@ -1,43 +1,41 @@ -# Created by: Mohammad S. Babaei - PORTNAME= jucipp DISTVERSIONPREFIX= v DISTVERSION= 1.7.1 PORTREVISION= 3 CATEGORIES= editors MAINTAINER= info@babaei.net COMMENT= Lightweight C++-IDE with support for C++11, C++14 and C++17 LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} LIB_DEPENDS= libaspell.so:textproc/aspell \ libboost_filesystem.so:devel/boost-libs \ libgit2.so:devel/libgit2 \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} \ uctags:devel/universal-ctags BROKEN= error: implicit instantiation of undefined template 'std::basic_ifstream' USES= cmake compiler:c++14-lang desktop-file-utils gnome pkgconfig USE_GITLAB= yes GL_ACCOUNT= cppit GL_COMMIT= b3b5182258b25835e7c5f683623ab774d8e34c75 GL_TUPLE= cppit:libclangmm:0df7169ddc918d80a95e50f04813be82fff7ce24:libclangmm/lib/libclangmm \ eidheim:tiny-process-library:15e4f77f8254e4b093f6be128db50fe4b6bee120:tinyprocesslibrary/lib/tiny-process-library USE_GNOME= gdkpixbuf2 gtkmm30 gtksourceviewmm3 CMAKE_ARGS= -DCMAKE_INCLUDE_PATH=${LOCALBASE}/llvm${LLVM_DEFAULT}/include \ -DCMAKE_LIBRARY_PATH=${LOCALBASE}/llvm${LLVM_DEFAULT}/lib PLIST_FILES= bin/juci \ share/applications/juci.desktop \ share/icons/hicolor/scalable/apps/juci.svg OPTIONS_DEFINE= TEST TEST_CMAKE_BOOL= BUILD_TESTING BUILD_FUZZING .include diff --git a/editors/jupp/Makefile b/editors/jupp/Makefile index b2468d60db00..17b65c994ba9 100644 --- a/editors/jupp/Makefile +++ b/editors/jupp/Makefile @@ -1,25 +1,23 @@ -# Created by: Grzegorz Blach - PORTNAME= jupp PORTVERSION= 3.1.38 CATEGORIES= editors MASTER_SITES= http://www.mirbsd.org/MirOS/dist/jupp/ \ http://pub.allbsd.org/MirOS/dist/jupp/ DISTNAME= joe-${PORTVERSION:C/([0-9]+\.[0-9]+)\.([0-9]+)/\1${PORTNAME}\2/} MAINTAINER= ports@FreeBSD.org COMMENT= Portable version of Joe's Own Editor from MirBSD LICENSE= GPLv1 CONFLICTS= joe USES= tar:tgz GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-termidx WRKSRC= ${WRKDIR}/${PORTNAME} pre-configure: @${CHMOD} +x ${WRKSRC}/configure .include diff --git a/editors/le/Makefile b/editors/le/Makefile index be50f55a638a..e22e5bd72a75 100644 --- a/editors/le/Makefile +++ b/editors/le/Makefile @@ -1,37 +1,35 @@ -# Created by: Andrey Zakhvatov - PORTNAME= le PORTVERSION= 1.16.8 CATEGORIES= editors MASTER_SITES= http://lav.yar.ru/download/${PORTNAME}/ \ ZI MASTER_SITE_SUBDIR= . old MAINTAINER= zi@FreeBSD.org COMMENT= Text editor with block and binary operations LICENSE= GPLv3 USES= ncurses perl5 tar:bzip2 USE_PERL5= build GNU_CONFIGURE= yes CFLAGS+= -I${LOCALBASE}/include MAKE_JOBS_UNSAFE= yes derp-do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/src && ${INSTALL_PROGRAM} le ${STAGEDIR}${PREFIX}/bin) (cd ${WRKSRC}/doc && ${INSTALL_MAN} le.1 ${STAGEDIR}${MAN1PREFIX}/man/man1) .for file in ${STAGEDIR}${MISC_DATA} (cd ${WRKSRC}/misc && ${INSTALL_DATA} ${file} ${STAGEDIR}${DATADIR}) .endfor (cd ${WRKSRC}/misc && ${COPYTREE_SHARE} syntax.d ${STAGEDIR}${DATADIR}) .for file in ${SRC_DATA} (cd ${WRKSRC}/src && ${INSTALL_DATA} ${file} ${STAGEDIR}${DATADIR}) .endfor .for file in FEATURES HISTORY NEWS README TODO cd ${WRKSRC} && ${INSTALL_DATA} ${file} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/editors/leafpad/Makefile b/editors/leafpad/Makefile index fc5db487dcc8..9f895a278323 100644 --- a/editors/leafpad/Makefile +++ b/editors/leafpad/Makefile @@ -1,32 +1,30 @@ -# Created by: Michael Johnson - PORTNAME= leafpad PORTVERSION= 0.8.18.1 PORTREVISION= 2 CATEGORIES= editors MASTER_SITES= SAVANNAH MAINTAINER= jgh@FreeBSD.org COMMENT= GTK+ based simple text editor LICENSE= GPLv2 USE_GNOME= gtk20 intlhack USES= desktop-file-utils gettext gmake gnome pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-chooser CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README OPTIONS_DEFINE= DOCS post-extract: @${CHMOD} a+x ${WRKSRC}/install-sh post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/editors/led/Makefile b/editors/led/Makefile index 4ee724cc4534..26171e58a7f4 100644 --- a/editors/led/Makefile +++ b/editors/led/Makefile @@ -1,29 +1,27 @@ -# Created by: Maxim Sobolev - PORTNAME= led PORTVERSION= 2.0 PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= SF/${PORTNAME}-editor/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Tiny text editor, with a number of useful programming features LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= ncurses perl5 GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes SUB_FILES= pkg-message post-patch: @${REINPLACE_CMD} -E 's,(bin|lib|data)dir),DESTDIR)$$(&,' \ ${WRKSRC}/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/led \ ${STAGEDIR}${PREFIX}/lib/led/modules/perlapi.so .include diff --git a/editors/linux-bcompare/Makefile b/editors/linux-bcompare/Makefile index 532e6ed91293..bb21ffcf781e 100644 --- a/editors/linux-bcompare/Makefile +++ b/editors/linux-bcompare/Makefile @@ -1,83 +1,81 @@ -# Created by: Matías Pizarro - PORTNAME= bcompare DISTVERSION= 4.3.7 DISTVERSIONSUFFIX= .25118 CATEGORIES= editors devel linux MASTER_SITES= http://scootersoftware.com/ PKGNAMEPREFIX= linux- EXTRACT_SUFX= .rpm MAINTAINER= matias@pizarro.net COMMENT= Compare, sync, and merge files and folders (X11) LICENSE= SCOOTERSOFTWARE LICENSE_NAME= Scooter Software License LICENSE_FILE= ${FILESDIR}/LICENSE.txt LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= upstream only supports amd64 and i386 USES= desktop-file-utils gnome linux shared-mime-info shebangfix USE_LINUX= base:run devtools:build qt-x11:run xorglibs:run NO_BUILD= yes NO_WRKSUBDIR= true DATA_FILTER= -type d -o -name *\.html -o -name *\.js -o -name *\.css -o \ -name *\.gif -o -name *\.png -o -name *\.jpg -o -name \ *\.desktop -o -name mime\.types -o -name README -o -name \ BCompare.mad -o -name RPM-GPG-KEY-scootersoftware -o -name \ scootersoftware.repo DISTNAME_amd64= ${DISTNAME}.x86_64 DISTNAME_i386= ${DISTNAME}.i386 LIB_FILES= libQt4Pas.so.5 lib7z.so libunrar.so nosched.so PROGRAM_FILES= BCompare bcmount32 bcmount64 SCRIPT_FILES= bcmount.sh kde_context_menu .include .if ${ARCH} == i386 LIBDIR= lib EXTRA_PATCHES= ${PATCHDIR}/extra-patch-usr_bin_bcompare_i386 PLIST_SUB+= QT4AMD64="@comment " .elif ${ARCH} == amd64 LIBDIR= lib64 EXTRA_PATCHES= ${PATCHDIR}/extra-patch-usr_bin_bcompare_amd64 PLIST_SUB+= QT4AMD64="" .endif BCLIB_SRC= ${WRKSRC}/usr/${LIBDIR}/beyondcompare BCLIB_STG= ${STAGEDIR}${PREFIX}/lib/beyondcompare SHEBANG_FILES= ${BCLIB_SRC}/bcmount.sh ${BCLIB_SRC}/kde_context_menu pre-install: ${LINUXBASE}/usr/bin/gcc -Wall -fPIC -shared ${FILESDIR}/nosched.c -ldl -o ${BCLIB_SRC}/nosched.so do-install: # bin (cd ${WRKSRC}/usr/bin && ${INSTALL_SCRIPT} bcompare ${STAGEDIR}${PREFIX}/bin) # lib (cd ${BCLIB_SRC} && ${COPYTREE_SHARE} . ${BCLIB_STG} "${DATA_FILTER}") (cd ${BCLIB_SRC} && ${INSTALL_PROGRAM} ${PROGRAM_FILES} ${BCLIB_STG}) (cd ${BCLIB_SRC} && ${INSTALL_SCRIPT} ${SCRIPT_FILES} ${BCLIB_STG}) (cd ${BCLIB_SRC} && ${INSTALL_LIB} ${LIB_FILES} ${BCLIB_STG}) .if ${ARCH} == amd64 (cd ${BCLIB_SRC}/qt4 && ${INSTALL_LIB} $$(ls *.so.4) ${BCLIB_STG}/qt4) .endif (cd ${BCLIB_SRC}/ext && ${INSTALL_LIB} $$(ls *.so) ${BCLIB_STG}/ext) ${LN} -sf ${LINUXBASE}/usr/${LIBDIR}/libbz2.so.1.0.6 ${BCLIB_STG}/libbz2.so.1.0 # data (cd ${WRKSRC}/usr/share && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share) ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps ${LN} -sf ../../../../pixmaps/bcompare.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps/bcompare.png ${LN} -sf ../../../../pixmaps/bcomparefull32.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/bcompare.png ${LN} -sf ../../../../pixmaps/bcompare.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/bcompare.png .include diff --git a/editors/linux-sublime/Makefile b/editors/linux-sublime/Makefile index 1dc1a9facc4d..7b82ea6497c3 100644 --- a/editors/linux-sublime/Makefile +++ b/editors/linux-sublime/Makefile @@ -1,42 +1,40 @@ -# Created by: Johannes Meixner - PORTNAME= sublime PORTVERSION= 2.0.2 PORTREVISION= 6 CATEGORIES= editors linux MASTER_SITES= https://download.sublimetext.com/ DISTNAME= Sublime%20Text%202.0.2 PKGNAMEPREFIX= linux- MAINTAINER= ports@FreeBSD.org COMMENT= Sophisticated text editor for code, markup and prose USES= desktop-file-utils gnome linux tar:bzip2 USE_LINUX= xorglibs gtk2 WRKSRC= ${WRKDIR}/"Sublime Text 2" NO_BUILD= SUB_FILES= sublime CONFLICTS_INSTALL= linux-sublime3 do-install: @${MKDIR} ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps/ @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/ @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/ @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/ @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/ @${MKDIR} ${STAGEDIR}${PREFIX}/share/applications @${INSTALL_DATA} ${FILESDIR}/sublime_text.desktop ${STAGEDIR}${PREFIX}/share/applications @${INSTALL_DATA} ${WRKSRC}/Icon/16x16/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps/ @${INSTALL_DATA} ${WRKSRC}/Icon/32x32/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/ @${INSTALL_DATA} ${WRKSRC}/Icon/48x48/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/ @${INSTALL_DATA} ${WRKSRC}/Icon/128x128/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/ @${INSTALL_DATA} ${WRKSRC}/Icon/256x256/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/ @${RM} -r ${WRKSRC}/Icon/ @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} @${CHMOD} +x ${STAGEDIR}${DATADIR}/sublime_text @${INSTALL_SCRIPT} ${WRKDIR}/sublime ${STAGEDIR}${PREFIX}/bin/sublime .include diff --git a/editors/linux-sublime3/Makefile b/editors/linux-sublime3/Makefile index da77d14db73d..d27a081826da 100644 --- a/editors/linux-sublime3/Makefile +++ b/editors/linux-sublime3/Makefile @@ -1,47 +1,45 @@ -# Created by: Miguel Clara - PORTNAME= sublime PORTVERSION= 3.2.2 PORTREVISION= 2 CATEGORIES= editors linux MASTER_SITES= http://download.sublimetext.com/ PKGNAMEPREFIX= linux- PKGNAMESUFFIX= 3 MAINTAINER= matias@pizarro.net COMMENT= Sophisticated text editor for code, markup and prose LICENSE= SUBLIMEHQ LICENSE_NAME= End User License Agreement LICENSE_FILE= ${FILESDIR}/LICENSE.txt LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= upstream only supports amd64 and i386 USES= desktop-file-utils gnome linux tar:bzip2 USE_LINUX= gtk3 CONFLICTS_INSTALL= linux-sublime[0-9]* NO_BUILD= yes SUB_FILES= sublime WRKSRC= ${WRKDIR}/sublime_text_3 DISTNAME_amd64= sublime_text_3_build_3211_x64 DISTNAME_i386= sublime_text_3_build_3211_x32 do-install: @${MKDIR} ${STAGEDIR}${DATADIR} .for res in 16 32 48 128 256 @${MKDIR} \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${res}x${res}/apps/ ${INSTALL_DATA} ${WRKSRC}/Icon/${res}x${res}/sublime-text.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${res}x${res}/apps/ .endfor ${INSTALL_DATA} ${WRKSRC}/sublime_text.desktop ${STAGEDIR}${PREFIX}/share/applications/ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKDIR}/sublime ${STAGEDIR}${PREFIX}/bin/sublime .include diff --git a/editors/lite/Makefile b/editors/lite/Makefile index 4d989df3a935..a8ad4c1e42d8 100644 --- a/editors/lite/Makefile +++ b/editors/lite/Makefile @@ -1,55 +1,53 @@ -# Created by: Alexey Dokuchaev - PORTNAME= lite PORTVERSION= 1.11 CATEGORIES= editors PKGNAMESUFFIX= -editor # PORTNAME alone is too vague MAINTAINER= danfe@FreeBSD.org COMMENT= Lightweight text editor written mostly in Lua PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES= a38b89ca26dde1353cf1.patch:-p1 LICENSE= MIT USES= gmake lua pkgconfig sdl USE_SDL= sdl2 USE_GITHUB= yes GH_ACCOUNT= rxi GH_PROJECT= ${PORTNAME}-colors:colors ${PORTNAME}-plugins:plugins GH_TAGNAME= 38bd9b3 5b77292:colors 4a9e1f3:plugins BUILD_WRKSRC= ${WRKSRC}/src MAKEFILE= ${FILESDIR}/makefile PORTDOCS= usage.md OPTIONS_DEFINE= DOCS post-extract: # Prevent accidental build/use of bundled code/headers @${RM} -r ${BUILD_WRKSRC}/lib/lua52 ${WRKSRC}/winlib post-patch: @${REINPLACE_CMD} -e '/^#include/s,lib/lua52/,,' \ ${BUILD_WRKSRC}/api/api.h @${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \ ${BUILD_WRKSRC}/main.c do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin ${CP} -a ${WRKSRC}/data ${STAGEDIR}${DATADIR} ${CP} -a ${WRKSRC_colors}/colors ${STAGEDIR}${DATADIR}/user ${MV} ${WRKSRC_plugins}/plugins/language_*.lua \ ${STAGEDIR}${DATADIR}/plugins ${CP} -a ${WRKSRC_plugins}/plugins \ ${STAGEDIR}${DATADIR}/plugins/extra do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} .include diff --git a/editors/madedit/Makefile b/editors/madedit/Makefile index 4379feca4373..ee2eebb24e2c 100644 --- a/editors/madedit/Makefile +++ b/editors/madedit/Makefile @@ -1,24 +1,22 @@ -# Created by: Xin LI - PORTNAME= madedit PORTVERSION= 0.2.9 PORTREVISION= 25 CATEGORIES= editors MASTER_SITES= SF/${PORTNAME}/MadEdit/MadEdit-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Open-source and cross-platform text/hex editor LICENSE= GPLv2 LIB_DEPENDS= libboost_regex.so:devel/boost-libs USES= gettext pkgconfig dos2unix desktop-file-utils xorg USE_WX= 2.8 USE_XORG= x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG} LIBS+= -L${LOCALBASE}/lib -lX11 .include diff --git a/editors/mg/Makefile b/editors/mg/Makefile index 292549b08271..77cc00b78ac8 100644 --- a/editors/mg/Makefile +++ b/editors/mg/Makefile @@ -1,45 +1,43 @@ -# Created by: Dima Dorfman - PORTNAME= mg PORTVERSION= 7.0 PORTEPOCH= 1 CATEGORIES= editors MASTER_SITES= https://github.com/ibara/mg/releases/download/mg-${PORTVERSION}/ MAINTAINER= tobik@FreeBSD.org COMMENT= Small, fast Emacs-like editor LICENSE= PD FLAVORS= dynamic static FLAVOR?= ${FLAVORS:[1]} static_PKGNAMESUFFIX= -static .if ${FLAVOR} == static COMMENT+= (rescue(8) version) .endif USES= ncurses HAS_CONFIGURE= yes .if ${FLAVOR} == static CONFIGURE_ARGS= --enable-static PLIST_FILES= /rescue/mg .else PLIST_FILES= bin/mg \ man/man1/mg.1.gz PORTDOCS= README-Mg README.md tutorial OPTIONS_DEFINE= DOCS .endif .if ${FLAVOR} == static do-install: @${MKDIR} ${STAGEDIR}/rescue ${INSTALL_PROGRAM} ${WRKSRC}/mg ${STAGEDIR}/rescue .else post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endif .include diff --git a/editors/mined/Makefile b/editors/mined/Makefile index def876ee6cb4..bba66abc0fc4 100644 --- a/editors/mined/Makefile +++ b/editors/mined/Makefile @@ -1,51 +1,49 @@ -# Created by: thierry@pompo.net - PORTNAME= mined PORTVERSION= 2015.25 CATEGORIES= editors MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION} MAINTAINER= thierry@FreeBSD.org COMMENT= Text mode editor with Unicode support LICENSE= GPLv3 OPTIONS_DEFINE= DOCS PORTDOCS= * USES= desktop-file-utils gmake ncurses MAKEFILE= makefile REINPLACE_ARGS= -i "" MAKE_ARGS= GMAKE="${MAKE_CMD}" CC="${CC}" OPT="${CFLAGS}" INSTALL_TARGET= localinstall MAKE_JOBS_UNSAFE= yes PRFX2FIX= src/makefile.bsd usrshare/conf_user/xinitrc.mined \ src/minedaux.c man/mined.1 src/mkinclud.mak \ src/makefile.gcc pre-configure: .for FILE in ${PRFX2FIX} ${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/${FILE} .endfor pre-build: ${MV} ${WRKSRC}/src/mkinclud.cc ${WRKSRC}/src/mkinclud.cc.bak ${CP} ${WRKSRC}/src/mkinclud.gcc ${WRKSRC}/src/mkinclud.cc (if [ ! -f ${WRKSRC}/src/mkinclud.${CC:T} ] ; then \ ${LN} -sf ${WRKSRC}/src/mkinclud.cc ${WRKSRC}/src/mkinclud.${CC:T} ; \ fi) post-install: ${INSTALL_DATA} ${WRKSRC}/usrshare/setup_install/mined.desktop \ ${STAGEDIR}${DESKTOPDIR} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mined ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/usrshare/package_doc && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR} ${RM} -r ${STAGEDIR}${DATADIR}/setup_install/cyg @${RM} -r ${STAGEDIR}${DOCSDIR}/CHANGES ${STAGEDIR}${DOCSDIR}/LICENCE.GPL @${RM} -r ${STAGEDIR}${DATADIR}/doc_user ${STAGEDIR}${DATADIR}/package_doc .include diff --git a/editors/mle/Makefile b/editors/mle/Makefile index a4aa3cbf8e11..64ce1ddd411e 100644 --- a/editors/mle/Makefile +++ b/editors/mle/Makefile @@ -1,60 +1,58 @@ -# Created by: Adam Saponara - PORTNAME= mle DISTVERSIONPREFIX= v DISTVERSION= 1.5.0 CATEGORIES= editors MAINTAINER= as@php.net COMMENT= Small, flexible, terminal-based text editor LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/uthash.h:devel/uthash LIB_DEPENDS= libpcre.so:devel/pcre TEST_DEPENDS= ${LOCALBASE}/bin/gpaste:sysutils/coreutils \ ${LOCALBASE}/bin/grep:textproc/gnugrep \ bash:shells/bash \ gfind:misc/findutils USES= compiler:c11 gmake localbase:ldflags shebangfix lua:54 SHEBANG_FILES= tests/func/*.sh tests/run.sh USE_GITHUB= yes GH_ACCOUNT= adsr TEST_TARGET= test PLIST_FILES= bin/mle post-patch: @${REINPLACE_CMD} -e 's|lua5.4|lua54|g' ${WRKSRC}/mle.h @${REINPLACE_CMD} -e 's|lua5.4|lua-5.4|g' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|-O0|-O2|g' ${WRKSRC}/Makefile # Fix shell commands in tests @${REINPLACE_CMD} -e 's|find|gfind|g' \ -e 's|grep|${LOCALBASE}/bin/grep|g' \ ${WRKSRC}/tests/run.sh \ ${WRKSRC}/tests/func/*.sh @${REINPLACE_CMD} -e 's|p a s t e|g p a s t e|g' \ ${WRKSRC}/tests/func/test_lua.sh # Remove assertion that relies on UTF-8 codeset (fixed upstream) @${REINPLACE_CMD} -e '/0wv/d' \ ${WRKSRC}/tests/unit/test_bline_insert.c # Remove assertions that rely on GNU tooling output @${REINPLACE_CMD} -e '/shell_line/d' \ ${WRKSRC}/tests/func/test_multi_cursor.sh @${REINPLACE_CMD} -e '/byte_count/d' \ ${WRKSRC}/tests/func/test_coarse_undo.sh do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mle ${STAGEDIR}${PREFIX}/bin pre-test: # Remove backup files generated by REINPLACE_CMD. Those must not exist # for the tests to run properly. @${FIND} ${WRKSRC}/tests -name '*.sh.bak' -delete .include diff --git a/editors/morla/Makefile b/editors/morla/Makefile index 2462cdd81b4e..f2f13c111f87 100644 --- a/editors/morla/Makefile +++ b/editors/morla/Makefile @@ -1,46 +1,44 @@ -# Created by: Nicola Vitale - PORTNAME= morla PORTVERSION= 0.16.1 PORTREVISION= 12 CATEGORIES= editors textproc MASTER_SITES= http://www.morlardf.net/src/ \ http://nivi.interfree.it/distfiles/${PORTNAME}/${PORTVERSION}/ MAINTAINER= nivit@FreeBSD.org COMMENT= RDF editor LIB_DEPENDS= libnxml.so:textproc/libnxml \ librdf.so:textproc/redland \ libraptor2.so:textproc/raptor2 \ libcurl.so:ftp/curl BUILD_DEPENDS= dot:graphics/graphviz RUN_DEPENDS= dot:graphics/graphviz OPTIONS_DEFINE= XULRUNNER XULRUNNER_DESC= Xulrunner as JavaScript engine GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-gconf=none --with-gtkhtml=none USES= gettext gnome libtool pkgconfig USE_GNOME= libxslt gtk20 USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} DESKTOP_ENTRIES="morla" \ "Edit RDF documents" \ "${DATADIR}/icons/128_color.png" \ "morla" \ "WebDevelopment;" \ true XULRUNNER_BROKEN= www/libxul is gone, consider using lang/spidermonkey* XULRUNNER_CONFIGURE_ON= --with-javascript=xulrunner XULRUNNER_CONFIGURE_OFF= --with-javascript=none post-patch: @${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \ ${WRKSRC}/configure .include diff --git a/editors/mousepad/Makefile b/editors/mousepad/Makefile index 454c9873bbb5..51234009ca12 100644 --- a/editors/mousepad/Makefile +++ b/editors/mousepad/Makefile @@ -1,41 +1,39 @@ -# Created by: Oliver Lehmann - PORTNAME= mousepad PORTVERSION= 0.5.10 CATEGORIES= editors xfce MASTER_SITES= XFCE/apps DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Simple text editor for the Xfce Desktop LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= desktop-file-utils gettext-tools gmake gnome libtool perl5 \ pkgconfig tar:bzip2 xfce USE_GNOME= cairo dconf gdkpixbuf2 glib20 gtk30 gtksourceview3 intltool USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.xfce.mousepad.gschema.xml OPTIONS_DEFINE= NLS SPELL OPTIONS_DEFAULT= SPELL OPTIONS_SUB= yes SPELL_DESC= Spell checking plugin NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime SPELL_CONFIGURE_ENABLE= plugin-gspell SPELL_LIB_DEPENDS= libgspell-1.so:textproc/gspell \ libenchant-2.so:textproc/enchant2 SPELL_VARS= GLIB_SCHEMAS+=org.xfce.mousepad.plugins.gspell.gschema.xml .include diff --git a/editors/mp/Makefile b/editors/mp/Makefile index a789b078d8f3..9f917f9b799d 100644 --- a/editors/mp/Makefile +++ b/editors/mp/Makefile @@ -1,123 +1,121 @@ -# Created by: Mark Pulford - PORTNAME= mp DISTVERSION= 5.58 CATEGORIES= editors MAINTAINER= jhale@FreeBSD.org COMMENT= Programming text editor LICENSE= PD LICENSE_FILE= ${WRKSRC}/LICENSE USES= gmake iconv USE_GITHUB= yes GH_ACCOUNT= ttcdt GH_PROJECT= mp-5.x HAS_CONFIGURE= yes CONFIGURE_SCRIPT= config.sh CONFIGURE_ARGS= --prefix=${PREFIX} --docdir=${DOCSDIR} \ --without-win32 --without-kde4 --without-qt4 CONFIGURE_ENV= LOCALBASE="${LOCALBASE}" \ ICONV_LIB="${ICONV_LIB}" \ ICONV_PREFIX="${ICONV_PREFIX}" \ NCURSESINC="${NCURSESINC}" \ NCURSESLIB="${NCURSESLIB}" LDFLAGS+= -Wl,--as-needed MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS MANPAGES NLS PCRE OPTIONS_RADIO= GUI OPTIONS_RADIO_GUI= GTK2 GTK3 QT5 CONSOLE_DESC= ${NCURSES_DESC} OPTIONS_SINGLE= CONSOLE OPTIONS_SINGLE_CONSOLE= ANSI NCURSES OPTIONS_DEFAULT= MANPAGES NCURSES PCRE OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= p5-Grutatxt>=0:textproc/p5-Grutatxt \ mp_doccer:textproc/mp_doccer DOCS_CONFIGURE_WITH= docs MANPAGES_BUILD_DEPENDS= p5-Grutatxt>=0:textproc/p5-Grutatxt MANPAGES_CONFIGURE_WITH=manpages NLS_USES= gettext NLS_CONFIGURE_WITH= gettext PCRE_LIB_DEPENDS= libpcre.so:devel/pcre PCRE_CONFIGURE_WITH= pcre ANSI_DESC= ANSI terminal support ANSI_CONFIGURE_WITH= ansi GTK2_USES= gnome pkgconfig GTK2_USE= gnome=cairo,gdkpixbuf2,gtk20 GTK2_CONFIGURE_ON= --with-gtk=2 GTK3_USES= gnome pkgconfig GTK3_USE= gnome=cairo,gdkpixbuf2,gtk30 GTK3_CONFIGURE_ON= --with-gtk=3 NCURSES_USES= ncurses NCURSES_CONFIGURE_WITH= curses NCURSES_CFLAGS= -I${NCURSESBASE}/include QT5_USES= compiler:c++11-lang gl pkgconfig qmake:no_env qt:5 QT5_USE= cxxstd=-std=c++11 \ gl=gl \ qt=buildtools_build,core,gui,widgets QT5_CONFIGURE_ENV= CCLINK="${CXX}" QT5_CONFIGURE_ON= --with-qt5 --with-moc="${MOC}" QT5_CONFIGURE_OFF= --without-qt .include .if ${PORT_OPTIONS:MGTK*} || ${PORT_OPTIONS:MQT5} USES+= desktop-file-utils PLIST_SUB+= GUI="" .else PLIST_SUB+= GUI="@comment " .endif .if !${PORT_OPTIONS:MGTK*} CONFIGURE_ARGS+= --without-gtk .endif do-configure: @(for CONFIGURE_WRKSRC in ${WRKSRC}/mpdm ${WRKSRC}/mpsl ${WRKSRC}; \ do \ cd $${CONFIGURE_WRKSRC} && \ ${SETENV} CC="${CC}" CPP="${CXX}" \ CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \ LDFLAGS="${LDFLAGS}" LIBS="${LIBS}" \ ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS}; \ done;) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mp-5 ${STAGEDIR}${PREFIX}/bin .if ${PORT_OPTIONS:MGTK*} || ${PORT_OPTIONS:MQT5} ${MKDIR} ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/minimum-profit.desktop ${STAGEDIR}${PREFIX}/share/applications ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps ${INSTALL_DATA} ${WRKSRC}/minimum-profit.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps .endif do-install-NLS-on: .for lang in de es it nl ru sv ${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \ ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/minimum-profit.mo .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in README RELEASE_NOTES mp_templates.sample doc/* mpdm/doc/* mpsl/doc/* ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor do-install-MANPAGES-on: ${INSTALL_MAN} ${WRKSRC}/mp-5.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/editors/nano/Makefile b/editors/nano/Makefile index a23c60dfab01..5bf8f4f67b14 100644 --- a/editors/nano/Makefile +++ b/editors/nano/Makefile @@ -1,37 +1,35 @@ -# Created by: Philippe Lefebvre - PORTNAME= nano DISTVERSION= 6.2 CATEGORIES= editors MASTER_SITES= https://www.nano-editor.org/dist/v${DISTVERSION:R:R}/ GNU MAINTAINER= danilo@FreeBSD.org COMMENT= Nano's ANOther editor, an enhanced free Pico clone LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING USES= charsetfix ncurses pkgconfig tar:xz GNU_CONFIGURE= yes CONFIGURE_ARGS= --docdir=${DOCSDIR} --enable-utf8 MAKE_ARGS+= install_htmlmanDATA=install-htmlmanDATA PORTSCOUT= limitw:1,even INFO= nano OPTIONS_DEFINE= DOCS EXAMPLES NLS OPTIONS_SUB= yes NLS_USES= gettext localbase NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -e 's/^groff.*/false/' ${WRKSRC}/configure post-install-DOCS-on: .for doc in nano.1.html rnano.1.html nanorc.5.html ${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${STAGEDIR}${DOCSDIR} .endfor post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/doc/sample.nanorc ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/editors/ne/Makefile b/editors/ne/Makefile index 3be116acc238..7a6ef1694367 100644 --- a/editors/ne/Makefile +++ b/editors/ne/Makefile @@ -1,55 +1,53 @@ -# Created by: Andrej Zverev - PORTNAME= ne PORTVERSION= 3.3.1 CATEGORIES= editors MASTER_SITES= http://ne.di.unimi.it/ MAINTAINER= wen@FreeBSD.org COMMENT= Nice and powerful editor LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgnuregex.so:devel/libgnuregex USES= gmake localbase makeinfo perl5 USE_PERL5= build USE_CSTD= c99 MAKEFILE= makefile MAKE_ARGS= CC="${CC}" \ OPTS="${CFLAGS}" \ LDFLAGS="${LDFLAGS}" \ NE_GLOBAL_DIR="${DATADIR}" ALL_TARGET= ne LDFLAGS+= -lgnuregex -L${LOCALBASE}/lib BUILD_WRKSRC= ${WRKSRC}/src INFO= ne DOCS= CHANGES NEWS README.md doc/default.* \ doc/ne.pdf doc/ne.txt doc/html/* OPTIONS_DEFINE= DEBUG DOCS DEBUG_MAKE_ARGS= NE_DEBUG=1 post-patch: @${REINPLACE_CMD} -e \ 's|-O3|| ; \ /[[:space:]]regex.o/d ; \ s|regex.h$$||g' ${BUILD_WRKSRC}/makefile @${REINPLACE_CMD} -e '/cp -pR/d' ${WRKSRC}/makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ne ${INSTALL_MAN} ${WRKSRC}/doc/ne.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/doc/ne.info.gz \ ${STAGEDIR}${PREFIX}/${INFO_PATH}/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/editors/nedit/Makefile b/editors/nedit/Makefile index 9adccafdeb59..0b1475c22b03 100644 --- a/editors/nedit/Makefile +++ b/editors/nedit/Makefile @@ -1,37 +1,35 @@ -# Created by: Daniel Eischen - PORTNAME= nedit PORTVERSION= 5.7 CATEGORIES= editors MASTER_SITES= LOCAL/swills DISTFILES= nedit-${PORTVERSION}-src.tar.gz \ nedit.app-defaults EXTRACT_ONLY= nedit-${PORTVERSION}-src.tar.gz MAINTAINER= swills@FreeBSD.org COMMENT= X11/Motif GUI text editor for programs and plain text files LICENSE= GPLv1 USES= motif perl5 xorg USE_PERL5= build ALL_TARGET= freebsd PLIST_FILES= bin/nclient \ bin/nedit \ lib/X11/app-defaults/NEdit.ad \ man/man1/nclient.1.gz \ man/man1/nedit.1.gz post-extract: ${CP} ${DISTDIR}/nedit.app-defaults ${WRKSRC}/NEdit.ad post-build: cd ${WRKSRC} && make docs post-install:: .for file in nedit nclient @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file} .endfor .include diff --git a/editors/neovim/Makefile b/editors/neovim/Makefile index 4bc5c1596fdf..d0a3fa305bdf 100644 --- a/editors/neovim/Makefile +++ b/editors/neovim/Makefile @@ -1,66 +1,64 @@ -# Created by: Anton Tornqvist - PORTNAME= neovim DISTVERSIONPREFIX= v DISTVERSION= 0.7.2 CATEGORIES= editors MAINTAINER= adamw@FreeBSD.org COMMENT= Next-generation Vim LICENSE= APACHE20 BUILD_DEPENDS= gperf:devel/gperf \ ${LUA_MODLIBDIR}/bit.so:devel/lua-bitop@${LUA_FLAVOR} \ ${LUA_MODLIBDIR}/lpeg.so:devel/lua-lpeg@${LUA_FLAVOR} LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty \ libluv.so:devel/luv \ libmsgpackc.so:devel/msgpack \ libtermkey.so:devel/libtermkey \ libtree-sitter.so:devel/tree-sitter \ libunibilium.so:devel/unibilium \ libuv.so:devel/libuv \ libvterm.so:devel/libvterm USES= cmake cpe iconv lua:52,build pathfix pkgconfig USE_GITHUB= yes GH_TUPLE= libmpack:libmpack:1.0.5:libmpack \ libmpack:libmpack-lua:1.0.9:libmpack_lua PORTSCOUT= limit:^[0-9\.v]+$$ CMAKE_ARGS= -DLUA_PRG:FILEPATH="${LUA_CMD}" \ -DCMAKE_INSTALL_MANDIR:PATH="${MANPREFIX}/man" \ -DDEPS_PREFIX:PATH="${LOCALBASE}" DATADIR= ${PREFIX}/share/nvim PORTDATA= runtime OPTIONS_DEFINE= NLS PYNVIM OPTIONS_SUB= yes PYNVIM_DESC= Enable support for plugins written in python NLS_CMAKE_BOOL= ENABLE_LIBINTL NLS_USES= gettext PYNVIM_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pynvim>=0.3.0:editors/py-pynvim@${PY_FLAVOR} PYNVIM_USES= python:run .include .if ${ARCH} == powerpc64 USES+= compiler:gcc-c++11-lib .endif post-patch-NLS-off: ${REINPLACE_CMD} -e '/add_subdirectory(po)/d' ${WRKSRC}/src/nvim/CMakeLists.txt pre-build: ${LN} -s ${WRKSRC_libmpack} ${WRKSRC_libmpack_lua}/mpack-src ${MKDIR} ${BUILD_WRKSRC}/src/nvim (cd ${WRKSRC_libmpack_lua} && ${CC} ${CFLAGS} -fPIC \ -I${LUA_INCDIR} -shared lmpack.c -o \ ${BUILD_WRKSRC}/src/nvim/mpack.so \ ${LUA_LIBDIR}/liblua-${LUA_VER}.so) ${LN} -s ${BUILD_WRKSRC}/src/nvim/mpack.so ${BUILD_WRKSRC}/runtime/mpack.so .include diff --git a/editors/nvi-m17n/Makefile b/editors/nvi-m17n/Makefile index 4fc13b880dd3..6485e1913f70 100644 --- a/editors/nvi-m17n/Makefile +++ b/editors/nvi-m17n/Makefile @@ -1,115 +1,113 @@ -# Created by: Jun-ichiro itojun Itoh - PORTNAME= nvi PORTVERSION= 1.79.20040608 PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES?= editors MASTER_SITES= LOCAL/nyan \ http://people.allbsd.org/~hrs/FreeBSD/ PKGNAMESUFFIX?= -m17n DISTNAME= nvi-1.79 PATCH_SITES= ${MASTER_SITES} PATCHFILES= nvi-m17n-1.79-20040608.diff.gz MAINTAINER= ports@FreeBSD.org COMMENT= Clone of vi/ex, with multilingual patch, no default settings LICENSE= BSD4CLAUSE PATCH_DIST_ARGS= -d ${WRKSRC}/.. --forward --quiet -E -p0 -f WRKSRC= ${WRKDIR}/${DISTNAME}/build USES= ncurses perl5 USE_PERL5= run GNU_CONFIGURE= yes CONFIGURE_ENV= OPTFLAG='-D_PATH_SYSEXRC=\"${PREFIX}/etc/vi.exrc\"' \ vi_cv_path_perl=${PERL} CONFIGURE_ARGS= --program-prefix=n OPTIONS_RADIO= MULTIBYTE OPTIONS_RADIO_MULTIBYTE= EUC_JP EUC_CN EUC_KR ISO_8859_1 ISO_8859_2\ ISO_8859_3 ISO_8859_4 ISO_8859_7 ISO_8859_8\ ISO_8859_9 ISO_2022_CN ISO_2022_JP\ ISO_2022_JP_3 ISO_2022_KR CTEXT\ SJIS BIG5 EUC_TW OPTIONS_DEFINE= CANNA OPTIONS_DEFAULT= EUC_JP_DESC= Set euc-jp as default multibyte encoding EUC_CN_DESC= Set euc-cn as default multibyte encoding EUC_KR_DESC= Set euc-kr as default multibyte encoding ISO_8859_1_DESC= Set iso-8859-1 as default multibyte encoding ISO_8859_2_DESC= Set iso-8859-2 as default multibyte encoding ISO_8859_3_DESC= Set iso-8859-3 as default multibyte encoding ISO_8859_4_DESC= Set iso-8859-4 as default multibyte encoding ISO_8859_7_DESC= Set iso-8859-7 as default multibyte encoding ISO_8859_8_DESC= Set iso-8859-8 as default multibyte encoding ISO_8859_9_DESC= Set iso-8859-9 as default multibyte encoding ISO_2022_CN_DESC= Set iso-2022-cn as default multibyte encoding ISO_2022_JP_DESC= Set iso-2022-jp as default multibyte encoding ISO_2022_JP_3_DESC= Set iso-2022-jp-3 as default multibyte encoding ISO_2022_KR_DESC= Set iso-2022-kr as default multibyte encoding CTEXT_DESC= Set X11 compound as default multibyte encoding SJIS_DESC= Set sjis as default multibyte encoding BIG5_DESC= Set big5 as default multibyte encoding EUC_TW_DESC= Set euc-tw as default multibyte encoding CANNA_DESC= Enable canna support .include .if ${PORT_OPTIONS:MEUC_JP} CONFIGURE_ARGS+= --enable-multibyte=euc-jp .elif ${PORT_OPTIONS:MEUC_CN} CONFIGURE_ARGS+= --enable-multibyte=euc-cn .elif ${PORT_OPTIONS:MEUC_KR} CONFIGURE_ARGS+= --enable-multibyte=euc-kr .elif ${PORT_OPTIONS:MISO_8859_1} CONFIGURE_ARGS+= --enable-multibyte=iso-8859-1 .elif ${PORT_OPTIONS:MISO_8859_2} CONFIGURE_ARGS+= --enable-multibyte=iso-8859-2 .elif ${PORT_OPTIONS:MISO_8859_3} CONFIGURE_ARGS+= --enable-multibyte=iso-8859-3 .elif ${PORT_OPTIONS:MISO_8859_4} CONFIGURE_ARGS+= --enable-multibyte=iso-8859-4 .elif ${PORT_OPTIONS:MISO_8859_7} CONFIGURE_ARGS+= --enable-multibyte=iso-8859-7 .elif ${PORT_OPTIONS:MISO_8859_8} CONFIGURE_ARGS+= --enable-multibyte=iso-8859-8 .elif ${PORT_OPTIONS:MISO_8859_9} CONFIGURE_ARGS+= --enable-multibyte=iso-8859-9 .elif ${PORT_OPTIONS:MISO_2022_CN} CONFIGURE_ARGS+= --enable-multibyte=iso-2022-cn .elif ${PORT_OPTIONS:MISO_2022_JP} CONFIGURE_ARGS+= --enable-multibyte=iso-2022-jp .elif ${PORT_OPTIONS:MISO_2022_JP_3} CONFIGURE_ARGS+= --enable-multibyte=iso-2022-jp-3 .elif ${PORT_OPTIONS:MISO_2022_KR} CONFIGURE_ARGS+= --enable-multibyte=iso-2022-kr .elif ${PORT_OPTIONS:MCTEXT} CONFIGURE_ARGS+= --enable-multibyte=ctext .elif ${PORT_OPTIONS:MSJIS} CONFIGURE_ARGS+= --enable-multibyte=sjis .elif ${PORT_OPTIONS:MBIG5} CONFIGURE_ARGS+= --enable-multibyte=big5 .elif ${PORT_OPTIONS:MEUC_TW} CONFIGURE_ARGS+= --enable-multibyte=euc-tw .else CONFIGURE_ARGS+= --enable-multibyte .endif .if ${PORT_OPTIONS:MCANNA} CONFIGURE_ARGS+= --enable-canna=${PREFIX} LIB_DEPENDS+= libcanna.so:japanese/canna-lib .endif post-patch: ${LN} -s /usr/include/sys/queue.h ${WRKSRC}/../include/sys/queue_dist.h post-install: ${INSTALL_DATA} ${WRKSRC}/../docs.m17n/README.english \ ${STAGEDIR}${PREFIX}/share/vi/ ${INSTALL_DATA} ${WRKSRC}/../docs.m17n/README.japanese \ ${STAGEDIR}${PREFIX}/share/vi/ .include diff --git a/editors/nvi2/Makefile b/editors/nvi2/Makefile index d6f8b48fdd17..85722f99570a 100644 --- a/editors/nvi2/Makefile +++ b/editors/nvi2/Makefile @@ -1,47 +1,45 @@ -# Created by: Craig Leres - PORTNAME= nvi2 PORTVERSION= 2.2.0 DISTVERSIONPREFIX= v CATEGORIES= editors MAINTAINER= leres@FreeBSD.org COMMENT= Updated implementation of the ex/vi text editor LICENSE= BSD3CLAUSE USES= bdb cmake compiler:c11 ncurses USE_GITHUB= yes GH_ACCOUNT= lichray CONFLICTS_INSTALL= nvi-m17n nvi OPTIONS_DEFINE= DEBUG WIDECHAR ICONV OPTIONS_DEFAULT= WIDECHAR ICONV WIDECHAR_DESC= Enable wide-character support (UTF-8) ICONV_DESC= Enable iconv support DEBUG_CMAKE_BOOL= ENABLE_DEBUG ICONV_CMAKE_BOOL= ENABLE_ICONV ICONV_USES= iconv WIDECHAR_CMAKE_BOOL= ENABLE_WIDECHAR PLIST_FILES= bin/nex \ bin/nvi \ bin/nview \ man/man1/nex.1.gz \ man/man1/nvi.1.gz \ man/man1/nview.1.gz do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/nvi ${STAGEDIR}${PREFIX}/bin ${LN} ${STAGEDIR}${PREFIX}/bin/nvi ${STAGEDIR}${PREFIX}/bin/nex ${LN} ${STAGEDIR}${PREFIX}/bin/nvi ${STAGEDIR}${PREFIX}/bin/nview ${INSTALL_MAN} ${WRKSRC}/man/vi.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1/nvi.1 ${LN} -sf nvi.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/nex.1 ${LN} -sf nvi.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/nview.1 .include diff --git a/editors/openoffice-4/Makefile b/editors/openoffice-4/Makefile index a4444e472ae4..5b81789d3d90 100644 --- a/editors/openoffice-4/Makefile +++ b/editors/openoffice-4/Makefile @@ -1,538 +1,536 @@ -# Created by: Martin Blapp - PORTNAME= apache-openoffice PORTVERSION= ${AOOVERSION} PORTREVISION= 0 CATEGORIES= editors java MASTER_SITES= https://dlcdn.apache.org/openoffice/${PORTVERSION}/source/ \ https://archive.apache.org/dist/openoffice/${PORTVERSION}/source/ \ http://tools.openoffice.org/unowinreg_prebuild/680/:unoreg \ LOCAL/truckman/openoffice:extsrc \ SF/oooextras.mirror/:sf .if defined(LANG_PKGNAME) PKGNAMEPREFIX= ${LANG_PKGNAME}- .endif .if defined(LANG_SUFFIX) PKGNAMESUFFIX= -${LANG_SUFFIX} .endif DISTFILES= ${AOOSRC} ${EXTSRC}:extsrc ${PYTHON_DISTFILE}:sf DIST_SUBDIR= openoffice EXTRACT_ONLY= ${AOOSRC} MAINTAINER= office@FreeBSD.org #de facto maintainer is truckman@FreeBSD.org #Frequent Patch submitters should (optionally) sign the Apache iCLA COMMENT= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser LICENSE= APACHE20 ADOBE BSD3CLAUSE BSD4CLAUSE BSL ICU MIT MPL10 \ MPL11 PSFL TWAIN W3C LICENSE_COMB= multi LICENSE_NAME_ADOBE= Adobe Systems Incorporated license LICENSE_NAME_ICU= ICU License LICENSE_NAME_TWAIN= TWAIN Working Group license LICENSE_NAME_W3C= W3C license LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE_ALv2 LICENSE_FILE_ADOBE= ${WRKSRC}/LICENSE_ADOBE LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE_BSD3CLAUSE LICENSE_FILE_BSD4CLAUSE= ${WRKSRC}/LICENSE_BSD4CLAUSE LICENSE_FILE_BSL= ${WRKSRC}/LICENSE_BSL LICENSE_FILE_ICU= ${WRKSRC}/LICENSE_ICU LICENSE_FILE_MIT= ${WRKSRC}/LICENSE_MIT LICENSE_FILE_MPL10= ${WRKSRC}/LICENSE_MPL10 LICENSE_FILE_MPL11= ${WRKSRC}/LICENSE_MPL11 LICENSE_FILE_PSFL= ${WRKSRC}/LICENSE_PSFL LICENSE_FILE_TWAIN= ${WRKSRC}/LICENSE_TWAIN LICENSE_FILE_W3C= ${WRKSRC}/LICENSE_W3C LICENSE_PERMS_ADOBE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_ICU= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_TWAIN= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_W3C= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept ONLY_FOR_ARCHS= amd64 i386 powerpc64 BUILD_DEPENDS= \ p5-Archive-Zip>=0:archivers/p5-Archive-Zip \ ${LOCALBASE}/bin/unzip:archivers/unzip \ zip:archivers/zip \ ant:devel/apache-ant \ dmake:devel/dmake \ epm:devel/epm \ ${LOCALBASE}/bin/gperf:devel/gperf \ imake:devel/imake \ libunwind>=20211201_1:devel/libunwind \ gpatch:devel/patch \ ${LOCALBASE}/include/sane/sane.h:graphics/sane-backends \ ${JAVALIBDIR}/commons-lang.jar:java/apache-commons-lang \ ${JAVALIBDIR}/junit.jar:java/junit \ ${JAVALIBDIR}/bsh.jar:lang/bsh \ bash:shells/bash \ ${JAVALIBDIR}/lucene-core-3.6.2.jar:textproc/lucene \ p5-XML-Parser>=0:textproc/p5-XML-Parser \ p5-libwww>=0:www/p5-libwww \ p5-LWP-Protocol-https>0:www/p5-LWP-Protocol-https LIB_DEPENDS= \ libapr-1.so:devel/apr1 \ libnspr4.so:devel/nspr \ libcurl.so:ftp/curl \ libcairo.so:graphics/cairo \ libpng.so:graphics/png \ libgraphite.so:graphics/silgraphite \ libblas.so:math/blas \ libCbcSolver.so:math/cbc \ libCgl.so:math/cgl \ libcoinasl.so:math/asl \ libClpSolver.so:math/clp \ libCoinMP.so:math/coinmp \ libCoinUtils.so:math/coinutils \ libcoinmumps.so:math/coin-or-mumps \ libnauty.so:math/nauty \ libopenblas.so:math/openblas \ libOsi.so:math/osi \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libhunspell-1.7.so:textproc/hunspell \ libhyphen.so:textproc/hyphen \ libtextcat.so:textproc/libtextcat \ libmythes-1.2.so:textproc/mythes \ librdf.so:textproc/redland \ libserf-1.so:www/serf \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= \ ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme \ ${JAVALIBDIR}/commons-lang.jar:java/apache-commons-lang \ ${JAVALIBDIR}/bsh.jar:lang/bsh \ ${LOCALBASE}/share/fonts/Caladea/Caladea-Bold.ttf:x11-fonts/crosextrafonts-caladea-ttf \ ${LOCALBASE}/share/fonts/Carlito/Carlito-Bold.ttf:x11-fonts/crosextrafonts-carlito-ttf \ ${LOCALBASE}/share/fonts/ChromeOS/Arimo-Bold.ttf:x11-fonts/croscorefonts-fonts-ttf # For libgfortran.so and libquadmath.so BUILD_DEPENDS+= gcc${GCC_DEFAULT}>0:lang/gcc${GCC_DEFAULT} RUN_DEPENDS+= gcc${GCC_DEFAULT}>0:lang/gcc${GCC_DEFAULT} USES= autoreconf bison compiler:c++11-lib cpe desktop-file-utils \ gettext-runtime gl gmake gnome iconv jpeg perl5 pkgconfig \ shared-mime-info ssl tar:bzip2 xorg USE_GL= gl glu USE_GNOME= gdkpixbuf2 gtk20 libxslt libidl glib20 USE_JAVA= yes JAVA_BUILD= jdk JAVA_RUN= jdk JAVA_VENDOR= openjdk USE_PERL5= build USE_XORG= ice sm x11 xau xaw xcomposite xcursor xdamage xext xfixes xi \ xinerama xrandr xrender xt CONFLICTS_INSTALL= apache-openoffice-devel AOOVERSION1= 4 AOOVERSION2= 1 AOOVERSION3= 12 # From solenv/inc/minor.mk SOURCEREVISION LAST_MINOR BUILD AOOTAG= AOO4112m1\(Build:9809\) GITREVISION= 60e0a1c111 EXTSRC= ApacheOpenOffice.ext_sources.${AOOVERSION1}.x.x.20150707.tar.gz AOOVERSION= ${AOOVERSION1}.${AOOVERSION2}.${AOOVERSION3} AOOXXX= ${AOOVERSION1}${AOOVERSION2}${AOOVERSION3} AOOSUFFIX= ${PORTVERSION} AOOSRC= apache-openoffice-${AOOVERSION}-${GITREVISION}-src${EXTRACT_SUFX} AOOUDIR= .openoffice.org\/${AOOVERSION1} INSTALLATION_BASEDIR?= openoffice-${AOOSUFFIX} PRINSTALLATION_BASEDIR= ${PREFIX}/${INSTALLATION_BASEDIR} OOPATH= ${PRINSTALLATION_BASEDIR}/openoffice${AOOVERSION1} XDGDIR= ${OOPATH}/share/xdg XDGREL= ../../${INSTALLATION_BASEDIR}/openoffice${AOOVERSION1}/share/xdg EXECBASE?= openoffice-${AOOSUFFIX} WITHOUT_CPU_CFLAGS= true CPE_PRODUCT= ${PORTNAME:S|apache-||} CPE_VENDOR= apache OPTIONS_DEFINE= CRASHDUMP CUPS DBGUTIL DEBUG GNOME \ SDK WIKI_PUBLISHER OPTIONS_DEFAULT= CUPS GNOME WIKI_PUBLISHER CRASHDUMP_DESC= Enable crashdumps, you also need to set WITH_DEBUG_PORTS+=${PKGORIGIN} DBGUTIL_DESC= Enable assertions, object counting. (non-production) DEBUG_DESC= Compile with -O0, you also need to set WITH_DEBUG_PORTS+=${PKGORIGIN} GNOME_DESC= Screensaver presentation control via DBUS SDK_DESC= Build and install software development kit WIKI_PUBLISHER_DESC= Build and install Wiki Publisher extension CRASHDUMP_CONFIGURE_ENABLE= crashdump CUPS_CONFIGURE_ENABLE= cups CUPS_LIB_DEPENDS= libcups.so:print/cups DBGUTIL_CONFIGURE_ENABLE= dbgutil DEBUG_CONFIGURE_ENABLE= debug GNOME_CONFIGURE_ENABLE= dbus lockdown GNOME_LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib SDK_CONFIGURE_ENABLE= odk SDK_DISTFILES= unowinreg.dll:unoreg WIKI_PUBLISHER_CONFIGURE_ENABLE= wiki-publisher WIKI_PUBLISHER_CONFIGURE_WITH= \ commons-codec-jar=${JAVALIBDIR}/commons-codec.jar \ commons-httpclient-jar=${JAVALIBDIR}/commons-httpclient.jar \ commons-logging-jar=${JAVALIBDIR}/commons-logging.jar WIKI_PUBLISHER_JAR_DEPENDS= \ ${JAVALIBDIR}/commons-codec.jar:java/apache-commons-codec \ ${JAVALIBDIR}/commons-httpclient.jar:java/apache-commons-httpclient \ ${JAVALIBDIR}/commons-logging.jar:java/apache-commons-logging WIKI_PUBLISHER_BUILD_DEPENDS= ${WIKI_PUBLISHER_JAR_DEPENDS} WIKI_PUBLISHER_RUN_DEPENDS= ${WIKI_PUBLISHER_JAR_DEPENDS} WIKI_PUBLISHER_VARS= BUNDLED_EXTENSIONS+=swext/wiki-publisher.oxt # Don't run gnome-post-icons until after post-install generates the plist TARGET_ORDER_OVERRIDE= 710:gnome-post-icons # Force the SDK option on for makesum to ensure that unowinreg.dll is # included in distinfo .if make(makesum) || make(distclean) WITH= SDK .endif .include .if ${OPSYS} == FreeBSD && ( \ (${OSVERSION} >= 1300525 && ${OSVERSION} < 1301000) || \ (${OSVERSION} >= 1301500 && ${OSVERSION} < 1301502) || \ (${OSVERSION} >= 1400051 && ${OSVERSION} < 1400057)) BROKEN= please update FreeBSD base system first to fix an ABI incompatibility .endif .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-symbols .endif .include <${FILESDIR}/Makefile.localized> PYTHON_DISTFILE= 38c84292658ed4456157195f1c9bcbe1-Python-2.7.18.tgz GCC_EXTRA_DISTFILES= d6eef4b4cacb2183f2bf265a5a03a354-boost_1_55_0.tar.bz2 \ d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz .if ${CHOSEN_COMPILER_TYPE} == clang CPPFLAGS+= -I${LOCALBASE}/include CONFIGURE_ARGS+= --with-system-boost BUILD_DEPENDS+= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs . if ${COMPILER_VERSION} < 130 CONFIGURE_ARGS+= --with-system-vigra BUILD_DEPENDS+= ${LOCALBASE}/bin/vigra-config:graphics/vigra . endif . if ${ARCH} == amd64 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-align16 . endif .endif # These extra distfiles are needed to use the bundled versions of # boost and vigra for compatiblity with gcc. Also include them # for the makesum target so they are included in distinfo .if ${CHOSEN_COMPILER_TYPE} == gcc || ${COMPILER_VERSION} >= 130 || \ make(makesum) || make(distclean) DISTFILES+= ${GCC_EXTRA_DISTFILES:C/.*/&:sf/g} .endif .if ${ARCH} == amd64 FREEBSD_ENV_SET= FreeBSDAMDEnv.Set.sh PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86-64 .elif ${ARCH} == i386 FREEBSD_ENV_SET= FreeBSDX86Env.Set.sh PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86 .elif ${ARCH} == powerpc64 FREEBSD_ENV_SET= FreeBSDPPC64Env.Set.sh PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_ppc64 .endif PACKAGE_PREFIX= Apache_OpenOffice LOCALIZED_LANG?= en-US AOO_MAKE_ENV= ${MAKE_ENV:NCPPFLAGS=*:NCFLAGS=*:NCXXFLAGS=*:NLDFLAGS=*} GNU_CONFIGURE= yes WRKSUBDIR= ${WRKDIR}/aoo-${AOOVERSION} WRKSRC?= ${WRKSUBDIR}/main SUB_FILES= pkg-message SUB_LIST= EXECBASE=${EXECBASE} AOOTAG=${AOOTAG} AOOUDIR=${AOOUDIR} \ PRINSTALLATION_BASEDIR=${PRINSTALLATION_BASEDIR} CONFIGURE_ARGS+= \ --disable-gconf \ --enable-gio \ --disable-gnome-vfs \ --with-unix-wrapper=${EXECBASE} \ --with-alloc=system \ --with-ant-home=${LOCALBASE}/share/java/apache-ant \ --with-system-apache-commons=yes \ --with-commons-lang-jar=${JAVALIBDIR}/commons-lang.jar \ --with-system-apr \ --with-system-apr-util \ --with-system-beanshell \ --with-beanshell-jar=${JAVALIBDIR}/bsh.jar \ --enable-category-b \ --with-system-cairo --enable-cairo \ --with-system-coinmp \ --with-system-curl \ --with-system-dicts \ --with-epm=${LOCALBASE}/bin/epm \ --with-system-expat \ --disable-fetch-external \ --without-fonts \ --with-gnu-patch=${LOCALBASE}/bin/gpatch \ --with-gperf=${LOCALBASE}/bin/gperf \ --with-system-graphite \ --enable-gtk \ --with-system-hunspell \ --with-external-dict-dir=${LOCALBASE}/share/hunspell \ --with-system-hyphen \ --with-external-hyph-dir=${LOCALBASE}/share/hyphen \ --with-jdk-home=${JAVA_HOME} \ --with-system-jpeg \ --with-junit=${JAVALIBDIR}/junit.jar \ --with-system-libtextcat \ --disable-kde \ --disable-kde4 \ --with-system-libxml \ --with-system-libxslt \ --with-system-lucene \ --with-lucene-core-jar=${JAVALIBDIR}/lucene-core-3.6.2.jar \ --with-lucene-analyzers-jar=${JAVALIBDIR}/lucene-analyzers-3.6.2.jar \ --with-system-mythes \ --with-external-thes-dir=${LOCALBASE}/share/mythes \ --with-system-nss \ --enable-opengl \ --with-system-openssl \ --with-package-format="archive" \ --without-system-python \ --with-system-redland \ --with-system-sane \ --with-system-serf \ --with-system-stdlibs \ --with-vendor="FreeBSD ports system" \ --with-build-version="PKGNAME: ${PKGNAME:S/,/@/g}" \ --enable-verbose \ --with-system-xrender \ --with-system-zlib .if defined (BUNDLED_EXTENSIONS) CONFIGURE_ARGS+= --with-bundled-prereg-extensions="${BUNDLED_EXTENSIONS}" .endif CREATE_TREE= ${WRKSRC}/sysui/desktop/share/create_tree.sh .include <${FILESDIR}/Makefile.knobs> pre-everything:: # really tweak, extremely useful when you build all localized language versions # needed after when you build with ALL_LOCALIZED_LANGS. .if defined(TWEAK_L10N) ${RM} ${WRKDIR}/.PLIST* ${RM} ${WRKDIR}/.install_done.* ${RM} ${WRKDIR}/.package_done.* ${RM} ${WRKDIR}/.extract_done.* ${RM} ${WRKDIR}/.patch_done.* ${RM} ${WRKDIR}/.configure_done.* ${RM} ${WRKDIR}/.build_done.* ${MKDIR} ${WRKDIR} ${TOUCH} ${EXTRACT_COOKIE} ${TOUCH} ${PATCH_COOKIE} ${TOUCH} ${CONFIGURE_COOKIE} ${TOUCH} ${BUILD_COOKIE} .endif do-extract-SDK-on: ${CP} ${DISTDIR}/${DIST_SUBDIR}/unowinreg.dll ${WRKSRC}/external/unowinreg/ post-extract: ${TAR} -C ${WRKSUBDIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EXTSRC} ${CP} ${DISTDIR}/${DIST_SUBDIR}/${PYTHON_DISTFILE} ${WRKSUBDIR}/ext_sources/${PYTHON_DISTFILE} .if ${CHOSEN_COMPILER_TYPE} == gcc || ${COMPILER_VERSION} >= 130 . for f in ${GCC_EXTRA_DISTFILES} ${CP} ${DISTDIR}/${DIST_SUBDIR}/${f} ${WRKSUBDIR}/ext_sources/${f} . endfor .endif ${CP} ${FILESDIR}/freebsd-aoo-intro.png \ ${WRKSRC}/default_images/introabout/intro.png ${CP} ${FILESDIR}/freebsd-aoo-about.png \ ${WRKSRC}/default_images/introabout/about.png ${RM} -r ${WRKSRC}/l10n ${LN} -sf ${UNZIP_CMD} ${WRKSRC}/solenv/bin/unzip ${SED} -e '\|^For main/vcl/unx/generic/fontmanager/parseAFM|,/^__/p' \ -e '\|^For PostScript(R) AFM|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_ADOBE} ${SED} -e '\|^For main/unixODBC|,/^__/p' \ -e '\|^For main/connectivity|,/^__/p' \ -e '\|^For main/libtextcat/data|,/^__/p' \ -e '\|^For integration of HSQLDB|,/^__/p' \ -e '\|^For C preprocessor|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSD3CLAUSE} ${SED} -e '\|^For ICC |,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSD4CLAUSE} ${SED} -e '\|^For integration of the C++ Boost |,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSL} ${SED} -e '\|^For main/i18npool/source/breakiterator|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_ICU} ${SED} -e '\|^For Multi-Dimensional Data|,/^__/p' \ -e '\|^For XSLT MathML Library|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_MIT} ${SED} -e '\|^For XMLSec Library|,/^__/p' \ -e d ${WRKSRC}/LICENSE_category_b >> ${LICENSE_FILE_MIT} ${SED} -e '\|^For Saxon|,/^__/p' \ -e d ${WRKSRC}/LICENSE_category_b > ${LICENSE_FILE_MPL10} ${SED} -e '\|^The following Licenses have some restrictions|,/^- For Network/p' \ -e d ${WRKSRC}/LICENSE_category_b | \ ${SED} -e :a -e '$d;N;2,3ba' -e 'P;D' > ${LICENSE_FILE_MPL11} ${SED} -e '\|^For main/filter/source/config/tools/merge/pyAltFCFGMerge|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_PSFL} ${ECHO} '' >> ${LICENSE_FILE_PSFL} ${SED} -e '\|^For Python|,/^__/p' \ -e d ${WRKSRC}/LICENSE >> ${LICENSE_FILE_PSFL} ${SED} -e '\|^For main/twain|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_TWAIN} ${SED} -e '\|^For main/MathMLDTD|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_W3C} post-patch: ${REINPLACE_CMD} -e "/^ICONVERSION/s/=.*/= '${AOOVERSION1}'/" \ ${WRKSRC}/sysui/desktop/productversion.mk ${REINPLACE_CMD} -e "s|%%JAVA_HOME%%|${JAVA_HOME}|" \ ${WRKSRC}/desktop/scripts/soffice.sh ${REINPLACE_CMD} -e '/^mkdir -p/,$$d' ${CREATE_TREE} .if ${CHOSEN_COMPILER_TYPE} == gcc # g++49 -Os sometimes leaves inline class methods undefined, # affects fmgridif.cxx and ColumnControl.cxx # See: if [ ${CXX} = g++49 ]; then \ ${REINPLACE_CMD} -e "s/ := -Os/ := -Os -fno-devirtualize -fno-devirtualize-speculatively/" ${WRKSRC}/solenv/gbuild/platform/freebsd.mk; \ ${REINPLACE_CMD} -e "s/=-Os /=-Os -fno-devirtualize -fno-devirtualize-speculatively /" ${WRKSRC}/solenv/inc/unxfbsdi.mk; \ fi .elif ${ARCH} == i386 && ${CHOSEN_COMPILER_TYPE} == clang # autodoc and uno (bridgetest) core dump when built with with -Os # on i386, affects file.cxx and bridgetest.cxx (at least). # Using -O2 optimiztion works, and -Os is essentially -O2 with out # loop unrolling. # Changing optimization in just unxfbsdi.mk is sufficient to get # a successful build, but change it in both places to avoid the # possibility of obscure runtime problems, which is likely # since this seems to be a generic bug in code generation for # exception handling. # See: ${REINPLACE_CMD} -e "s/=-Os /=-O2 -fno-unroll-loops /" ${WRKSRC}/solenv/inc/unxfbsdi.mk ${REINPLACE_CMD} -e "s/ := -Os/ := -O2 -fno-unroll-loops/" ${WRKSRC}/solenv/gbuild/platform/freebsd.mk .endif do-build: ${PRINTF} "[repositories]\nmain=active\nextras=active\n" > ${WRKSUBDIR}/source_config cd ${WRKSRC} ; ./bootstrap # # numproc controls the number of parallel makes. # # dmproc is passed to dmake and controls parallelization at that # level. # # dmproc > numproc seems to give shorter build times than # numproc > dmproc. # # Select values for numproc and dmproc such that: # * numproc*dmproc >= MAKE_JOBS_NUMBER # * minimize numproc*dmproc-MAKE_JOBS_NUMBER # * dmproc >= numproc # * dmproc <= 2*numproc if MAKE_JOBS_NUMBER <= 3 # if [ ${MAKE_JOBS_NUMBER} -le 3 ] ; then \ numproc=1 ; dmproc=${MAKE_JOBS_NUMBER} ; \ else \ a=1 ; \ while [ $$(( 2 * $${a} * $${a} )) -lt ${MAKE_JOBS_NUMBER} ]; do \ a=$$(( $${a} + 1 )) ; \ done ; \ b=$$(( $${a} + 1 )) ; \ ad=$$(( ( ${MAKE_JOBS_NUMBER} + $${a} - 1 ) / $${a} )) ; \ ap=$$(( $${a} * $${ad} )) ; \ bd=$$(( ( ${MAKE_JOBS_NUMBER} + $${b} - 1 ) / $${b} )) ; \ bp=$$(( $${b} * $${bd} )) ; \ if [ $${ap} -le $${bp} ]; then \ numproc=$${a} ; dmproc=$${ad} ; \ else \ numproc=$${b} ; dmproc=$${bd} ; \ fi ; \ fi ; \ cd ${WRKSRC}/instsetoo_native ; \ export ${AOO_MAKE_ENV} ; \ . ../${FREEBSD_ENV_SET} ; \ build.pl --all -P$${numproc} -- -P$${dmproc} PYDL= ${STAGEDIR}${OOPATH}/program/python-core-2.7.18/lib/lib-dynload do-install: @${MKDIR} ${STAGEDIR}${PRINSTALLATION_BASEDIR} \ ${STAGEDIR}${PREFIX}/share/mime/packages @cd ${WRKSRC} ; \ . ${FREEBSD_ENV_SET} ; \ cd instsetoo_native/$${INPATH}/Apache_OpenOffice/archive/install/${LOCALIZED_LANG}/ ; \ for i in *.tar.?z ; do \ ${ECHO_CMD} "extracting $$i" ; \ ${TAR} -s '|./[^/]*/||' -xz -f $$i \ -C ${STAGEDIR}${PRINSTALLATION_BASEDIR} ; \ done ${RM} ${PYDL}/_sqlite3.so ${PYDL}/gdbm.so ${PYDL}/readline.so ${FIND} ${STAGEDIR}${PRINSTALLATION_BASEDIR} -type d -exec ${CHMOD} 755 {} \; ${REINPLACE_CMD} \ -e '/^UserInstallation/s/=.*/=$$SYSUSERCONFIG\/${AOOUDIR}/' \ ${STAGEDIR}${OOPATH}/program/bootstraprc @${RM} ${STAGEDIR}${OOPATH}/program/bootstraprc.bak @${ECHO_CMD} "adding wrapper scripts"; @${CP} ${FILESDIR}/openoffice-wrapper ${WRKDIR}/ @${REINPLACE_CMD} -e 's#%%OOPATH%%#${OOPATH}#g' \ -e 's#%%EXECBASE%%#${EXECBASE}#g' \ ${WRKDIR}/openoffice-wrapper ${INSTALL_SCRIPT} ${WRKDIR}/openoffice-wrapper \ ${STAGEDIR}${PREFIX}/bin/${EXECBASE} @cd ${STAGEDIR}${PREFIX}/bin; for i in printeradmin sbase scalc sdraw \ simpress smath spadmin swriter ; do \ ${LN} -f ${EXECBASE} ${EXECBASE}-$${i} ; \ done @${ECHO_CMD} "adding desktop support" @cd ${WRKSRC} ; \ . ${FREEBSD_ENV_SET} ; \ cd sysui/$${INPATH}/misc/openoffice ; \ DESTDIR=${STAGEDIR} \ GNOMEDIR=${PREFIX} \ ICON_PREFIX=openoffice${AOOVERSION1} \ ICON_SOURCE_DIR=${WRKSRC}/sysui/desktop/icons \ ICON_THEMES="hicolor/??x??" \ KDEMAINDIR=${PREFIX} \ PREFIX=openoffice${AOOVERSION1} \ ${SH} ${CREATE_TREE} ; \ ${INSTALL_DATA} apacheopenoffice.xml \ ${STAGEDIR}/${PREFIX}/share/mime/packages @cd ${STAGEDIR}${DESKTOPDIR}; for i in base calc draw impress \ javafilter math printeradmin qstart startcenter writer ; do \ ${LN} -sf ${XDGREL}/$${i}.desktop ${EXECBASE}-$${i}.desktop ; \ done do-install-SDK-on: ${TAR} -s '|./[^/]*/||' -xz -C ${STAGEDIR}${PRINSTALLATION_BASEDIR} \ -f ${WRKSRC}/instsetoo_native/unxfbsd*.pro/Apache_OpenOffice_SDK/archive/install/${LOCALIZED_LANG}/*.tar.gz @f=${STAGEDIR}${OOPATH}/sdk/bin/unoapploader ; \ ${CHMOD} 644 $${f} ; ${STRIP_CMD} $${f} ; ${CHMOD} 444 $${f} post-install: @${ECHO_CMD} "generating plist"; @cd ${STAGEDIR}${PREFIX} ; (\ ${FIND} -s bin -name "${EXECBASE}*" ; \ ${FIND} -s ${INSTALLATION_BASEDIR} share/applications \ share/application-registry share/icons \ share/mime-info share/mime share/mimelnk \! -type d ; \ ${FIND} ${INSTALLATION_BASEDIR} -type d -empty | ${SORT} -r | \ ${SED} -e 's/^/@dir /' ; \ ) >> ${TMPPLIST} .include <${FILESDIR}/Makefile.others> .include diff --git a/editors/openoffice-devel/Makefile b/editors/openoffice-devel/Makefile index eab8e02f7613..d3ea851c4509 100644 --- a/editors/openoffice-devel/Makefile +++ b/editors/openoffice-devel/Makefile @@ -1,540 +1,538 @@ -# Created by: Martin Blapp - PORTNAME= apache-openoffice PORTVERSION= ${AOOVERSION1}.${AOOVERSION2}.${TIMESTAMP} PORTREVISION= 1 PORTEPOCH= 4 CATEGORIES= editors java MASTER_SITES= https://dist.apache.org/repos/dist/dev/openoffice/${AOOVERSION}-${AOORC}-${TIMESTAMP}/source/ \ http://tools.openoffice.org/unowinreg_prebuild/680/:unoreg \ LOCAL/truckman/openoffice:snap,extsrc \ SF/oooextras.mirror/:sf .if defined(LANG_PKGNAME) PKGNAMEPREFIX= ${LANG_PKGNAME}- .endif .if defined(LANG_SUFFIX) PKGNAMESUFFIX= -${LANG_SUFFIX} .endif PKGNAMESUFFIX= -devel DISTFILES= ${AOOSRC}${AOODISTTAG} ${EXTSRC}:extsrc DIST_SUBDIR= openoffice EXTRACT_ONLY= ${AOOSRC} MAINTAINER= office@FreeBSD.org #de facto maintainer is truckman@FreeBSD.org #Frequent Patch submitters should (optionally) sign the Apache iCLA COMMENT= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser (developer version) LICENSE= APACHE20 ADOBE BSD3CLAUSE BSD4CLAUSE BSL ICU MIT MPL10 \ MPL11 PSFL TWAIN W3C LICENSE_COMB= multi LICENSE_NAME_ADOBE= Adobe Systems Incorporated license LICENSE_NAME_ICU= ICU License LICENSE_NAME_TWAIN= TWAIN Working Group license LICENSE_NAME_W3C= W3C license LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE_ALv2 LICENSE_FILE_ADOBE= ${WRKSRC}/LICENSE_ADOBE LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE_BSD3CLAUSE LICENSE_FILE_BSD4CLAUSE= ${WRKSRC}/LICENSE_BSD4CLAUSE LICENSE_FILE_BSL= ${WRKSRC}/LICENSE_BSL LICENSE_FILE_ICU= ${WRKSRC}/LICENSE_ICU LICENSE_FILE_MIT= ${WRKSRC}/LICENSE_MIT LICENSE_FILE_MPL10= ${WRKSRC}/LICENSE_MPL10 LICENSE_FILE_MPL11= ${WRKSRC}/LICENSE_MPL11 LICENSE_FILE_PSFL= ${WRKSRC}/LICENSE_PSFL LICENSE_FILE_TWAIN= ${WRKSRC}/LICENSE_TWAIN LICENSE_FILE_W3C= ${WRKSRC}/LICENSE_W3C LICENSE_PERMS_ADOBE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_ICU= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_TWAIN= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_W3C= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept ONLY_FOR_ARCHS= amd64 i386 powerpc64 BROKEN_powerpc64= fails to compile: aoo-4.2.0/main/solver/420/unxfbsdppc64.pro/inc/stl/vector:31:11: fatal error: boost/tr1/tr1/vector: No such file or directory BUILD_DEPENDS= \ p5-Archive-Zip>=0:archivers/p5-Archive-Zip \ ${LOCALBASE}/bin/unzip:archivers/unzip \ zip:archivers/zip \ ant:devel/apache-ant \ dmake:devel/dmake \ epm:devel/epm \ ${LOCALBASE}/bin/gperf:devel/gperf \ imake:devel/imake \ libunwind>=20211201_1:devel/libunwind \ gpatch:devel/patch \ ${LOCALBASE}/include/sane/sane.h:graphics/sane-backends \ ${JAVALIBDIR}/commons-lang3.jar:java/apache-commons-lang3 \ ${JAVALIBDIR}/junit.jar:java/junit \ ${JAVALIBDIR}/bsh.jar:lang/bsh \ bash:shells/bash \ ${JAVALIBDIR}/lucene-core-3.6.2.jar:textproc/lucene \ p5-XML-Parser>=0:textproc/p5-XML-Parser \ p5-libwww>=0:www/p5-libwww \ p5-LWP-Protocol-https>0:www/p5-LWP-Protocol-https LIB_DEPENDS= \ libapr-1.so:devel/apr1 \ libnspr4.so:devel/nspr \ libcurl.so:ftp/curl \ libcairo.so:graphics/cairo \ libpng.so:graphics/png \ libgraphite.so:graphics/silgraphite \ libblas.so:math/blas \ libCbcSolver.so:math/cbc \ libCgl.so:math/cgl \ libcoinasl.so:math/asl \ libClpSolver.so:math/clp \ libCoinMP.so:math/coinmp \ libCoinUtils.so:math/coinutils \ libcoinmumps.so:math/coin-or-mumps \ libnauty.so:math/nauty \ libopenblas.so:math/openblas \ libOsi.so:math/osi \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libhunspell-1.7.so:textproc/hunspell \ libhyphen.so:textproc/hyphen \ libtextcat.so:textproc/libtextcat \ libmythes-1.2.so:textproc/mythes \ librdf.so:textproc/redland \ libserf-1.so:www/serf \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= \ ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme \ ${JAVALIBDIR}/commons-lang3.jar:java/apache-commons-lang3 \ ${JAVALIBDIR}/bsh.jar:lang/bsh \ ${LOCALBASE}/share/fonts/Caladea/Caladea-Bold.ttf:x11-fonts/crosextrafonts-caladea-ttf \ ${LOCALBASE}/share/fonts/Carlito/Carlito-Bold.ttf:x11-fonts/crosextrafonts-carlito-ttf \ ${LOCALBASE}/share/fonts/ChromeOS/Arimo-Bold.ttf:x11-fonts/croscorefonts-fonts-ttf # For libgfortran.so and libquadmath.so BUILD_DEPENDS+= gcc${GCC_DEFAULT}>0:lang/gcc${GCC_DEFAULT} RUN_DEPENDS+= gcc${GCC_DEFAULT}>0:lang/gcc${GCC_DEFAULT} USES= autoreconf bison compiler:c++11-lib cpe desktop-file-utils \ gettext-runtime gl gmake gnome iconv jpeg perl5 pkgconfig \ python:3.7 shared-mime-info ssl tar:${TARTYPE} xorg USE_GL= gl glu USE_GNOME= gdkpixbuf2 gtk20 libxslt libidl glib20 USE_JAVA= yes JAVA_BUILD= jdk JAVA_RUN= jdk JAVA_VENDOR= openjdk USE_PERL5= build USE_XORG= ice sm x11 xau xaw xcomposite xcursor xdamage xext xfixes xi \ xinerama xrandr xrender xt CONFLICTS_INSTALL= apache-openoffice-4* AOOVERSION1= 4 AOOVERSION2= 2 AOOVERSION3= 0 # From solenv/inc/minor.mk SOURCEREVISION LAST_MINOR BUILD AOOTAG= AOO420m4\(Build:9823\) GITREVISION= 5b75b699aa TIMESTAMP= 1649975926 #AOORC=rc3 EXTSRC= ApacheOpenOffice.ext_sources.${AOOVERSION1}.x.x.20150707.tar.gz AOOVERSION= ${AOOVERSION1}.${AOOVERSION2}.${AOOVERSION3} AOOXXX= ${AOOVERSION1}${AOOVERSION2}${AOOVERSION3} .if defined(AOORC) AOOSUFFIX= ${AOOVERSION}-${AOORC} AOOSRC= apache-openoffice-${AOOVERSION}-${GITREVISION}-src${EXTRACT_SUFX} AOODISTTAG= TARTYPE= bzip2 .else AOOSUFFIX= ${PORTVERSION} AOOSRC= apache-openoffice-${TIMESTAMP}-${GITREVISION}-src${EXTRACT_SUFX} AOODISTTAG= :snap TARTYPE= xz .endif AOOUDIR= .openoffice.org\/${AOOVERSION1} INSTALLATION_BASEDIR?= openoffice-${AOOSUFFIX} PRINSTALLATION_BASEDIR= ${PREFIX}/${INSTALLATION_BASEDIR} OOPATH= ${PRINSTALLATION_BASEDIR}/openoffice${AOOVERSION1} XDGDIR= ${OOPATH}/share/xdg XDGREL= ../../${INSTALLATION_BASEDIR}/openoffice${AOOVERSION1}/share/xdg EXECBASE?= openoffice-${AOOSUFFIX} WITHOUT_CPU_CFLAGS= true CPE_PRODUCT= ${PORTNAME:S|apache-||} CPE_VENDOR= apache OPTIONS_DEFINE= CRASHDUMP CUPS DBGUTIL DEBUG GNOME MMEDIA \ MYSQL PDFIMPORT REPORT_BUILDER SDK WIKI_PUBLISHER OPTIONS_DEFAULT= CUPS GNOME MMEDIA WIKI_PUBLISHER CRASHDUMP_DESC= Enable crashdumps, you also need to set WITH_DEBUG_PORTS+=${PKGORIGIN} DBGUTIL_DESC= Enable assertions, object counting. (non-production) DEBUG_DESC= Compile with -O0, you also need to set WITH_DEBUG_PORTS+=${PKGORIGIN} GNOME_DESC= Screensaver presentation control via DBUS MMEDIA_DESC= Multimedia backend for impress MYSQL_DESC= Build MySQL Connector extension PDFIMPORT_DESC= Build and install PDF import extension REPORT_BUILDER_DESC= Build and install Report builder extension (Broken) SDK_DESC= Build and install software development kit WIKI_PUBLISHER_DESC= Build and install Wiki Publisher extension CRASHDUMP_CONFIGURE_ENABLE= crashdump CUPS_CONFIGURE_ENABLE= cups CUPS_LIB_DEPENDS= libcups.so:print/cups DBGUTIL_CONFIGURE_ENABLE= dbgutil DEBUG_CONFIGURE_ENABLE= debug GNOME_CONFIGURE_ENABLE= dbus lockdown GNOME_LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib MMEDIA_CONFIGURE_ENABLE= gstreamer MMEDIA_USES= gstreamer MYSQL_CONFIGURE_ENABLE= mysql-connector MYSQL_CONFIGURE_WITH= system-mysql MYSQL_LIB_DEPENDS= libmysqlcppconn.so:databases/mysql-connector-c++ MYSQL_USES= mysql SDK_CONFIGURE_ENABLE= odk SDK_DISTFILES= unowinreg.dll:unoreg PDFIMPORT_BROKEN= PDFIMPORT is not compatible with poppler-0.7x API PDFIMPORT_CONFIGURE_ENABLE= pdfimport REPORT_BUILDER_BROKEN= REPORT_BUILDER option requires additional .jar files REPORT_BUILDER_CONFIGURE_ENABLE= report-builder REPORT_BUILDER_JAR_DEPENDS= REPORT_BUILDER_BUILD_DEPENDS= ${REPORT_BUILDER_JAR_DEPENDS} REPORT_BUILDER_RUN_DEPENDS= ${REPORT_BUILDER_JAR_DEPENDS} WIKI_PUBLISHER_CONFIGURE_ENABLE= wiki-publisher WIKI_PUBLISHER_CONFIGURE_WITH= \ commons-codec-jar=${JAVALIBDIR}/commons-codec.jar \ commons-httpclient-jar=${JAVALIBDIR}/commons-httpclient.jar WIKI_PUBLISHER_JAR_DEPENDS= \ ${JAVALIBDIR}/commons-codec.jar:java/apache-commons-codec \ ${JAVALIBDIR}/commons-httpclient.jar:java/apache-commons-httpclient WIKI_PUBLISHER_BUILD_DEPENDS= ${WIKI_PUBLISHER_JAR_DEPENDS} WIKI_PUBLISHER_RUN_DEPENDS= ${WIKI_PUBLISHER_JAR_DEPENDS} # Don't run gnome-post-icons until after post-install generates the plist TARGET_ORDER_OVERRIDE= 710:gnome-post-icons # Force the SDK option on for makesum to ensure that unowinreg.dll is # included in distinfo .if make(makesum) || make(distclean) WITH= SDK .endif .include .if ${OPSYS} == FreeBSD && ( \ (${OSVERSION} >= 1300525 && ${OSVERSION} < 1301000) || \ (${OSVERSION} >= 1301500 && ${OSVERSION} < 1301502) || \ (${OSVERSION} >= 1400051 && ${OSVERSION} < 1400057)) BROKEN= please update FreeBSD base system first to fix an ABI incompatibility .endif .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-symbols .endif .if ${PORT_OPTIONS:MREPORT_BUILDER} || ${PORT_OPTIONS:MWIKI_PUBLISHER} BUILD_DEPENDS+= ${JAVALIBDIR}/commons-logging.jar:java/apache-commons-logging RUN_DEPENDS+= ${JAVALIBDIR}/commons-logging.jar:java/apache-commons-logging CONFIGURE_ARGS+= --with-commons-logging-jar=${JAVALIBDIR}/commons-logging.jar .else CONFIGURE_ARGS+= --without-commons-logging .endif .include <${FILESDIR}/Makefile.localized> GCC_EXTRA_DISTFILES= d6eef4b4cacb2183f2bf265a5a03a354-boost_1_55_0.tar.bz2 \ d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz .if ${CHOSEN_COMPILER_TYPE} == clang CPPFLAGS+= -I${LOCALBASE}/include CONFIGURE_ARGS+= --with-system-boost BUILD_DEPENDS+= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs . if ${COMPILER_VERSION} < 130 CONFIGURE_ARGS+= --with-system-vigra BUILD_DEPENDS+= ${LOCALBASE}/bin/vigra-config:graphics/vigra . endif .endif # These extra distfiles are needed to use the bundled versions of # boost and vigra for compatiblity with gcc. Also include them # for the makesum target so they are included in distinfo .if ${CHOSEN_COMPILER_TYPE} == gcc || ${COMPILER_VERSION} >= 130 || \ make(makesum) || make(distclean) DISTFILES+= ${GCC_EXTRA_DISTFILES:C/.*/&:sf/g} .endif .if ${ARCH} == amd64 FREEBSD_ENV_SET= FreeBSDAMDEnv.Set.sh PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86-64 .elif ${ARCH} == i386 FREEBSD_ENV_SET= FreeBSDX86Env.Set.sh PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86 .elif ${ARCH} == powerpc64 FREEBSD_ENV_SET= FreeBSDPPC64Env.Set.sh PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_ppc64 .endif PACKAGE_PREFIX= Apache_OpenOffice LOCALIZED_LANG?= en-US AOO_MAKE_ENV= ${MAKE_ENV:NCPPFLAGS=*:NCFLAGS=*:NCXXFLAGS=*} GNU_CONFIGURE= yes WRKSUBDIR= ${WRKDIR}/aoo-${AOOVERSION} WRKSRC?= ${WRKSUBDIR}/main SUB_FILES= pkg-message SUB_LIST= EXECBASE=${EXECBASE} AOOTAG=${AOOTAG} AOOUDIR=${AOOUDIR} \ PRINSTALLATION_BASEDIR=${PRINSTALLATION_BASEDIR} CONFIGURE_ARGS+= \ --enable-gio \ --disable-gnome-vfs \ --disable-gconf \ --with-unix-wrapper=${EXECBASE} \ --with-alloc=system \ --with-ant-home=${LOCALBASE}/share/java/apache-ant \ --with-system-apache-commons=yes \ --with-commons-lang-jar=${JAVALIBDIR}/commons-lang3.jar \ --with-system-apr \ --with-system-apr-util \ --with-system-beanshell \ --with-beanshell-jar=${JAVALIBDIR}/bsh.jar \ --enable-category-b \ --with-system-cairo --enable-cairo \ --with-system-coinmp \ --with-system-curl \ --with-system-dicts \ --with-epm=${LOCALBASE}/bin/epm \ --with-system-expat \ --disable-fetch-external \ --without-fonts \ --with-gnu-patch=${LOCALBASE}/bin/gpatch \ --with-gperf=${LOCALBASE}/bin/gperf \ --with-system-graphite \ --enable-gtk \ --with-system-hunspell \ --with-external-dict-dir=${LOCALBASE}/share/hunspell \ --with-system-hyphen \ --with-external-hyph-dir=${LOCALBASE}/share/hyphen \ --with-jdk-home=${JAVA_HOME} \ --with-system-jpeg \ --with-junit=${JAVALIBDIR}/junit.jar \ --with-system-libtextcat \ --disable-kde \ --disable-kde4 \ --with-system-libxml \ --with-system-libxslt \ --with-system-lucene \ --with-lucene-core-jar=${JAVALIBDIR}/lucene-core-3.6.2.jar \ --with-lucene-analyzers-jar=${JAVALIBDIR}/lucene-analyzers-3.6.2.jar \ --with-system-mythes \ --with-external-thes-dir=${LOCALBASE}/share/mythes \ --with-system-nss \ --enable-opengl \ --with-system-openssl \ --with-package-format="archive" \ --with-system-python \ --with-system-redland \ --with-system-sane \ --with-system-serf \ --with-system-stdlibs \ --with-vendor="FreeBSD ports system" \ --with-build-version="PKGNAME: ${PKGNAME:S/,/@/g}" \ --enable-verbose \ --with-system-xrender \ --with-system-zlib CREATE_TREE= ${WRKSRC}/sysui/desktop/share/create_tree.sh .include <${FILESDIR}/Makefile.knobs> pre-everything:: # really tweak, extremely useful when you build all localized language versions # needed after when you build with ALL_LOCALIZED_LANGS. .if defined(TWEAK_L10N) ${RM} ${WRKDIR}/.PLIST* ${RM} ${WRKDIR}/.install_done.* ${RM} ${WRKDIR}/.package_done.* ${RM} ${WRKDIR}/.extract_done.* ${RM} ${WRKDIR}/.patch_done.* ${RM} ${WRKDIR}/.configure_done.* ${RM} ${WRKDIR}/.build_done.* ${MKDIR} ${WRKDIR} ${TOUCH} ${EXTRACT_COOKIE} ${TOUCH} ${PATCH_COOKIE} ${TOUCH} ${CONFIGURE_COOKIE} ${TOUCH} ${BUILD_COOKIE} .endif do-extract-SDK-on: ${CP} ${DISTDIR}/${DIST_SUBDIR}/unowinreg.dll ${WRKSRC}/external/unowinreg/ post-extract: ${TAR} -C ${WRKSUBDIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EXTSRC} .if ${CHOSEN_COMPILER_TYPE} == gcc || ${COMPILER_VERSION} >= 130 . for f in ${GCC_EXTRA_DISTFILES} ${CP} ${DISTDIR}/${DIST_SUBDIR}/${f} ${WRKSUBDIR}/ext_sources/${f} . endfor .endif ${CP} ${FILESDIR}/freebsd-aoo-intro-developer.png \ ${WRKSRC}/default_images/introabout/intro.png ${CP} ${FILESDIR}/freebsd-aoo-about-developer.png \ ${WRKSRC}/default_images/introabout/about.png ${RM} -r ${WRKSRC}/l10n ${LN} -sf ${UNZIP_CMD} ${WRKSRC}/solenv/bin/unzip ${SED} -e '\|^For main/vcl/unx/generic/fontmanager/parseAFM|,/^__/p' \ -e '\|^For PostScript(R) AFM|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_ADOBE} ${SED} -e '\|^For main/unixODBC|,/^__/p' \ -e '\|^For main/connectivity|,/^__/p' \ -e '\|^For main/libtextcat/data|,/^__/p' \ -e '\|^For integration of HSQLDB|,/^__/p' \ -e '\|^For C preprocessor|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSD3CLAUSE} ${SED} -e '\|^For ICC |,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSD4CLAUSE} ${SED} -e '\|^For integration of the C++ Boost |,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSL} ${SED} -e '\|^For main/i18npool/source/breakiterator|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_ICU} ${SED} -e '\|^For Multi-Dimensional Data|,/^__/p' \ -e '\|^For XSLT MathML Library|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_MIT} ${SED} -e '\|^For XMLSec Library|,/^__/p' \ -e d ${WRKSRC}/LICENSE_category_b >> ${LICENSE_FILE_MIT} ${SED} -e '\|^For Saxon|,/^__/p' \ -e d ${WRKSRC}/LICENSE_category_b > ${LICENSE_FILE_MPL10} ${SED} -e '\|^The following Licenses have some restrictions|,/^- For Network/p' \ -e d ${WRKSRC}/LICENSE_category_b | \ ${SED} -e :a -e '$d;N;2,3ba' -e 'P;D' > ${LICENSE_FILE_MPL11} ${SED} -e '\|^For main/filter/source/config/tools/merge/pyAltFCFGMerge|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_PSFL} ${SED} -e '\|^For main/twain|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_TWAIN} ${SED} -e '\|^For main/MathMLDTD|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_W3C} post-patch: ${REINPLACE_CMD} -e "/^ICONVERSION/s/=.*/= '${AOOVERSION1}'/" \ ${WRKSRC}/sysui/desktop/productversion.mk ${REINPLACE_CMD} -e "s|%%JAVA_HOME%%|${JAVA_HOME}|" \ ${WRKSRC}/desktop/scripts/soffice.sh ${REINPLACE_CMD} -e '/^mkdir -p/,$$d' ${CREATE_TREE} do-build: ${PRINTF} "[repositories]\nmain=active\nextras=active\n" > ${WRKSUBDIR}/source_config cd ${WRKSRC} ; ./bootstrap # # numproc controls the number of parallel makes. # # dmproc is passed to dmake and controls parallelization at that # level. # # dmproc > numproc seems to give shorter build times than # numproc > dmproc. # # Select values for numproc and dmproc such that: # * numproc*dmproc >= MAKE_JOBS_NUMBER # * minimize numproc*dmproc-MAKE_JOBS_NUMBER # * dmproc >= numproc # * dmproc <= 2*numproc if MAKE_JOBS_NUMBER <= 3 # if [ ${MAKE_JOBS_NUMBER} -le 3 ] ; then \ numproc=1 ; dmproc=${MAKE_JOBS_NUMBER} ; \ else \ a=1 ; \ while [ $$(( 2 * $${a} * $${a} )) -lt ${MAKE_JOBS_NUMBER} ]; do \ a=$$(( $${a} + 1 )) ; \ done ; \ b=$$(( $${a} + 1 )) ; \ ad=$$(( ( ${MAKE_JOBS_NUMBER} + $${a} - 1 ) / $${a} )) ; \ ap=$$(( $${a} * $${ad} )) ; \ bd=$$(( ( ${MAKE_JOBS_NUMBER} + $${b} - 1 ) / $${b} )) ; \ bp=$$(( $${b} * $${bd} )) ; \ if [ $${ap} -le $${bp} ]; then \ numproc=$${a} ; dmproc=$${ad} ; \ else \ numproc=$${b} ; dmproc=$${bd} ; \ fi ; \ fi ; \ cd ${WRKSRC}/instsetoo_native ; \ export ${AOO_MAKE_ENV} ; \ . ../${FREEBSD_ENV_SET} ; \ build.pl --all -P$${numproc} -- -P$${dmproc} do-install: @${MKDIR} ${STAGEDIR}${PRINSTALLATION_BASEDIR} \ ${STAGEDIR}${PREFIX}/share/mime/packages @cd ${WRKSRC} ; \ . ${FREEBSD_ENV_SET} ; \ cd instsetoo_native/$${INPATH}/Apache_OpenOffice/archive/install/${LOCALIZED_LANG}/ ; \ for i in *.tar.?z ; do \ ${ECHO_CMD} "extracting $$i" ; \ ${TAR} -s '|./[^/]*/||' -xz -f $$i \ -C ${STAGEDIR}${PRINSTALLATION_BASEDIR} ; \ done ${FIND} ${STAGEDIR}${PRINSTALLATION_BASEDIR} -type d -exec ${CHMOD} 755 {} \; ${REINPLACE_CMD} \ -e '/^UserInstallation/s/=.*/=$$SYSUSERCONFIG\/${AOOUDIR}/' \ ${STAGEDIR}${OOPATH}/program/bootstraprc @${RM} ${STAGEDIR}${OOPATH}/program/bootstraprc.bak @${ECHO_CMD} "adding wrapper scripts"; @${CP} ${FILESDIR}/openoffice-wrapper ${WRKDIR}/ @${REINPLACE_CMD} -e 's#%%OOPATH%%#${OOPATH}#g' \ -e 's#%%EXECBASE%%#${EXECBASE}#g' \ ${WRKDIR}/openoffice-wrapper ${INSTALL_SCRIPT} ${WRKDIR}/openoffice-wrapper \ ${STAGEDIR}${PREFIX}/bin/${EXECBASE} @cd ${STAGEDIR}${PREFIX}/bin; for i in printeradmin sbase scalc sdraw \ simpress smath spadmin swriter ; do \ ${LN} -f ${EXECBASE} ${EXECBASE}-$${i} ; \ done @${ECHO_CMD} "adding desktop support" @cd ${WRKSRC} ; \ . ${FREEBSD_ENV_SET} ; \ cd sysui/$${INPATH}/misc/openoffice ; \ DESTDIR=${STAGEDIR} \ GNOMEDIR=${PREFIX} \ ICON_PREFIX=openoffice${AOOVERSION1} \ ICON_SOURCE_DIR=${WRKSRC}/sysui/desktop/icons \ ICON_THEMES="hicolor/??x??" \ KDEMAINDIR=${PREFIX} \ PREFIX=openoffice${AOOVERSION1} \ ${SH} ${CREATE_TREE} ; \ ${INSTALL_DATA} apacheopenoffice.xml \ ${STAGEDIR}/${PREFIX}/share/mime/packages @cd ${STAGEDIR}${DESKTOPDIR}; for i in base calc draw impress \ javafilter math printeradmin qstart startcenter writer ; do \ ${LN} -sf ${XDGREL}/$${i}.desktop ${EXECBASE}-$${i}.desktop ; \ done do-install-SDK-on: ${TAR} -s '|./[^/]*/||' -xz -C ${STAGEDIR}${PRINSTALLATION_BASEDIR} \ -f ${WRKSRC}/instsetoo_native/unxfbsd*.pro/Apache_OpenOffice_SDK/archive/install/${LOCALIZED_LANG}/*.tar.gz @f=${STAGEDIR}${OOPATH}/sdk/bin/unoapploader ; \ ${CHMOD} 644 $${f} ; ${STRIP_CMD} $${f} ; ${CHMOD} 444 $${f} post-install: @${ECHO_CMD} "generating plist"; @cd ${STAGEDIR}${PREFIX} ; (\ ${FIND} -s bin -name "${EXECBASE}*" ; \ ${FIND} -s ${INSTALLATION_BASEDIR} share/applications \ share/application-registry share/icons \ share/mime-info share/mime share/mimelnk \! -type d ; \ ${FIND} ${INSTALLATION_BASEDIR} -type d -empty | ${SORT} -r | \ ${SED} -e 's/^/@dir /' ; \ ) >> ${TMPPLIST} .include <${FILESDIR}/Makefile.others> .include diff --git a/editors/p5-Vimana/Makefile b/editors/p5-Vimana/Makefile index 590ac0d6daeb..71cd9a0bf782 100644 --- a/editors/p5-Vimana/Makefile +++ b/editors/p5-Vimana/Makefile @@ -1,32 +1,30 @@ -# Created by: Gea-Suan Lin - PORTNAME= Vimana PORTVERSION= 2010.09303 PORTREVISION= 4 CATEGORIES= editors perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:CORNELIUS PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Vim script manager BUILD_DEPENDS= vim:editors/vim RUN_DEPENDS= vim:editors/vim \ p5-App-CLI>=0.08:devel/p5-App-CLI \ p5-Archive-Extract>=0.34:archivers/p5-Archive-Extract \ p5-DateTime>=0:devel/p5-DateTime \ p5-Exporter-Lite>=0.2:devel/p5-Exporter-Lite \ p5-File-Type>=0.22:devel/p5-File-Type \ p5-HTTP-Lite>=0:www/p5-HTTP-Lite \ p5-Mouse>=0:devel/p5-Mouse \ p5-PathTools>=0:devel/p5-PathTools \ p5-URI>=1.37:net/p5-URI \ p5-YAML>=0:textproc/p5-YAML \ p5-libwww>=5.835:www/p5-libwww NO_ARCH= yes USES= perl5 USE_PERL5= configure .include diff --git a/editors/pdfedit/Makefile b/editors/pdfedit/Makefile index 6d17a49e6f47..7c5c3c33be98 100644 --- a/editors/pdfedit/Makefile +++ b/editors/pdfedit/Makefile @@ -1,49 +1,47 @@ -# Created by: alepulver - PORTNAME= pdfedit PORTVERSION= 0.4.5 PORTREVISION= 16 CATEGORIES= editors MASTER_SITES= SF MAINTAINER= hrs@FreeBSD.org COMMENT= PDF document manipulating library LICENSE= GPLv2 BROKEN_powerpc64= fails to configure: error: Could not link against boost_program_options BROKEN_sparc64= fails to configure: error: Could not link against boost_program_options BROKEN_FreeBSD_13= fails to compile: call to 'advance' is ambiguous BROKEN_FreeBSD_14= fails to compile: call to 'advance' is ambiguous LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libfreetype.so:print/freetype2 \ libpng.so:graphics/png \ libt1.so:devel/t1lib USES= gmake perl5 tar:bzip2 USE_CXXSTD= c++98 USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-root-dir=${STAGEDIR} \ --with-ft-library=${LOCALBASE}/lib \ --with-ft-includes=${LOCALBASE}/include \ --with-t1-library=${LOCALBASE}/lib \ --with-t1-includes=${LOCALBASE}/include \ --with-parallel-make=off \ --disable-gui \ --enable-pdfedit-core-dev \ --enable-tools INSTALL_TARGET= install install-tools PORTDOCS= Changelog README AUTHORS OPTIONS_DEFINE= DOCS post-extract: ${INSTALL_DATA} ${WRKSRC}/doc/AUTHORS ${WRKSRC} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/editors/pluma-plugins/Makefile b/editors/pluma-plugins/Makefile index dd8b526daaf9..480cd54c1f29 100644 --- a/editors/pluma-plugins/Makefile +++ b/editors/pluma-plugins/Makefile @@ -1,43 +1,41 @@ -# Created by: Adam Weinberger - PORTNAME= pluma-plugins PORTVERSION= 1.26.0 PORTREVISION= 3 CATEGORIES= editors mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= Plugins for Pluma LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= pluma>=0:editors/pluma \ itstool:textproc/itstool \ ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py-libpeas@${PY_FLAVOR} LIB_DEPENDS= libpeas-1.0.so:devel/libpeas \ libgit2-glib-1.0.so:devel/libgit2-glib \ libgucharmap_2_90.so:deskutils/gucharmap RUN_DEPENDS= pluma>=0:editors/pluma \ ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py-libpeas@${PY_FLAVOR} PORTSCOUT= limitw:1,even USES= compiler:c11 gettext gnome localbase gmake pkgconfig \ python:3.8+ shebangfix tar:xz USE_GNOME= cairo gdkpixbuf2 gtk30 gtksourceview4 intlhack introspection \ intltool vte3 USE_CSTD= c11 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.mate.pluma.plugins.sourcecodebrowser.gschema.xml \ org.mate.pluma.plugins.terminal.gschema.xml \ org.mate.pluma.plugins.wordcompletion.gschema.xml .include diff --git a/editors/pluma/Makefile b/editors/pluma/Makefile index 6d347012022f..2cde4f0ef178 100644 --- a/editors/pluma/Makefile +++ b/editors/pluma/Makefile @@ -1,52 +1,50 @@ -# Created by: Joe Marcus Clarke - PORTNAME= pluma PORTVERSION= 1.26.0 PORTREVISION= 3 CATEGORIES= editors mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= Small but powerful text editor for MATE Desktop Environment LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool \ ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes LIB_DEPENDS= libenchant-2.so:textproc/enchant2 \ libpeas-gtk-1.0.so:devel/libpeas RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes PORTSCOUT= limitw:1,even USES= compiler:c11 desktop-file-utils gettext-tools gmake gnome libtool localbase \ pathfix pkgconfig python:3.3+ shebangfix tar:xz xorg USE_XORG= ice sm x11 USE_GNOME= cairo gdkpixbuf2 gnomeprefix gtk30 gtksourceview4 \ gvfs intltool introspection libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip SHEBANG_FILES= \ ${WRKSRC}/data/pluma-bugreport.sh.in \ ${WRKSRC}/plugins/externaltools/data/build.tool.in \ ${WRKSRC}/plugins/externaltools/data/open-terminal-here.tool.in \ ${WRKSRC}/plugins/externaltools/data/remove-trailing-spaces.tool.in \ ${WRKSRC}/plugins/externaltools/data/run-command.tool.in \ ${WRKSRC}/plugins/externaltools/data/search-recursive.tool.in \ ${WRKSRC}/plugins/externaltools/data/switch-c.tool.in SHEBANG_LANG= sh sh_CMD= /bin/sh GLIB_SCHEMAS= org.mate.pluma.gschema.xml \ org.mate.pluma.plugins.filebrowser.gschema.xml \ org.mate.pluma.plugins.pythonconsole.gschema.xml \ org.mate.pluma.plugins.spell.gschema.xml \ org.mate.pluma.plugins.time.gschema.xml OPTIONS_DEFINE= DOCS .include diff --git a/editors/poedit/Makefile b/editors/poedit/Makefile index 9a2516c8d8d4..fe10f7d04379 100644 --- a/editors/poedit/Makefile +++ b/editors/poedit/Makefile @@ -1,44 +1,43 @@ -# Created by: Ying-Chieh Liao # $MCom: ports/editors/poedit/Makefile,v 1.2 2006/10/05 07:03:09 mezz Exp $ PORTNAME= poedit PORTVERSION= 3.0.1 PORTREVISION= 2 CATEGORIES= editors MASTER_SITES= https://github.com/vslavik/${PORTNAME}/releases/download/v${PORTVERSION}-oss/ MAINTAINER= rodrigo@FreeBSD.org COMMENT= Gettext catalogs (.po files) editor LICENSE= BSD2CLAUSE BUILD_DEPENDS= zip:archivers/zip LIB_DEPENDS= libgtkspell3-3.so:textproc/gtkspell3 \ libboost_thread.so:devel/boost-libs \ libicui18n.so:devel/icu \ liblucene++.so:textproc/luceneplusplus USES= bdb compiler:c++11-lib desktop-file-utils gettext gmake gnome \ pkgconfig USE_WX= 3.0 WX_CONF_ARGS= absolute WITH_BDB_HIGHEST= yes GNU_CONFIGURE= yes CONFIGURE_ENV= WXRC="${WXRC_CMD}" CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include ## -stdlib=libc++ LDFLAGS+= -lpthread -L${BDB_LIB_DIR} -L${LOCALBASE}/lib OPTIONS_DEFINE= NLS OPTIONS_SUB=yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -e \ 's/for version in .*;/for version in ${BDB_VER};/ ; \ s/-ldb-$$version/-l${BDB_LIB_NAME}/' ${WRKSRC}/configure .include diff --git a/editors/poke/Makefile b/editors/poke/Makefile index 847025338de1..8e7f1b84a6f1 100644 --- a/editors/poke/Makefile +++ b/editors/poke/Makefile @@ -1,35 +1,33 @@ -# Created by: Olga Smirnova - PORTNAME= poke PORTVERSION= 1.0 CATEGORIES= editors MASTER_SITES= GNU MAINTAINER= mistresssilvara@hotmail.com COMMENT= Scriptable interactive binary editor LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= help2man:misc/help2man LIB_DEPENDS= libgc.so:devel/boehm-gc \ libjson-c.so:devel/json-c \ libtextstyle.so:devel/libtextstyle USES= gmake libtool pkgconfig readline USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gui INSTALL_TARGET= install-strip INFO= ${PORTNAME} OPTIONS_DEFINE= EXAMPLES NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/editors/psgml/Makefile b/editors/psgml/Makefile index 03b909930a12..f9c1ad77e755 100644 --- a/editors/psgml/Makefile +++ b/editors/psgml/Makefile @@ -1,43 +1,41 @@ -# Created by: Shigeyuki Fukushima - PORTNAME= psgml PORTVERSION= 1.4.0 PORTREVISION= 14 CATEGORIES= editors elisp MASTER_SITES= SF/${PORTNAME}/ALPHA%20${PORTNAME}/1.3.2 PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} DISTNAME= ${PORTNAME}-1.3.2 PATCH_SITES= LOCAL/hrs PATCHFILES= psgml-symbol-conflict-050503.diff.gz MAINTAINER= hrs@FreeBSD.org COMMENT= Major mode for editing SGML and XML documents for Emacs LICENSE= GPLv2 .if ${FLAVOR:U} == devel_full || ${FLAVOR:U} == devel_nox BROKEN= fails to build .endif USES= emacs GNU_CONFIGURE= YES CONFIGURE_ARGS= --lispdir=${PSGML_LISPDIR} CONFIGURE_ENV= EMACS=${EMACS_CMD} SUB_FILES= ${PSGML_STARTUPEL} SUB_LIST= PSGML_LISPDIR=${PSGML_LISPDIR} PLIST_SUB= PSGML_STARTUPEL=${PSGML_STARTUPEL} INFO= psgml psgml-api PSGML_STARTUPEL= psgml-startup.el PSGML_LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/psgml post-install: cd ${WRKSRC} && ${SETENV} DESTDIR="${STAGEDIR}" ${MAKE} install-info ${GZIP_CMD} ${STAGEDIR}${PSGML_LISPDIR}/*.el ${INSTALL_DATA} ${WRKDIR}/${PSGML_STARTUPEL} \ ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} .include diff --git a/editors/puff/Makefile b/editors/puff/Makefile index d17d214186dd..e9997406c726 100644 --- a/editors/puff/Makefile +++ b/editors/puff/Makefile @@ -1,15 +1,13 @@ -# Created by: Leif Pedersen - PORTNAME= puff PORTVERSION= 1.0.1 CATEGORIES= editors MASTER_SITES= http://devpit.org/puff/ \ http://www.freebsdbrasil.com.br/~jmelo/ MAINTAINER= bilbo@hobbiton.org COMMENT= Simple and efficient text editor USES= ncurses PLIST_FILES= bin/puff etc/puff.conf.sample .include diff --git a/editors/py-editorconfig/Makefile b/editors/py-editorconfig/Makefile index 46281f43ef29..61efc1f521d6 100644 --- a/editors/py-editorconfig/Makefile +++ b/editors/py-editorconfig/Makefile @@ -1,23 +1,21 @@ -# Created by: Shaun Amott - PORTNAME= editorconfig PORTVERSION= 0.12.3 CATEGORIES= editors python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= EditorConfig-${DISTVERSION} MAINTAINER= shaun@FreeBSD.org COMMENT= EditorConfig File Locator and Interpreter for Python LICENSE= BSD2CLAUSE PSFL LICENSE_COMB= multi USES= python:3.6+ USE_PYTHON= distutils autoplist CONFLICTS_INSTALL= editorconfig-core-c NO_ARCH= yes .include diff --git a/editors/rehex/Makefile b/editors/rehex/Makefile index dabad19ce78a..4809b7d22919 100644 --- a/editors/rehex/Makefile +++ b/editors/rehex/Makefile @@ -1,33 +1,31 @@ -# Created by: Alexey Dokuchaev - PORTNAME= rehex DISTVERSION= 0.5.3 CATEGORIES= editors MAINTAINER= fuz@fuz.su COMMENT= Hex editor for reverse engineering LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libcapstone.so:devel/capstone4 \ libharfbuzz.so:print/harfbuzz \ libiconv.so:converters/libiconv \ libjansson.so:devel/jansson \ libunistring.so:devel/libunistring USES= compiler:c++11-lang gmake gnome lua:53 perl5 pkgconfig USE_GITHUB= yes GH_ACCOUNT= solemnwarning USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango USE_PERL5= build USE_WX= 3.0+ MAKE_ENV= INSTALL_STRIP="${STRIP}" LUA_PKG="lua-${LUA_VER}" LUA="${LUA_CMD}" TEST_TARGET= check OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= p5-Template-Toolkit>0:www/p5-Template-Toolkit \ zip:archivers/zip DOCS_MAKE_ARGS_OFF= BUILD_HELP=0 .include diff --git a/editors/rubygem-neovim/Makefile b/editors/rubygem-neovim/Makefile index 6a62f1a861b4..aebbdb48645c 100644 --- a/editors/rubygem-neovim/Makefile +++ b/editors/rubygem-neovim/Makefile @@ -1,28 +1,26 @@ -# Created by: Adam Weinberger - PORTNAME= neovim PORTVERSION= 0.9.0 CATEGORIES= editors rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Ruby bindings for neovim LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= nvim:editors/neovim \ rubygem-msgpack>=1.1<2:devel/rubygem-msgpack \ rubygem-multi_json>=1.0<2:devel/rubygem-multi_json TEST_DEPENDS= rubygem-bundler>=0:sysutils/rubygem-bundler \ rubygem-rake>=0:devel/rubygem-rake \ rubygem-rspec>=0:devel/rubygem-rspec USES= gem USE_RUBY= yes NO_ARCH= yes PLIST_FILES= bin/neovim-ruby-host .include diff --git a/editors/scite/Makefile b/editors/scite/Makefile index 3eabe9d27da6..ad36bdec7e0b 100644 --- a/editors/scite/Makefile +++ b/editors/scite/Makefile @@ -1,56 +1,54 @@ -# Created by: Maxim Sobolev - PORTNAME= scite DISTVERSION= 4.4.5 CATEGORIES= editors gnome MASTER_SITES= SF/scintilla/SciTE/${PORTVERSION} DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g} MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Full-featured SCIntilla based text editor for GTK/GNOME LICENSE= SCINTILLA LICENSE_NAME= License for Scintilla and SciTE LICENSE_FILE= ${WRKSRC}/../License.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libscintilla.so:x11-toolkits/scintilla RUN_DEPENDS= xdg-open:devel/xdg-utils USES= compiler:c++17-lang desktop-file-utils gmake gnome pkgconfig tar:tgz OPTIONS_DEFINE= DOCS PATCH_WRKSRC= ${WRKDIR}/${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME}/gtk USE_GNOME= cairo gdkpixbuf2 gtk30 MAKEFILE= makefile MAKE_ARGS= GTK3=1 .if defined(WITH_DEBUG) MAKE_ARGS+= DEBUG=1 .endif PORTDATA= *.properties PORTDOCS= *.html *.jpg *.png .include .if ${CHOSEN_COMPILER_TYPE} == clang MAKE_ARGS+= CLANG=1 .endif post-patch: @${REINPLACE_CMD} -e 's|$$(SciteDefaultHome)|${DOCSDIR}|' \ ${WRKSRC}/../src/SciTEGlobal.properties do-install: ${INSTALL_PROGRAM} ${WRKSRC}/../bin/SciTE ${STAGEDIR}${PREFIX}/bin ${LN} -sf SciTE ${STAGEDIR}${PREFIX}/bin/scite ${INSTALL_MAN} ${WRKSRC}/../doc/scite.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/SciTE.desktop ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/Sci48M.png ${STAGEDIR}${PREFIX}/share/pixmaps (cd ${WRKSRC}/../src && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR}) (cd ${WRKSRC}/../doc && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) .include diff --git a/editors/semi/Makefile b/editors/semi/Makefile index ecc28c2c6c44..648c58a03b40 100644 --- a/editors/semi/Makefile +++ b/editors/semi/Makefile @@ -1,58 +1,56 @@ -# Created by: Shigeyuki FUKUSHIMA - PORTNAME= semi PORTVERSION= ${SEMI_VER}.${SNAPDATE} PORTREVISION= 3 CATEGORIES= editors elisp PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} MAINTAINER= nobutaka@FreeBSD.org COMMENT= SEMI, Library of MIME feature for GNU Emacs for emacs LICENSE= GPLv2 BUILD_DEPENDS= flim${EMACS_PKGNAMESUFFIX}>0:editors/flim@${EMACS_FLAVOR} RUN_DEPENDS= flim${EMACS_PKGNAMESUFFIX}>0:editors/flim@${EMACS_FLAVOR} USES= emacs iconv makeinfo USE_GITHUB= yes GH_ACCOUNT= wanderlust GH_TAGNAME= 509f6f0 SNAPDATE= 20210613 NO_ARCH= yes FLIM_TRUNK= 1.14 SEMI_VER= ${SEMI_TRUNK}.7 SEMI_TRUNK= 1.14 ALL_TARGET= elc MAKE_ARGS+= PREFIX="${STAGEDIR}${PREFIX}" \ LISPDIR="${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}" \ VERSION_SPECIFIC_LISPDIR="${STAGEDIR}${EMACS_VERSION_SITE_LISPDIR}" INFO= mime-ui-en mime-ui-ja OPTIONS_DEFINE= DOCS post-build: @(cd ${WRKSRC} ; \ for i in mime-ui-en.texi mime-ui-ja.texi; do \ ${MAKEINFO} --no-split --no-validate $${i} ; \ done) post-install: @(cd ${WRKSRC} ; \ for i in mime-ui-en.info mime-ui-ja.info; do \ ${INSTALL_DATA} ${WRKSRC}/$${i} ${STAGEDIR}${PREFIX}/${INFO_PATH} ; \ done) post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC} ; \ for i in NEWS README.* TODO VERSION ; do \ ${INSTALL_DATA} $${i} ${STAGEDIR}${DOCSDIR}/ ; \ done) .include diff --git a/editors/shed/Makefile b/editors/shed/Makefile index 65f00ca0b725..7f2b4257976f 100644 --- a/editors/shed/Makefile +++ b/editors/shed/Makefile @@ -1,28 +1,26 @@ -# Created by: Alexey Dokuchaev - PORTNAME= shed PORTVERSION= 1.15 CATEGORIES= editors MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION} MAINTAINER= danfe@FreeBSD.org COMMENT= Simple ncurses-based pico-style hex editor LICENSE= GPLv2 USES= ncurses GNU_CONFIGURE= yes PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz PORTDOCS= ChangeLog README TODO OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/^CFLAGS=/d' ${WRKSRC}/configure post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/editors/slime/Makefile b/editors/slime/Makefile index 219ba9b65260..7b0a4f9d5b2b 100644 --- a/editors/slime/Makefile +++ b/editors/slime/Makefile @@ -1,47 +1,45 @@ -# Created by: Dominic Mitchell - PORTNAME= slime DISTVERSIONPREFIX= v DISTVERSION= 2.26.1-9 PORTREVISION= 4 DISTVERSIONSUFFIX= -gf368e22a CATEGORIES= editors elisp PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} MAINTAINER= joe@thrallingpenguin.com COMMENT= Superior Lisp Interaction Mode for Emacs LICENSE= PD BUILD_DEPENDS= texinfo>=5.2:print/texinfo USES= emacs gmake USE_GITHUB= yes ALL_TARGET= all contrib-compile doc-slime.info INFO= slime NO_ARCH= yes PORTDOCS= CONTRIBUTING.md NEWS PROBLEMS README.md SUB_FILES= pkg-message SUB_LIST= SLIME_LISPDIR="${SLIME_LISPDIR}" OPTIONS_DEFINE= DOCS SLIME_LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/slime do-install: @${MKDIR} ${STAGEDIR}${SLIME_LISPDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${SLIME_LISPDIR} \ "! ( -name CONTRIBUTING.md -o -name NEWS -o -name PROBLEMS \ -o -name README.md -o -name Makefile -o -name doc \ -o -path \./doc/* )") post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/contrib/README.md \ ${STAGEDIR}${DOCSDIR}/README-contrib.md (cd ${INSTALL_WRKSRC}/doc && ${INSTALL_DATA} slime-refcard.pdf \ slime-small.pdf ${STAGEDIR}${DOCSDIR}) .include diff --git a/editors/ssed/Makefile b/editors/ssed/Makefile index cb401681412d..79bb5e14c687 100644 --- a/editors/ssed/Makefile +++ b/editors/ssed/Makefile @@ -1,29 +1,27 @@ -# Created by: verm - PORTNAME= sed PORTVERSION= 3.62 PORTREVISION= 4 CATEGORIES= editors textproc MASTER_SITES= http://sed.sourceforge.net/grabbag/ssed/ PKGNAMEPREFIX= s MAINTAINER= ports@FreeBSD.org COMMENT= Heavily enhanced version of sed(1) GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-prefix=s OPTIONS_DEFINE= NLS .include .if ${PORT_OPTIONS:MNLS} USES+= gettext iconv CONFIGURE_ARGS+= ${ICONV_CONFIGURE_ARG} PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif .include diff --git a/editors/sted/Makefile b/editors/sted/Makefile index 880b0b69160e..6be1c8df6980 100644 --- a/editors/sted/Makefile +++ b/editors/sted/Makefile @@ -1,36 +1,34 @@ -# Created by: Andrey Zakhvatov - PORTNAME= sted PORTVERSION= 0.2.2 CATEGORIES= editors MASTER_SITES= LOCAL/gabor MAINTAINER= ports@FreeBSD.org COMMENT= Simple/Small/Stupid Text Editor LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= ncurses WRKSRC= ${WRKDIR}/sted MAKE_ARGS= CC="${CC}" C_OPTS="${CFLAGS}" L_OPTS="${LDFLAGS} -lncurses" PORTDOCS= CHANGES README PLIST_FILES= bin/sted man/man1/sted.1.gz OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} "s|||" ${WRKSRC}/sted.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sted ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/sted.1 ${STAGEDIR}${MANPREFIX}/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/editors/tamago/Makefile b/editors/tamago/Makefile index 921d0d9d90d7..0143f70875fb 100644 --- a/editors/tamago/Makefile +++ b/editors/tamago/Makefile @@ -1,28 +1,26 @@ -# Created by: tetsushi NAKAI - PORTNAME= tamago PORTVERSION= 4.0.6.0.20041122.19.15 DISTVERSIONPREFIX= v CATEGORIES= editors elisp PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} MAINTAINER= hrs@FreeBSD.org COMMENT= Egg V4, Multilingual Input Method for Emacsen LICENSE= GPLv2 USES= emacs USE_GITHUB= yes GH_ACCOUNT= hrs-allbsd GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-lispdir="${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}" CONFIGURE_ENV= EMACS="${EMACS_CMD}" PLIST_SUB= ELISPDIR="${EMACS_VERSION_SITE_LISPDIR}" PORTDOCS= AUTHORS ChangeLog ChangeLog.1997-1998 \ ChangeLog.2000-2001 ChangeLog.2002-2004 \ PROBLEMS README README.ja.txt TODO egg-anthy.readme OPTIONS_DEFINE= DOCS DOCS_CONFIGURE_ENABLE= doc .include diff --git a/editors/tea/Makefile b/editors/tea/Makefile index da7acf96ce9d..828090cb6590 100644 --- a/editors/tea/Makefile +++ b/editors/tea/Makefile @@ -1,47 +1,45 @@ -# Created by: Jean-Yves Lefort - PORTNAME= tea PORTVERSION= 60.7.0 CATEGORIES= editors MAINTAINER= danilo@FreeBSD.org COMMENT= Simple and powerful Qt-based text editor LICENSE= GPLv3 USES= compiler:c++11-lang gl gmake pkgconfig:build qmake qt:5 xorg OPTIONS_DEFINE= DOCS OPTIONS_GROUP= SPELL OPTIONS_GROUP_SPELL= ASPELL HUNSPELL OPTIONS_DEFAULT= ASPELL HUNSPELL SPELL_DESC= Spell checker backend USE_QT= buildtools_build core declarative gui network widgets printsupport USE_GL= gl USE_LOCALE= en_US.UTF-8 USE_GITHUB= yes GH_ACCOUNT= psemiletov GH_PROJECT= ${PORTNAME}-qt LDFLAGS+= -lz PLIST_FILES= bin/tea share/pixmaps/tea_icon_v2.png PORTDOCS= * DESKTOP_ENTRIES="TEA" "" "${PREFIX}/share/pixmaps/tea_icon_v2.png" \ "${PORTNAME}" "" "" ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell ASPELL_QMAKE_OFF= CONFIG+=noaspell HUNSPELL_LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell HUNSPELL_QMAKE_OFF= CONFIG+=nohunspell do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/tea ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/icons/tea_icon_v2.png ${STAGEDIR}${PREFIX}/share/pixmaps (cd ${WRKSRC}/manuals \ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include diff --git a/editors/teco/Makefile b/editors/teco/Makefile index c9d892d037d3..655595c0d390 100644 --- a/editors/teco/Makefile +++ b/editors/teco/Makefile @@ -1,41 +1,39 @@ -# Created by: Stanislav Sedov - PORTNAME= teco PORTVERSION= 0398 PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= http://almy.us/files/ DISTNAME= tecoclinux${PORTVERSION} MAINTAINER= bob@eager.cx COMMENT= Powerful and compact editor with nongraphical user interface LICENSE= BSD3CLAUSE CFLAGS+= -Wno-pointer-sign -Wno-int-to-pointer-cast MAKEFILE= makefile WRKSRC= ${WRKDIR}/tecoc${PORTVERSION} BUILD_WRKSRC= ${WRKSRC}/src ALL_TARGET= # empty SUB_FILES= teco.1 OPTIONS_DEFINE= DOCS DOCSFILES= src/readme.1st src/readme.lnx src/changes.txt src/aaout.txt \ src/problems.txt src/video.txt doc/teco.doc doc/wchart.txt do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/tecoc ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKDIR}/teco.1 ${STAGEDIR}${PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/lib/* ${STAGEDIR}${DATADIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for FILE in ${DOCSFILES} ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/editors/ted/Makefile b/editors/ted/Makefile index 59dbe060ff6f..8d2d621eedc2 100644 --- a/editors/ted/Makefile +++ b/editors/ted/Makefile @@ -1,85 +1,83 @@ -# Created by: Kris Kennaway - PORTNAME= ted PORTVERSION= 2.23 PORTREVISION= 5 CATEGORIES= editors MASTER_SITES= ftp://ftp.nluug.nl/pub/editors/ted/ \ http://fossies.org/linux/misc/ EXTRACT_SUFX= .src.tar.gz MAINTAINER= ports@FreeBSD.org COMMENT= X11 based RTF editor LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/gpl.txt LIB_DEPENDS= libpcre.so:devel/pcre \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libpaper.so:print/libpaper RUN_DEPENDS= gsfonts>0:print/gsfonts WRKSRC= ${WRKDIR}/Ted-${PORTVERSION} USES= ghostscript:x11,run iconv pkgconfig xorg USE_XORG= xext xft GNU_CONFIGURE= yes MAKE_ENV= DEF_AFMDIR="-DAFMDIR=\"\\\"${AFMDIR}/\\\"\"" \ DEF_INDDIR="-DINDDIR=\"\\\"${INDDIR}/\\\"\"" \ DEF_DOCUMENT_DIR="-DDOCUMENT_DIR=\"\\\"${DOCSDIR}/\\\"\"" \ DEF_PSSCRIPT_DIR="-DPSSCRIPT_DIR=\"\\\"${DATADIR}/\\\"\"" ALL_TARGET= compile.shared CONFIGURE_ARGS= --datadir=${PREFIX}/share \ ac_iconv_includes=${LOCALBASE}/include DATADIR= ${PREFIX}/share/Ted DOCSDIR= ${PREFIX}/share/doc/Ted AFMDIR= ${DATADIR}/afm INDDIR= ${DATADIR}/dfa OPTIONS_DEFINE= GTK2 DOCS GTK2_DESC= Use GTK2 instead of MOTIF GTK2_USES= gnome GTK2_USE= GNOME=gtk20 GTK2_CONFIGURE_ON= --with-GTK GTK2_CPPFLAGS= `pkg-config --cflags gtk+-2.0 | ${SED} -e 's|-I|-isystem |g'` GTK2_USES_OFF= motif GTK2_CONFIGURE_OFF= --with-MOTIF .include post-extract: @cd ${WRKSRC}/tedPackage && ${TAR} xf TedDatadir.tar @${INSTALL_SCRIPT} ${FILESDIR}/configure ${WRKSRC} post-patch: @${FIND} ${WRKSRC} -name "configure" -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e \ 's|/usr/X11R6|${LOCALBASE}|g ; \ s|/usr/local|${LOCALBASE}|g ; \ /paper.h/s|/usr/include|${LOCALBASE}/include|g ; \ /paper.h/s|/usr/lib|${LOCALBASE}/lib|g' .if ! empty(ICONV_LIB) @${REINPLACE_CMD} 's|/iconv\.so|/libiconv.so|' \ ${WRKSRC}/Ted/configure ${WRKSRC}/textEncoding/configure .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/Ted/Ted ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/tedPackage/examples/rtf2*.sh ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/tedPackage/doc/Ted.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/tedPackage/doc/rtf2*.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/tedPackage/ps/*.ps ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${AFMDIR} ${INSTALL_DATA} ${WRKSRC}/tedPackage/afm/*.afm ${STAGEDIR}${AFMDIR} @${MKDIR} ${STAGEDIR}${INDDIR} ${INSTALL_DATA} ${WRKSRC}/tedPackage/dfa/*.dfa ${STAGEDIR}${INDDIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/tedPackage/TedDocument-en_US.rtf ${STAGEDIR}${DOCSDIR} .include diff --git a/editors/tetradraw/Makefile b/editors/tetradraw/Makefile index c0bdd9bcf9da..0f939bea34c7 100644 --- a/editors/tetradraw/Makefile +++ b/editors/tetradraw/Makefile @@ -1,20 +1,18 @@ -# Created by: Frederic Cambus - PORTNAME= tetradraw PORTVERSION= 2.0.2 PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Fully featured ANSI art editor/viewer with TCP/IP multidraw support LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= ncurses GNU_CONFIGURE= yes PLIST_FILES= bin/tetradraw bin/tetraview .include diff --git a/editors/texmacs/Makefile b/editors/texmacs/Makefile index b8ed80d950da..28db24f27b9a 100644 --- a/editors/texmacs/Makefile +++ b/editors/texmacs/Makefile @@ -1,93 +1,91 @@ -# Created by: Geoffrey Mainland - PORTNAME= texmacs PORTVERSION= 1.99.4 PORTREVISION= 5 CATEGORIES= editors print MASTER_SITES= http://www.texmacs.org/Download/ftp/tmftp/source/ DISTNAME= TeXmacs-${PORTVERSION}-src MAINTAINER= ports@FreeBSD.org COMMENT= WYSIWYG scientific text editor LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_FreeBSD_13= assigning to 'bool' from incompatible type 'nullptr_t' BROKEN_FreeBSD_14= assigning to 'bool' from incompatible type 'nullptr_t' LIB_DEPENDS= libltdl.so:devel/libltdl \ libguile.so:lang/guile1 \ libgmp.so:math/gmp RUN_DEPENDS= fig2dev:print/transfig BROKEN_armv6= fails to compile: call to min is ambiguous BROKEN_armv7= fails to compile: call to min is ambiguous USES= cpe desktop-file-utils gmake iconv localbase pkgconfig python \ shared-mime-info shebangfix xorg USE_TEX= tex:run dvipsk:run USE_XORG= xext GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-optimize="${CXXFLAGS}" --disable-qt MAKE_ARGS= CP="${CP} -R -f" ALL_TARGET= ${PORTNAME:tu} SHEBANG_FILES= plugins/asymptote/bin/* plugins/dratex/bin/* \ plugins/eukleides/bin/* plugins/feynmf/bin/* \ plugins/mupad/bin/* plugins/texgraph/bin/* \ plugins/xypic/bin/* \ plugins/python/bin/tm_python plugins/sage/bin/tm_sage \ plugins/mathematica/bin/realpath.py DATADIR= ${PREFIX}/share/TeXmacs OPTIONS_DEFINE= ASPELL FREETYPE GHOSTSCRIPT IMLIB2 PDF SQLITE OPTIONS_DEFAULT=ASPELL FREETYPE GHOSTSCRIPT IMLIB2 PDF SQLITE OPTIONS_SUB= yes ASPELL_RUN_DEPENDS= aspell:textproc/aspell FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_CONFIGURE_ENABLE= freetype FREETYPE_CONFIGURE_ENV_OFF= FREETYPE_CFLAGS=" " FREETYPE_LDFLAGS=" " \ ac_cv_header_ft2build_h=no GHOSTSCRIPT_USES= ghostscript:x11 GHOSTSCRIPT_CONFIGURE_ON= --with-gs=yes GHOSTSCRIPT_CONFIGURE_OFF= --with-gs=no IMLIB2_LIB_DEPENDS= libImlib2.so:graphics/imlib2 IMLIB2_CONFIGURE_WITH= imlib2 PDF_CONFIGURE_ENABLE= pdf-renderer PDF_LDFLAGS= -lz PDF_IMPLIES= FREETYPE GHOSTSCRIPT SQLITE_USES= sqlite SQLITE_CONFIGURE_ON= --with-sqlite3 post-patch: @${REINPLACE_CMD} -e \ '/SVNREV\//s|^|#| ; \ s|LIBS="-liconv"|LIBS="-liconv $$LIBS"| ; \ s|/-liconv}|}| ; \ s|"-Wl,-rpath,"|""| ; \ s|\[\[ |[ |g ; \ s| \]\]| ]|g ; \ s|== no|= no| ; \ s|$${QT_PLUGINS_LIST/,/ }|${QT_PLUGINS_LIST}|' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e \ '/require/s|"python"|"${PYTHON_CMD:T}"|' \ ${WRKSRC}/plugins/python/progs/init-python.scm @${REINPLACE_CMD} -e \ 's|int tab=.*)|int tab)|' \ ${WRKSRC}/src/Kernel/Types/tree.hpp @${REINPLACE_CMD} -e \ 's|int dpi=.*)|int dpi)|' \ ${WRKSRC}/src/Typeset/boxes.hpp post-install: @${FIND} ${STAGEDIR}${DATADIR} -name "._*" -delete @${FIND} ${STAGEDIR}${DATADIR} -name "*.bak" -delete .for f in realpath texmacs.bin tm_axiom tm_graphviz tm_maple_5 tm_r tm_shell ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/TeXmacs/bin/${f} .endfor .include diff --git a/editors/texmaker/Makefile b/editors/texmaker/Makefile index dcf52e5115d5..274173599fc7 100644 --- a/editors/texmaker/Makefile +++ b/editors/texmaker/Makefile @@ -1,29 +1,27 @@ -# Created by: ijliao - PORTNAME= texmaker PORTVERSION= 5.0.3 PORTREVISION= 4 PORTEPOCH= 3 CATEGORIES= editors MASTER_SITES= http://www.xm1math.net/texmaker/ MAINTAINER= hrs@FreeBSD.org COMMENT= LaTeX Development Environment LICENSE= GPLv2+ LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell USES= compiler:c++11-lang desktop-file-utils ghostscript:x11,run \ gl pkgconfig qmake qt:5 tar:bzip2 USE_GL= gl USE_QT= concurrent core gui network printsupport script widgets \ xml buildtools_build USE_TEX= latex dvipsk EXTRACT_AFTER_ARGS= --exclude hunspell QMAKE_ARGS= ICONDIR=${PREFIX}/share/pixmaps \ DESKTOPDIR=${DESKTOPDIR} \ METAINFODIR=${PREFIX}/share/metainfo .include diff --git a/editors/textadept/Makefile b/editors/textadept/Makefile index a036fffcfb90..9457c78b1624 100644 --- a/editors/textadept/Makefile +++ b/editors/textadept/Makefile @@ -1,120 +1,118 @@ -# Created by: Alexey Dokuchaev - PORTNAME= textadept PORTVERSION= 11.1 DISTVERSIONPREFIX= ${PORTNAME}_ CATEGORIES= editors MASTER_SITES= https://www.scintilla.org/:sci \ http://www.lua.org/ftp/:lua \ http://www.inf.puc-rio.br/~roberto/lpeg/:lpeg DISTFILES= scintilla${SCI_VER}.tgz:sci \ lua-${LUA_VER}.tar.gz:lua \ lpeg-${LPEG_VER}.tar.gz:lpeg MAINTAINER= danfe@FreeBSD.org COMMENT= Fast, minimalist, extensible cross-platform text editor LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++17-lang desktop-file-utils gmake gnome iconv \ pkgconfig USE_CXXSTD= c++17 USE_GNOME= cairo gdkpixbuf2 glib20 USE_GITHUB= yes GH_ACCOUNT= orbitalquark keplerproject:lfs GH_PROJECT= scintillua:scilua luafilesystem:lfs gtdialog:gtd GH_TAGNAME= scintillua_${SCILUA_VER}:scilua v${LFS_VER}:lfs \ ${GTD_HASH}:gtd SCI_VER= 446 SCILUA_VER= 4.4.5-2 SCINTERM_HASH= 6a77415 LUA_VER= 5.3.5 LPEG_VER= 1.0.2 LFS_VER= 1_8_0 GTD_HASH= 6458754 CDK_VER= 5.0-20200923 TERMKEY_VER= 0.20 BUILD_WRKSRC= ${WRKSRC}/src INSTALL_WRKSRC= ${BUILD_WRKSRC} MAKE_ARGS= TA_TARGETS="${_TARGETS}" OPTIONS_DEFINE= DOCS NCURSES OPTIONS_SINGLE= UI OPTIONS_SINGLE_UI= GTK2 GTK3 OPTIONS_DEFAULT= GTK2 NCURSES OPTIONS_SUB= yes UI_DESC= GTK version GTK2_USE= GNOME=gtk20 GTK3_USE= GNOME=gtk30 GTK3_MAKE_ARGS= GTK3=yes _TARGETS= gtk # HTML files require patched https://keplerproject.github.io/luadoc/ to # build, which is also seemingly deprecated upstream, so just grab them # from the textadept package for GNU/Linux. DOCS_MASTER_SITES= https://github.com/orbitalquark/${PORTNAME}/releases/download/${PORTNAME}_${PORTVERSION}/:docs DOCS_DISTFILES= ${PORTNAME}_${PORTVERSION}.linux.tgz:docs NCURSES_MASTER_SITES= https://invisible-mirror.net/archives/cdk/:cdk \ http://www.leonerd.org.uk/code/libtermkey/:tk NCURSES_DISTFILES= cdk-${CDK_VER}.tgz:cdk \ libtermkey-${TERMKEY_VER}.tar.gz:tk NCURSES_GH_PROJECT= scinterm:scitrm NCURSES_GH_TAGNAME= ${SCINTERM_HASH}:scitrm NCURSES_VARS= _TARGETS+=curses post-patch: ${LN} -s ${WRKDIR}/scintilla ${BUILD_WRKSRC} ${PATCH} -d ${BUILD_WRKSRC}/scintilla -N -p1 < \ ${BUILD_WRKSRC}/scintilla.patch ${LN} -s ${WRKDIR}/lua-${LUA_VER} ${BUILD_WRKSRC}/lua ${PATCH} -d ${BUILD_WRKSRC}/lua -N -p1 < \ ${BUILD_WRKSRC}/lua.patch ${LN} -s ${WRKSRC_scilua}/*.cxx ${WRKSRC_scilua}/*.h \ ${BUILD_WRKSRC} ${LN} -s ${WRKSRC_scilua}/lexers ${BUILD_WRKSRC}/.. ${RM} -r ${WRKSRC_scilua}/lexers/themes @${MKDIR} ${BUILD_WRKSRC}/lua/src/lib ${LN} -s ${WRKDIR}/lpeg-${LPEG_VER}/*.[ch] ${BUILD_WRKSRC}/lua/src/lib ${LN} -s ${WRKDIR}/luafilesystem-${LFS_VER}/src/*.[ch] \ ${BUILD_WRKSRC}/lua/src/lib ${LN} -s ${WRKDIR}/gtdialog-${GTD_HASH} ${BUILD_WRKSRC}/gtdialog # Fix build with glib 2.68.3: see https://github.com/orbitalquark/textadept/issues/110 ${REINPLACE_CMD} -e '/static volatile/s|volatile||g' \ ${BUILD_WRKSRC}/scintilla/gtk/ScintillaGTKAccessible.cxx post-patch-NCURSES-on: @${MKDIR} ${BUILD_WRKSRC}/scintilla/curses ${LN} -s ${WRKSRC_scitrm}/*.cxx ${WRKSRC_scitrm}/*.h \ ${BUILD_WRKSRC}/scintilla/curses @${MKDIR} ${BUILD_WRKSRC}/cdk ${LN} -s ${WRKDIR}/cdk-${CDK_VER}/include/*.h \ ${WRKDIR}/cdk-${CDK_VER}/*.c ${BUILD_WRKSRC}/cdk .for ext in h c cd ${BUILD_WRKSRC}/cdk && ${SH} \ ${WRKDIR}/cdk-${CDK_VER}/gen-scale.sh SLIDER Slider \ Int int gen-slider.${ext} > slider.${ext} .endfor ${PATCH} -d ${BUILD_WRKSRC}/cdk -N -p1 < ${BUILD_WRKSRC}/cdk.patch @${MKDIR} ${BUILD_WRKSRC}/termkey ${LN} -s ${WRKDIR}/libtermkey-${TERMKEY_VER}/*.[ch] \ ${BUILD_WRKSRC}/termkey ${PATCH} -d ${BUILD_WRKSRC}/termkey -N -p1 < \ ${BUILD_WRKSRC}/termkey.patch post-install-DOCS-on: ${INSTALL_DATA} \ ${WRKDIR}/${PORTNAME}_${PORTVERSION}.linux/docs/*.html \ ${STAGEDIR}${DATADIR}/docs ${MV} ${STAGEDIR}${DATADIR}/docs ${STAGEDIR}${DOCSDIR} ${LN} -sf ../../${DOCSDIR_REL} ${STAGEDIR}${DATADIR}/docs post-install-DOCS-off: ${RM} -r ${STAGEDIR}${DATADIR}/docs .include diff --git a/editors/texworks/Makefile b/editors/texworks/Makefile index 0fadc99db359..168f24e75448 100644 --- a/editors/texworks/Makefile +++ b/editors/texworks/Makefile @@ -1,56 +1,54 @@ -# Created by: Diego Depaoli - PORTNAME= texworks DISTVERSIONPREFIX= release- DISTVERSION= 0.6.2 PORTREVISION= 42 CATEGORIES= editors MAINTAINER= hrs@FreeBSD.org COMMENT= Simple TeX front-end program LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= hunspell:textproc/hunspell LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell \ libpoppler.so:graphics/poppler \ libpoppler-qt5.so:graphics/poppler-qt5 USES= compiler:c++11-lang cmake desktop-file-utils pkgconfig \ qt:5 USE_GITHUB= yes GH_ACCOUNT= TeXworks USE_QT= buildtools_build designer_build qmake_build \ core concurrent dbus gui linguisttools script \ scripttools uitools widgets xml USE_TEX= synctex USE_LDCONFIG= yes CMAKE_ARGS= -DTeXworks_DIC_DIR:PATH=${LOCALBASE}/share/hunspell \ -DTeXworks_DOCS_DIR:PATH=${DOCSDIR_REL} \ -DTeXworks_HELP_DIR:PATH=${DOCSDIR_REL} \ -DTeXworks_MAN_DIR:PATH=man/man1 PORTDOCS= * PLIST_FILES= bin/texworks \ man/man1/texworks.1.gz \ share/appdata/texworks.appdata.xml \ share/applications/texworks.desktop \ share/pixmaps/TeXworks.png OPTIONS_DEFINE= DOCS LUA PYTHON LUA_USES= lua LUA_CMAKE_BOOL= WITH_LUA LUA_PLIST_FILES= lib/texworks/libTWLuaPlugin.so PYTHON_USES= python:3.4+ PYTHON_CMAKE_BOOL= WITH_PYTHON PYTHON_PLIST_FILES= lib/texworks/libTWPythonPlugin.so post-patch: @${FIND} ${WRKSRC}/src -type f | ${XARGS} ${REINPLACE_CMD} 's|synctex_next_result|synctex_scanner_next_result|g' .include diff --git a/editors/the/Makefile b/editors/the/Makefile index 9c92afcb4c50..afa6e2ee41d3 100644 --- a/editors/the/Makefile +++ b/editors/the/Makefile @@ -1,78 +1,76 @@ -# Created by: giffunip@asme.org - PORTNAME= the PORTVERSION= 3.3.r4 PORTREVISION= 2 CATEGORIES= editors MASTER_SITES= http://downloads.sourceforge.net/hessling-editor/ DISTNAME= THE-${PORTVERSION:S/.r/RC/} MAINTAINER= comet.berkeley@gmail.com COMMENT= The Hessling Editor, like the VM/CMS xedit editor LICENSE= GPLv2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-rexxincdir=${LOCALBASE}/include \ --with-rexxlibdir=${LOCALBASE}/lib ALL_TARGET= all html CPPFLAGS+= -I${LOCALBASE}/include OPTIONS_DEFINE= DOCS XAW3D OPTIONS_SINGLE= DISPLAY REXX OPTIONS_SINGLE_DISPLAY= NCURSES XCURSES OPTIONS_SINGLE_REXX= REXX_IMC REGINA OPTIONS_DEFAULT= NCURSES REGINA OPTIONS_SUB= yes XAW3D_DESC= Enable Xaw3D NCURSES_DESC= Build standard NCurses version XCURSES_DESC= Build XCurses (X11) version REXX_IMC_DESC= Use Rexx/imc interpreter REGINA_DESC= Use Regina Rexx interpreter XAW3D_CONFIGURE_WITH= xaw3d XAW3D_BUILD_DEPENDS= ${LOCALBASE}/lib/libXaw3d.a:x11-toolkits/Xaw3d NCURSES_USES= ncurses NCURSES_CONFIGURE_ON= --with-ncurses \ --with-cursesincdir=${NCURSESINC} \ --with-curseslibdir=${NCURSESLIB} XCURSES_LIB_DEPENDS= libXCurses.so:devel/pdcurses XCURSES_CONFIGURE_ON= --with-xcurses \ --with-cursesincdir=${LOCALBASE}/include \ --with-curseslibdir=${LOCALBASE}/lib XCURSES_CFLAGS= -I${LOCALBASE}/include \ -I${LOCALBASE}/include/xcurses REXX_IMC_CONFIGURE_ON= --with-rexx=rexximc REXX_IMC_BUILD_DEPENDS= rexx:lang/rexx-imc REXX_IMC_RUN_DEPENDS= rexx:lang/rexx-imc REXX_IMC_BROKEN= fails to build with REXX_IMC option REGINA_CONFIGURE_ON= --with-rexx=regina REGINA_BUILD_DEPENDS= regina:lang/rexx-regina REGINA_RUN_DEPENDS= regina:lang/rexx-regina post-extract: ${REINPLACE_CMD} -e 's|(datadir)/THE|(datadir)/the|g' \ -e 's|/share/THE|/share/the|g' ${WRKSRC}/Makefile.in ${REINPLACE_CMD} -e 's|ltermcap|lncurses|g' ${WRKSRC}/configure ${REINPLACE_CMD} -e '/FUNCTION_KEY/d' ${WRKSRC}/the.c pre-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/*.html ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/the64.gif ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/the64.png ${STAGEDIR}${DOCSDIR} do-install-XCURSES-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xthe ${LN} -sf xthe ${STAGEDIR}${PREFIX}/bin/the do-install-NCURSES-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/nthe ${LN} -sf nthe ${STAGEDIR}${PREFIX}/bin/the .include diff --git a/editors/treeform/Makefile b/editors/treeform/Makefile index 530cb15c2725..2d4173aa9e1d 100644 --- a/editors/treeform/Makefile +++ b/editors/treeform/Makefile @@ -1,27 +1,25 @@ -# Created by: buganini@gmail.com - PORTNAME= treeform PORTVERSION= 1.0.3 CATEGORIES= editors java MASTER_SITES= SF/${PORTNAME}/TreeForm%20Unified/TreeForm%20${PORTVERSION} DISTNAME= TreeForm_1_0_3 MAINTAINER= buganini@gmail.com COMMENT= Linguistic Syntax/Semantics tree drawing editor USES= zip NO_BUILD= yes USE_JAVA= yes SUB_FILES= treeform WRKSRC= ${WRKDIR}/TreeForm do-install: ${INSTALL_SCRIPT} ${WRKDIR}/treeform ${STAGEDIR}${PREFIX}/bin cd ${WRKSRC} \ && ${INSTALL_DATA} TreeForm.jar ${STAGEDIR}${JAVAJARDIR} \ && ${COPYTREE_SHARE} about.htm ${STAGEDIR}${DATADIR} \ && ${COPYTREE_SHARE} help ${STAGEDIR}${DATADIR} \ && ${COPYTREE_SHARE} image ${STAGEDIR}${DATADIR} .include diff --git a/editors/tweak/Makefile b/editors/tweak/Makefile index 48a528c70d6b..0a96317ba1d1 100644 --- a/editors/tweak/Makefile +++ b/editors/tweak/Makefile @@ -1,19 +1,17 @@ -# Created by: Jille Timmermans (jille@quis.cx) - PORTNAME= tweak PORTVERSION= 3.02 CATEGORIES= editors MASTER_SITES= https://www.chiark.greenend.org.uk/~sgtatham/${PORTNAME}/ MAINTAINER= pzn.unixbsd@gmail.com COMMENT= Efficient hex editor LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENCE USES= gmake ncurses PLIST_FILES= bin/tweak \ man/man1/tweak.1.gz .include diff --git a/editors/uemacs/Makefile b/editors/uemacs/Makefile index 779a3ff423d8..715e3c1dd789 100644 --- a/editors/uemacs/Makefile +++ b/editors/uemacs/Makefile @@ -1,27 +1,25 @@ -# Created by: tg - PORTNAME= uemacs PORTVERSION= 4.0 CATEGORIES= editors MASTER_SITES= http://debian.physik.uni-essen.de/misc/memacs/disk2/ DISTNAME= ue400dev MAINTAINER= mail@ozzmosis.com COMMENT= Full screen editor # Converted from NO_CDROM LICENSE= uemacs LICENSE_NAME= uemacs LICENSE_TEXT= Resale allowed for media cost only LICENSE_PERMS= dist-mirror pkg-mirror auto-accept NO_WRKSUBDIR= yes USES= dos2unix ncurses zip EXTRACT_BEFORE_ARGS= -Lq post-patch: @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/src/*.c @${REINPLACE_CMD} -e 's|-ltermcap|${LDFLAGS} -lncurses|g' \ ${WRKSRC}/freebsd/makefile .include diff --git a/editors/uzap/Makefile b/editors/uzap/Makefile index 2a7e4aa13daa..e2d886d7af99 100644 --- a/editors/uzap/Makefile +++ b/editors/uzap/Makefile @@ -1,25 +1,23 @@ -# Created by: joerg - PORTNAME= uzap PORTVERSION= 1.0 CATEGORIES= editors MASTER_SITES= LOCAL/joerg DISTNAME= ${PORTNAME} MAINTAINER= joerg@FreeBSD.org COMMENT= Visual binary file editor # Has been posted to alt.sources in 1989 # http://www.megalextoria.com/usenet-archive/news097f1/b120/alt/sources/00000521.html # Converted from NO_CDROM LICENSE= uzap LICENSE_NAME= uzap LICENSE_TEXT= This software may not be used to make a profit in any way. LICENSE_PERMS= dist-mirror pkg-mirror auto-accept USES= ncurses NO_WRKSUBDIR= yes PLIST_FILES= bin/uzap man/man1/uzap.1.gz .include diff --git a/editors/vigor/Makefile b/editors/vigor/Makefile index 6b55b0d0fe4a..ff9792c5754c 100644 --- a/editors/vigor/Makefile +++ b/editors/vigor/Makefile @@ -1,32 +1,30 @@ -# Created by: Bill Fumerola - PORTNAME= vigor PORTVERSION= 0.016 PORTREVISION= 4 CATEGORIES= editors tcl tk MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Vi clone inspired by the userfriendly comic strip LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/../LICENSE WRKSRC= ${WRKDIR}/${DISTNAME}/build USES= ncurses tk xorg USE_XORG= x11 GNU_CONFIGURE= yes CONFIGURE_ARGS+=--exec-prefix=${STAGEDIR}${PREFIX} CPPFLAGS+= -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} LDFLAGS+= -L${LOCALBASE}/lib post-patch: ${REINPLACE_CMD} -e 's|tcl80|tcl${TCL_SHLIB_VER}|; \ s|-lcurses|-lncurses|; \ s|tk80|tk${TK_SHLIB_VER}|; \ s|^grantpt|XXXgrantpt|;' \ ${WRKSRC}/configure .include diff --git a/editors/vile/Makefile b/editors/vile/Makefile index 16bda43ef60e..177f9dc52578 100644 --- a/editors/vile/Makefile +++ b/editors/vile/Makefile @@ -1,53 +1,51 @@ -# Created by: pgf - PORTNAME= vile PORTVERSION= 9.8v CATEGORIES= editors MASTER_SITES= ftp://ftp.invisible-island.net/pub/vile/current/ \ https://invisible-mirror.net/archives/vile/current/ PATCH_SITES= ${MASTER_SITES:S,vile/current/,vile/patches/,g} #PATCHFILES= MAINTAINER= dickey@invisible-island.net COMMENT= VI Like Emacs -- console version LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= reflex:textproc/reflex USES= ncurses pkgconfig shebangfix tar:tgz SHEBANG_FILES= perl/vileget GNU_CONFIGURE= yes CONFIGURE_ENV= cf_cv_crypt_works=yes MAKEFILE= makefile INSTALL_TARGET= install install-doc install-html OPTIONS_DEFINE= DOCS FILTERS ICONV PERL OPTIONS_SUB= yes FILTERS_DESC= Loadable filters FILTERS_CONFIGURE_WITH= loadable-filters ICONV_USES= iconv ICONV_CONFIGURE_ON= --with-iconv ${ICONV_CONFIGURE_ARG} ICONV_CONFIGURE_OFF= --without-iconv --without-locale PERL_USES= perl5 PERL_CONFIGURE_WITH= perl .include .if ${PORT_OPTIONS:MFILTERS} PLIST_SUB+= SO_EXT=".so" .else PLIST_SUB+= SO_EXT="" .endif post-patch: @${REINPLACE_CMD} -e \ 's|$$(datadir)/doc|@datadir@/doc/vile| ; \ s|$$(datadir)/html|$$(docdir)/html| ; \ s|\($$(DOCDIR)\) \($$(MANDIR)\)|\1 $$(HTMLDIR) \2|' \ ${WRKSRC}/makefile.in .include diff --git a/editors/vim/Makefile b/editors/vim/Makefile index eadac3c3c49a..d9d92a4f4faf 100644 --- a/editors/vim/Makefile +++ b/editors/vim/Makefile @@ -1,221 +1,219 @@ -# Created by: David O'Brien - PORTNAME= vim PORTVERSION= 9.0.0016 DISTVERSIONPREFIX= v CATEGORIES= editors MAINTAINER= adamw@FreeBSD.org COMMENT= Improved version of the vi editor (${FLAVOR:U} flavor) LICENSE= VIM LICENSE_NAME= VIM License LICENSE_FILE= ${WRKSRC}/runtime/doc/uganda.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= cpe iconv ncurses pkgconfig shebangfix USE_GITHUB= yes # Vim will try to link against libcanberra if it's installed CONFIGURE_ARGS= --disable-canberra \ --enable-cscope \ --enable-gui=${GUI} \ --enable-multibyte \ --with-tlib=ncursesw MAKE_ARGS= STRIP="${STRIP_CMD}" \ VIMRCLOC=${ETCDIR} \ VIMRUNTIMEDIR=${PREFIX}/share/vim/${VIM_VER} CPE_VERSION= ${PORTVERSION:R} GNU_CONFIGURE= yes PLIST_SUB= VIM_VER=${VIM_VER} PORTDATA= ${VIM_VER} PORTSCOUT= ignore:1 SHEBANG_FILES= runtime/tools/demoserver.py runtime/tools/efm_perl.pl VIM_VER= ${PORTNAME}${PORTVERSION:R:S|.||g} # Flavors {{{1 # FLAVORS are used to build various Vim GUIs. The default flavor (`vim') is # console-only. FLAVORS= console gtk2 gtk3 motif x11 tiny FLAVOR?= ${FLAVORS:[1]} # Register conflicts with all other flavors CONFLICTS_INSTALL= ${FLAVORS:N${FLAVOR}:S/^/vim-/} .for f in ${FLAVORS:Nconsole} ${f}_PKGNAMESUFFIX= -${f} .endfor # GUI flavors .if ${FLAVOR:U} == console GUI= no CONFIGURE_ARGS+=--without-x PLIST_SUB+= GUI="@comment " DESKTOP="@comment " .elif ${FLAVOR:U} == tiny GUI= no CONFIGURE_ARGS+=--without-x PLIST= ${.CURDIR}/pkg-plist-tiny .elif ${FLAVOR:U} == gtk2 GUI= gtk2 CONFIGURE_ARGS+=--enable-xim --enable-fontset PLIST_SUB+= GUI="" DESKTOP="" USES+= desktop-file-utils gnome xorg USE_GNOME= gdkpixbuf2 gtk20 USE_XORG= ice sm x11 xpm xt .elif ${FLAVOR:U} == gtk3 GUI= gtk3 CONFIGURE_ARGS+=--enable-xim --enable-fontset PLIST_SUB+= GUI="" DESKTOP="" USES+= desktop-file-utils gnome xorg USE_GNOME= cairo gdkpixbuf2 gtk30 USE_XORG= ice sm x11 xpm xt .elif ${FLAVOR:U} == motif GUI= motif CONFIGURE_ARGS+=--enable-xim --enable-fontset --with-motif=lib="${MOTIFLIB}" CONFIGURE_ENV+= MOTIFHOME=${LOCALBASE} PLIST_SUB+= GUI="" DESKTOP="@comment " USES+= motif xorg USE_XORG= ice sm x11 xmu xt .elif ${FLAVOR:U} == x11 GUI= x11 CONFIGURE_ARGS+=--with-x PLIST_SUB+= GUI="@comment " DESKTOP="@comment " USES+= xorg USE_XORG= ice sm x11 xmu xpm xt .endif # Options {{{1 # The bulk of the OPTIONS are for normal (non-tiny) vim ### Make sure any new options are excluded below in CONSOLE/TINY OPTIONS_DEFAULT= CTAGS_BASE DEFAULT_VIMRC PYTHON OPTIONS_DEFINE= DEFAULT_VIMRC MAKE_JOBS NLS XTERM_SAVE OPTIONS_SINGLE= CTAGS OPTIONS_SINGLE_CTAGS= CTAGS_BASE CTAGS_EXUBERANT CTAGS_UNIVERSAL OPTIONS_GROUP= LANGBIND OPTIONS_GROUP_LANGBIND= LUA PERL PYTHON RUBY SCHEME TCL OPTIONS_SUB= yes # vim-tiny excludes everything except CONSOLE, DEFAULT_VIMRC, MAKE_JOBS .if ${FLAVOR:U} == tiny OPTIONS_EXCLUDE:= ${OPTIONS_DEFINE:NDEFAULT_VIMRC:NMAKE_JOBS} \ ${OPTIONS_SINGLE_UI:NCONSOLE} \ ${OPTIONS_GROUP_LANGBIND} \ ${OPTIONS_SINGLE_CTAGS} .endif DEFAULT_VIMRC_DESC= Install bundled vimrc as default setting MAKE_JOBS_DESC= Enable parallel build XTERM_SAVE_DESC= Restore xterm screen after exit CTAGS_BASE_DESC= Use system ctags CTAGS_EXUBERANT_DESC= Use exctags instead of ctags CTAGS_UNIVERSAL_DESC= Use uctags instead of ctags # GENERAL OPTIONS CTAGS_EXUBERANT_RUN_DEPENDS= exctags:devel/ctags CTAGS_UNIVERSAL_RUN_DEPENDS= uctags:devel/universal-ctags MAKE_JOBS_VARS_OFF= MAKE_JOBS_UNSAFE=yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext # LANGUAGE BINDINGS LANGBIND_DESC= Optional language bindings LUA_CONFIGURE_ENABLE= luainterp LUA_CONFIGURE_WITH= lua-prefix=${LOCALBASE} LUA_USES= lua PERL_CONFIGURE_ENABLE= perlinterp PERL_USES= perl5 PYTHON_USES= python:3.6+ PYTHON_USES_OFF= python:env PYTHON_CONFIGURE_ENABLE= python3interp PYTHON_CONFIGURE_WITH= python3-command=${PYTHON_CMD} RUBY_CONFIGURE_ENABLE= rubyinterp RUBY_USE= RUBY=yes SCHEME_DESC= MzScheme (Racket) bindings SCHEME_CONFIGURE_ENABLE=mzschemeinterp SCHEME_BUILD_DEPENDS= mzscheme:lang/racket SCHEME_RUN_DEPENDS= ${SCHEME_BUILD_DEPENDS} TCL_CONFIGURE_ENABLE= tclinterp TCL_CONFIGURE_WITH= tclsh=tclsh${TCL_VER} TCL_USES= tcl # Targets {{{1 .include .if ${PORT_OPTIONS:MPYTHON} && !empty(WITH_DEBUG) CFLAGS+= -DPy_DEBUG -DPy_DEBUG_NO_PYMALLOC .endif post-extract: ${INSTALL_DATA} ${FILESDIR}/vietnamese_viscii.vim ${WRKSRC}/runtime/keymap post-patch: ${ECHO_CMD} '#define SYS_VIMRC_FILE "'${ETCDIR}'/vimrc"' >> ${WRKSRC}/src/feature.h ${ECHO_CMD} '#define SYS_GVIMRC_FILE "'${ETCDIR}'/gvimrc"' >> ${WRKSRC}/src/feature.h ${REINPLACE_CMD} -e 's|-liconv|${ICONV_LIB}|g; s|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/src/auto/configure post-configure: # Needed when devel/libsysinfo is installed: ${REINPLACE_CMD} -e '/^#define HAVE_SYSINFO/ d' ${WRKSRC}/src/auto/config.h post-install-DEFAULT_VIMRC-on: ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${FILESDIR}/vimrc ${STAGEDIR}${ETCDIR}/vimrc.sample .if ${FLAVOR:U} == tiny do-install: ${MKDIR} ${STAGEDIR}${DATADIR}/${VIM_VER} ${INSTALL_PROGRAM} ${WRKSRC}/src/vim ${STAGEDIR}${PREFIX}/bin ${TOUCH} ${STAGEDIR}${DATADIR}/${VIM_VER}/defaults.vim ${INSTALL_MAN} ${WRKSRC}/runtime/doc/vim.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .else # flavor != tiny post-install: ${RM} ${STAGEDIR}${PREFIX}/bin/ex ${RM} ${STAGEDIR}${PREFIX}/bin/view . for F in eview evim gview gvim gvimdiff rgview rgvim rview rvim vimdiff ${LN} -sf vim ${STAGEDIR}${PREFIX}/bin/$F . endfor # OPTIONS post-patch-CTAGS_BASE-on: ${FIND} ${WRKSRC}/runtime -name 'menu*.vim' | ${XARGS} ${GREP} -l 'ctags -R' | \ ${XARGS} ${REINPLACE_CMD} -Ee 's!ctags -R ?\.!${FIND} . -type f \\| ${XARGS} ctags!g' post-patch-CTAGS_EXUBERANT-on: ${FIND} ${WRKSRC}/runtime -name 'menu*.vim' | ${XARGS} ${GREP} -l 'ctags -R' | \ ${XARGS} ${REINPLACE_CMD} -e 's|ctags -R|exctags -R|g' post-patch-CTAGS_UNIVERSAL-on: ${FIND} ${WRKSRC}/runtime -name 'menu*.vim' | ${XARGS} ${GREP} -l 'ctags -R' | \ ${XARGS} ${REINPLACE_CMD} -e 's|ctags -R|uctags -R|g' post-patch-LUA-on: ${REINPLACE_CMD} -e 's|set dummy lua;|set dummy ${LUA_CMD};|g' ${WRKSRC}/src/auto/configure ${REINPLACE_CMD} -e '/$$LUA_LIBS/ s|^|LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}";|' ${WRKSRC}/src/auto/configure ${REINPLACE_CMD} -e '/LUA_CFLAGS=/s|".*"|"-I${LUA_INCDIR}"|' ${WRKSRC}/src/auto/configure post-patch-XTERM_SAVE-on: ${REINPLACE_CMD} -e '/FEAT_XTERM_SAVE/ s|.*|#define FEAT_XTERM_SAVE|' ${WRKSRC}/src/feature.h post-install-NLS-off: ${MKDIR} ${STAGEDIR}${DATADIR}/${VIM_VER}/lang ${MKDIR} ${STAGEDIR}${DATADIR}/${VIM_VER}/keymap ${INSTALL_DATA} ${WRKSRC}/runtime/keymap/* ${STAGEDIR}${DATADIR}/${VIM_VER}/keymap .endif #!defined(TINY) .include diff --git a/editors/with-editor/Makefile b/editors/with-editor/Makefile index 0f2ff71d1404..0b742301d4e1 100644 --- a/editors/with-editor/Makefile +++ b/editors/with-editor/Makefile @@ -1,57 +1,55 @@ -# Created by: KIMURA Yasuhiro - PORTNAME= with-editor DISTVERSIONPREFIX= v DISTVERSION= 3.2.0 PORTREVISION= 2 CATEGORIES= editors elisp PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} MAINTAINER= yasu@FreeBSD.org COMMENT= Use the Emacsclient as the $$EDITOR of child processes LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE USES= emacs gmake makeinfo USE_GITHUB= yes GH_ACCOUNT= magit ALL_TARGET= lisp info NO_ARCH= yes INFO= with-editor PLIST_FILES= ${EMACS_VERSION_SITE_LISPDIR}/with-editor-autoloads.el \ ${EMACS_VERSION_SITE_LISPDIR}/with-editor.el \ ${EMACS_VERSION_SITE_LISPDIR}/with-editor.elc PORTDOCS= AUTHORS.md README.md with-editor.html OPTIONS_DEFINE= DOCS PDF PDF_DESC= Build and install PDF document DOCS_BUILD_DEPENDS= gsed:textproc/gsed DOCS_ALL_TARGET= html DOCS_BINARY_ALIAS= sed=gsed PDF_BUILD_DEPENDS= texi2pdf:print/texinfo PDF_USE= TEX=dvipdfmx:build PDF_ALL_TARGET= pdf PDF_PLIST_FILES= ${DOCSDIR}/with-editor.pdf do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} ${INSTALL_DATA} ${WRKSRC}/lisp/*.el* \ ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} ${INSTALL_DATA} ${WRKSRC}/docs/*.info ${STAGEDIR}${PREFIX}/${INFO_PATH} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${WRKSRC}/docs/AUTHORS.md \ ${WRKSRC}/docs/with-editor.html ${STAGEDIR}${DOCSDIR} do-install-PDF-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/with-editor.pdf ${STAGEDIR}${DOCSDIR} .include diff --git a/editors/wordgrinder/Makefile b/editors/wordgrinder/Makefile index 00c09cd9033c..5e6c812ef9d1 100644 --- a/editors/wordgrinder/Makefile +++ b/editors/wordgrinder/Makefile @@ -1,63 +1,61 @@ -# Created by: Vitaly Magerya - PORTNAME= wordgrinder PORTVERSION= 0.6 CATEGORIES= editors MAINTAINER= vmagerya@gmail.com COMMENT= Simple Unicode-aware console and X11-based word processor RUN_DEPENDS= ${LUA_REFMODLIBDIR}/lfs.so:devel/luafilesystem@${LUA_FLAVOR} USE_GITHUB= yes GH_ACCOUNT= davidgiven USES= gmake lua:52 ncurses PLIST_FILES= bin/wordgrinder \ share/doc/wordgrinder/README.wg \ man/man1/wordgrinder.1.gz OPTIONS_DEFINE= X11 OPTIONS_DEFAULT=X11 X11_DESC= Support running in an X window in addition to console X11_PLIST_FILES=bin/xwordgrinder X11_USE= xorg=x11,xft X11_USES= pkgconfig xorg X11_ALL_TARGET_OFF=unix post-patch: ${REINPLACE_CMD} \ -e '/hide = /s/@//' \ -e '/cc := gcc/s|gcc|${CC}|' \ -e '/LUA_INCLUDE := /s|= .*|= ${LUA_INCDIR}|' \ -e '/ldflags := /s|=|= -L${LUA_LIBDIR}|' \ -e 's|-llua5.2|-llua-${LUA_VER}|' \ -e 's|$$(hide)lua|$$(hide)${LUA_CMD}|' \ -e '/PREFIX = /d' \ -e '/install /s|$$(PRE|$$(DESTDIR)$$(PRE|' \ -e '/install /s|share/man/man1|man/man1|' \ -e '/NCURSES_CFLAGS :=/s|=.*|=|' \ -e '/NCURSES_LIB :=/s|=.*|= -lncursesw|' \ -e '/X11_CFLAGS :=/s|=.*|= $$(shell pkg-config --cflags x11 xft)|' \ -e '/X11_LIB :=/s|=.*|= $$(shell pkg-config --libs x11 xft)|' \ ${WRKSRC}/Makefile ${REINPLACE_CMD} \ -e '/#include diff --git a/editors/wxhexeditor/Makefile b/editors/wxhexeditor/Makefile index 8fd77bf4af53..546472137818 100644 --- a/editors/wxhexeditor/Makefile +++ b/editors/wxhexeditor/Makefile @@ -1,31 +1,29 @@ -# Created by: Alexey Dokuchaev - PORTNAME= wxhexeditor PORTVERSION= 0.24 PORTREVISION= 4 CATEGORIES= editors MASTER_SITES= SF/${PORTNAME}/wxHexEditor/v${PORTVERSION}%20Beta/ DISTNAME= wxHexEditor-v${PORTVERSION}-src MAINTAINER= danfe@FreeBSD.org COMMENT= Graphical hex editor for big files with x86 disassembly support LICENSE= GPLv2 LIB_DEPENDS= libudis86.so:devel/udis86 \ libmhash.so:security/mhash USES= compiler:c++11-lang gettext-tools gmake tar:xz USE_WX= 3.0+ MAKE_ARGS= WXCONFIG="${WX_CONFIG}" WRKSRC= ${WRKDIR}/wxHexEditor # Follow the ${MTREE_FILE} which specifies simple, unsuffixed names # for these particular locales post-patch: @${MV} ${WRKSRC}/locale/hu_HU ${WRKSRC}/locale/hu @${MV} ${WRKSRC}/locale/ja_JP ${WRKSRC}/locale/ja @${MV} ${WRKSRC}/locale/nl_NL ${WRKSRC}/locale/nl .include diff --git a/editors/xcoral/Makefile b/editors/xcoral/Makefile index 24994123327b..986b03ba561b 100644 --- a/editors/xcoral/Makefile +++ b/editors/xcoral/Makefile @@ -1,47 +1,45 @@ -# Created by: erich@rrnet.com - PORTNAME= xcoral PORTVERSION= 3.47 PORTREVISION= 4 CATEGORIES= editors MASTER_SITES= http://xcoral.free.fr/ PATCH_SITES= http://aldan.algebra.com/~mi/port-stuff/ PATCHFILES= xcoral-alpheus-and-peneus-2020.patch.bz2 MAINTAINER= mi@aldan.algebra.com COMMENT= Multiwindow mouse-based text editor for X LICENSE= GPLv2 USES= bison compiler:c11 xorg USE_XORG= x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --libdir=${PREFIX}/share LIBS+= -lgnuregex LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -isystem ${LOCALBASE}/include EXTRACT_AFTER_ARGS= --exclude BR_Parser.[ch] PLIST_SUB= VERSION="${PORTVERSION}" OPTIONS_DEFINE= DOCS .include .if ${OSVERSION} > 1300000 LIB_DEPENDS+= libgnuregex.so.[6-9]:devel/libgnuregex .endif post-patch: @${REINPLACE_CMD} -e 's| regex\.[co] | |g ; \ s| -g | |g' ${WRKSRC}/Makefile.in do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xcoral ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/SmacLib/* ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Doc/* ${STAGEDIR}${DOCSDIR} .include diff --git a/editors/xvile/Makefile b/editors/xvile/Makefile index 81840e2ecb42..01cfcf8919c5 100644 --- a/editors/xvile/Makefile +++ b/editors/xvile/Makefile @@ -1,99 +1,97 @@ -# Created by: pgf - PORTNAME= vile PORTVERSION= 9.8v CATEGORIES= editors MASTER_SITES= ftp://ftp.invisible-island.net/pub/vile/current/ \ https://invisible-mirror.net/archives/vile/current/ PKGNAMEPREFIX= x PATCH_SITES= ${MASTER_SITES:S,vile/current/,vile/patches/,g} PATCHFILES= # none MAINTAINER= dickey@invisible-island.net COMMENT= VI Like Emacs -- X11 version LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= reflex:textproc/reflex USES= pkgconfig shebangfix tar:tgz xorg SHEBANG_FILES= macros/lxvile macros/lxvile-fonts perl/vileget USE_XORG= x11 xext xpm xt GNU_CONFIGURE= yes CONFIGURE_ENV= cf_cv_crypt_works=yes CONFIGURE_ARGS= --disable-imake \ --disable-desktop \ --enable-fontset \ --with-icon-theme \ --with-xpm \ --datarootdir=${PREFIX}/share/xvile \ --with-icondir=${PREFIX}/share/icons \ --with-libdir-path=${PREFIX}/lib/xvile \ --with-pixmapdir=${PREFIX}/share/pixmaps \ --with-startup-path=${PREFIX}/share/xvile MAKEFILE= makefile INSTALL_TARGET= install install-doc install-html OPTIONS_DEFINE= DOCS FILTERS ICONV PERL OPTIONS_RADIO= MENUS OPTIONS_RADIO_MENUS= MOTIF XAW XAW3D OPTIONS_DEFAULT= ICONV OPTIONS_SUB= yes FILTERS_DESC= Loadable filters FILTERS_CONFIGURE_WITH= loadable-filters ICONV_USES= iconv ICONV_CONFIGURE_ON= --with-iconv ${ICONV_CONFIGURE_ARG} ICONV_CONFIGURE_OFF= --without-iconv --without-locale MENUS_DESC= Support for menus MOTIF_USES= motif MOTIF_CONFIGURE_ON= --enable-colored-menus \ --with-screen=motif PERL_USES= perl5 PERL_CONFIGURE_WITH= perl XAW_DESC= X Athena Widgets XAW_USE= XORG=xaw XAW_CONFIGURE_ON= --with-screen=athena XAW3D_DESC= X Athena Widgets with 3D effect XAW3D_LIB_DEPENDS= libXaw3d.so:x11-toolkits/Xaw3d XAW3D_CONFIGURE_ON= --enable-colored-menus \ --with-Xaw3d \ --with-screen=xaw3d # fixes to make this not conflict with the "vile" port DATADIR= ${PREFIX}/share/xvile DOCSDIR= ${PREFIX}/share/doc/xvile .include .if ${PORT_OPTIONS:MFILTERS} PLIST_SUB+= SO_EXT=".so" .else PLIST_SUB+= SO_EXT="" .endif .if empty(PORT_OPTIONS:MMOTIF) && empty(PORT_OPTIONS:MXAW) && empty(PORT_OPTIONS:MXAW3D) CONFIGURE_ARGS+= --with-screen=x11 .endif post-patch: @${REINPLACE_CMD} -e \ 's|$$(datadir)/doc|@prefix@/share/doc/xvile| ; \ s|^\(datadir[ ]*=[ ]*\)@datadir@.*|\1@datarootdir@| ; \ s|@datadir@/doc/vile|@datarootdir@/doc/xvile| ; \ s|$$(datadir)/html|$$(docdir)/html| ; \ s|$$(datadir)/perl|@datadir@/perl| ; \ s|$$(BINDIR)/vileget|$$(BINDIR)/xvileget| ; \ s|\($$(DOCDIR)\) \($$(MANDIR)\)|\1 $$(HTMLDIR) \2|' \ ${WRKSRC}/makefile.in @${REINPLACE_CMD} -e \ 's|^\(datadir[ ]*=[ ]*\)@datadir@.*|\1@datarootdir@|' \ ${WRKSRC}/filters/makefile.in post-install: (cd ${WRKSRC}/macros && ${INSTALL_DATA} *.desktop \ ${STAGEDIR}${PREFIX}/share/applications) .include diff --git a/editors/yudit/Makefile b/editors/yudit/Makefile index cf37e16d39ca..e4f31bf170c8 100644 --- a/editors/yudit/Makefile +++ b/editors/yudit/Makefile @@ -1,31 +1,29 @@ -# Created by: rch@richard.eu.org - PORTNAME= yudit PORTVERSION= 3.0.7 CATEGORIES= editors converters print MASTER_SITES= http://yudit.org/download/ \ SUNSITE/apps/editors/X MAINTAINER= danilo@FreeBSD.org COMMENT= Multi-lingual Unicode text editor with TTF support LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING.TXT CONFLICTS= netatalk USES= gmake xorg USE_XORG= x11 GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes PORTDATA= * DESKTOP_ENTRIES="Yudit" "${COMMENT}" "${PREFIX}/share/pixmaps/yudit.xpm" \ "yudit" "Office;" false post-install: ${INSTALL_DATA} ${WRKSRC}/icons/SS_Yudit_XPM.xpm \ ${STAGEDIR}${PREFIX}/share/pixmaps/yudit.xpm .include diff --git a/editors/zile/Makefile b/editors/zile/Makefile index 35babcb1c6c3..c95e4d9e090b 100644 --- a/editors/zile/Makefile +++ b/editors/zile/Makefile @@ -1,40 +1,38 @@ -# Created by: Jason Evans - PORTNAME= zile PORTVERSION= 2.6.2 CATEGORIES= editors MASTER_SITES= GNU MAINTAINER= ports@FreeBSD.org COMMENT= Small emacs-like text editor LICENSE= GPLv3 LIB_DEPENDS= libgc.so:devel/boehm-gc \ libgnuregex.so.6:devel/libgnuregex \ libgee-0.8.so:devel/libgee BUILD_DEPENDS= ${LOCALBASE}/bin/help2man:misc/help2man USES= gmake gnome ncurses perl5 pkgconfig compiler:c++11-lang USE_PERL5= build USE_GNOME= glib20 GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-included-regex PLIST_FILES= bin/${PORTNAME} \ man/man1/${PORTNAME}.1.gz \ %%DOCSDIR%%/AUTHORS \ %%DOCSDIR%%/FAQ \ %%DOCSDIR%%/NEWS \ %%DOCSDIR%%/dotzile.sample CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lgnuregex post-patch: @${REINPLACE_CMD} -e \ '/need_charset_alias=/s|true|false|g' ${WRKSRC}/lib/Makefile.in @${REINPLACE_CMD} -e \ 's|@pkgdatadir@|${DOCSDIR}|' ${WRKSRC}/doc/man-extras .include