diff --git a/editors/mined/Makefile b/editors/mined/Makefile index cbca468dcbff..ea8aceac0db5 100644 --- a/editors/mined/Makefile +++ b/editors/mined/Makefile @@ -1,53 +1,53 @@ PORTNAME= mined -PORTVERSION= 2022.26 +PORTVERSION= 2022.27 CATEGORIES= editors -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION} +MASTER_SITES= http://towo.net/mined/download/ MAINTAINER= thierry@FreeBSD.org COMMENT= Text mode editor with Unicode support WWW= http://towo.net/mined/ LICENSE= GPLv3 BUILD_DEPENDS= ${NONEXISTENT}:textproc/UCD:fetch USES= desktop-file-utils gmake ncurses BINARY_ALIAS= make=${GMAKE} HAS_CONFIGURE= yes MAKEFILE= makefile REINPLACE_ARGS= -i "" MAKE_ARGS= GMAKE="${MAKE_CMD}" CC="${CC}" OPT="${CFLAGS}" INSTALL_TARGET= localinstall MAKE_JOBS_UNSAFE= yes UCD_VER= 15.0.0 UCD_DISTDIR= ${DISTDIR}/unicode-UCD/${UCD_VER} OPTIONS_DEFINE= DOCS PORTDOCS= * PRFX2FIX= src/makefile.bsd usrshare/conf_user/xinitrc.mined \ src/minedaux.c man/mined.1 src/mkinclud.mak \ src/makefile.gcc post-extract: ${CP} -p ${UCD_DISTDIR}/UCD.zip ${UCD_DISTDIR}/Unihan.zip ${WRKSRC}/src pre-configure: .for FILE in ${PRFX2FIX} ${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/${FILE} .endfor post-install: ${INSTALL_DATA} ${WRKSRC}/usrshare/setup_install/mined.desktop \ ${STAGEDIR}${DESKTOPDIR} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mined .for d in cyg win ${RM} -r ${STAGEDIR}${DATADIR}/setup_install/${d} .endfor ${MKDIR} ${STAGEDIR}${DOCSDIR} .for d in doc_user package_doc ${MV} ${STAGEDIR}${DATADIR}/${d} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/editors/mined/distinfo b/editors/mined/distinfo index d8cebbb5801b..1ae90366fb5e 100644 --- a/editors/mined/distinfo +++ b/editors/mined/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1669388892 -SHA256 (mined-2022.26.tar.gz) = e6632e6432467f256f304bf702a814c46203f006c2df03b5c60503395af35c2a -SIZE (mined-2022.26.tar.gz) = 7356536 +TIMESTAMP = 1671974880 +SHA256 (mined-2022.27.tar.gz) = e55436c5a2c06a74ab12a46bc2bfdac2cb0cacbebd6bdd5f6c2f8aef8914d451 +SIZE (mined-2022.27.tar.gz) = 7239587 diff --git a/editors/mined/files/patch-src__mkinclud.mak b/editors/mined/files/patch-src__mkinclud.mak index 5602f280f723..8532deb94f92 100644 --- a/editors/mined/files/patch-src__mkinclud.mak +++ b/editors/mined/files/patch-src__mkinclud.mak @@ -1,53 +1,62 @@ ---- src/mkinclud.mak.orig 2022-11-13 17:48:52 UTC +--- src/mkinclud.mak.orig 2022-12-21 18:37:41 UTC +++ src/mkinclud.mak -@@ -63,9 +63,6 @@ DOC=../usrshare/doc_user +@@ -64,9 +64,6 @@ DOC=../usrshare/doc_user # Unicode data tables: # With Unicode 7.0, there is no UCD.zip anymore, so downloaded separately -UCD.zip: - echo Trying to retrieve Unicode data file via Internet -- $(WGET) http://unicode.org/Public/UNIDATA/UCD.zip +- $(WGET) http://www.unicode.org/Public/UNIDATA/UCD.zip UnicodeData.txt: UCD.zip unzip -o UCD $@; touch -r UCD.zip $@ Scripts.txt: UCD.zip -@@ -86,15 +83,15 @@ DerivedBidiClass.txt: UCD.zip +@@ -87,15 +84,15 @@ DerivedBidiClass.txt: UCD.zip unzip -o -j UCD extracted/$@; touch -r UCD.zip $@ %.txt: -- $(WGET) http://unicode.org/Public/UNIDATA/$@ -+ #$(WGET) http://unicode.org/Public/UNIDATA/$@ +- $(WGET) http://www.unicode.org/Public/UNIDATA/$@ ++ #$(WGET) http://www.unicode.org/Public/UNIDATA/$@ -Unihan.zip: +Unihan.zip_without_wget: echo Trying to retrieve Unicode data file via Internet - $(WGET) http://unicode.org/Public/UNIDATA/Unihan.zip + $(WGET) http://www.unicode.org/Public/UNIDATA/Unihan.zip BIG5.TXT: - echo Trying to retrieve Unicode data file via Internet -- $(WGET) http://unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT +- $(WGET) http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT + #echo Trying to retrieve Unicode data file via Internet -+ #$(WGET) http://unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT ++ #$(WGET) http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT check_ccc: grep "^ccc; *230;.*; *Above$$" PropertyValueAliases.txt -@@ -724,7 +721,7 @@ install: mined help man +@@ -116,7 +113,7 @@ uniset: uniset.tar.gz + gzip -dc uniset.tar.gz | tar xvf - uniset + + uniset.tar.gz: +- $(WGET) https://www.cl.cam.ac.uk/~mgk25/download/uniset.tar.gz ++ #$(WGET) https://www.cl.cam.ac.uk/~mgk25/download/uniset.tar.gz + + #WIDTH-A: uniset.tar.gz + # tar xvzf uniset.tar.gz WIDTH-A +@@ -726,7 +723,7 @@ install: mined help man mkdir -p $(DESTDIR)$(mandir)/man1 $(INSTALL) ../man/*.1 $(DESTDIR)$(mandir)/man1 # zip man if mans are zipped in actual mandir (not DESTDIR) - if (ls $(mandir)/man1/*.gz && type gzip) > /dev/null 2>&1; then gzip -f $(DESTDIR)$(mandir)/man1/mined.1; fi + #if (ls $(mandir)/man1/*.gz && type gzip) > /dev/null 2>&1; then gzip -f $(DESTDIR)$(mandir)/man1/mined.1; fi # ==== install desktop context menu item ("Open With") ( $(rootmenu) && $(rooticon) ) || ( $(usermenu) && $(usericon) ) || echo Could not install desktop menu entry # ==== install system-specific stuff (e.g. wined, README.cygwin) -@@ -746,9 +743,9 @@ localinstall: mined help man +@@ -748,9 +745,9 @@ localinstall: mined help man rm -fr $(DESTDIR)$(lrundir)/doc_user/fonts # ==== install manual page mkdir -p $(DESTDIR)$(lmandir)/man1 - $(INSTALL) ../man/*.1 $(DESTDIR)$(lmandir)/man1 + $(BSD_INSTALL_MAN) ../man/*.1 $(DESTDIR)$(lmandir)/man1 # zip man if mans are zipped in actual mandir (not DESTDIR) - if (ls $(lmandir)/man1/*.gz && type gzip) > /dev/null 2>&1; then gzip -f $(DESTDIR)$(lmandir)/man1/mined.1; fi + #if (ls $(lmandir)/man1/*.gz && type gzip) > /dev/null 2>&1; then gzip -f $(DESTDIR)$(lmandir)/man1/mined.1; fi # ==== install desktop context menu item ("Open With") ( $(localmenu) && $(localicon) ) || ( $(usermenu) && $(usericon) ) || echo Could not install desktop menu entry # ==== install system-specific stuff (e.g. wined, README.cygwin)