Skip to content

Commit

Permalink
filesystems/mtools: the port had been updated to version 4.0.47
Browse files Browse the repository at this point in the history
While here, simplify one regular expression in the `post-patch'
target recipe, garbage-collect a patch, and sort the pkg-plist.
  • Loading branch information
Alexey Dokuchaev authored and Alexey Dokuchaev committed Feb 8, 2025
1 parent fed41ee commit 02fe0e5
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 77 deletions.
7 changes: 2 additions & 5 deletions filesystems/mtools/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
PORTNAME= mtools
PORTVERSION= 4.0.43
PORTREVISION= 1
PORTVERSION= 4.0.47
CATEGORIES= filesystems emulators
MASTER_SITES= GNU

Expand All @@ -16,7 +15,6 @@ USES= gmake makeinfo tar:lz
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_header_malloc_h=no
CONFIGURE_ARGS= --enable-xdf
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share

SUB_FILES= pkg-message

Expand Down Expand Up @@ -49,8 +47,7 @@ MAKE_ENV+= WITHOUT_X11=yes
post-patch:
@${REINPLACE_CMD} -e '/LOCAL_CONF_FILE/s,/etc/default,${LOCALBASE}/etc,' \
${WRKSRC}/mtoolsPaths.h
@${REINPLACE_CMD} -e 's|^\(SAMPLE FILE\)$$|#\1|' \
${WRKSRC}/mtools.conf
@${REINPLACE_CMD} -e '/^SAMPLE FILE/s,^,#,' ${WRKSRC}/mtools.conf

post-install:
${INSTALL_DATA} ${WRKSRC}/mtools.conf ${STAGEDIR}${PREFIX}/etc/mtools.conf.sample
Expand Down
6 changes: 3 additions & 3 deletions filesystems/mtools/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1679438048
SHA256 (mtools-4.0.43.tar.lz) = 997ffe4125a19de1fd433ed63f128f7d54bc1a5915f3cdb36da6491ef917f217
SIZE (mtools-4.0.43.tar.lz) = 383347
TIMESTAMP = 1737275818
SHA256 (mtools-4.0.47.tar.lz) = 2709cd2f42d65500829b056cb0630edd515d7060b4865bad31277f0da9f9e9d5
SIZE (mtools-4.0.47.tar.lz) = 391656
6 changes: 3 additions & 3 deletions filesystems/mtools/files/patch-Makefile.in
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
--- Makefile.in.orig 2022-10-09 09:55:19 UTC
--- Makefile.in.orig 2024-11-30 22:13:06 UTC
+++ Makefile.in
@@ -72,11 +72,14 @@ INSTALL_INFO = @INSTALL_INFO@
.SUFFIXES: .o .c
.SUFFIXES: .o .c

-MAN1 = floppyd.1 floppyd_installtest.1 mattrib.1 mbadblocks.1 mcat.1 \
+MAN1 = mattrib.1 mbadblocks.1 mcat.1 \
mcd.1 mcopy.1 mdel.1 mdeltree.1 mdir.1 mdu.1 mformat.1 \
mcd.1 mcopy.1 mdel.1 mdeltree.1 mdir.1 mdoctorfat.1 mdu.1 mformat.1 \
minfo.1 mkmanifest.1 mlabel.1 mmd.1 mmount.1 mmove.1 mpartition.1 \
mrd.1 mren.1 mshortname.1 mshowfat.1 mtoolstest.1 mtools.1 mtype.1 \
mzip.1
Expand All @@ -23,7 +23,7 @@
-SCRIPTS = mcheck mxtar uz tgz mcomp amuFormat.sh
+SCRIPTS = mcheck mxtar mcomp amuFormat.sh

LINKS=mattrib mcat mcd mcopy mdel mdeltree mdir mdu \
LINKS=mattrib mcat mcd mcopy mdel mdeltree mdir mdoctorfat mdu \
mformat minfo mlabel mmd mmount mmove mpartition mrd mren mtype \
@@ -264,11 +267,9 @@ install-links: $(DESTDIR)$(bindir)/mtools
install-scripts: $(DESTDIR)$(bindir)/mtools
Expand Down
63 changes: 0 additions & 63 deletions filesystems/mtools/files/patch-configure

This file was deleted.

8 changes: 5 additions & 3 deletions filesystems/mtools/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ bin/mcopy
bin/mdel
bin/mdeltree
bin/mdir
bin/mdoctorfat
bin/mdu
bin/mformat
bin/minfo
Expand All @@ -22,13 +23,14 @@ bin/mmove
bin/mpartition
bin/mrd
bin/mren
bin/mshortname
bin/mshowfat
bin/mtools
bin/mtoolstest
bin/mtype
bin/mxtar
bin/mzip
bin/mshortname
@sample etc/mtools.conf.sample
%%X11%%share/man/man1/floppyd.1.gz
%%X11%%share/man/man1/floppyd_installtest.1.gz
share/man/man1/mattrib.1.gz
Expand All @@ -39,6 +41,7 @@ share/man/man1/mcopy.1.gz
share/man/man1/mdel.1.gz
share/man/man1/mdeltree.1.gz
share/man/man1/mdir.1.gz
share/man/man1/mdoctorfat.1.gz
share/man/man1/mdu.1.gz
share/man/man1/mformat.1.gz
share/man/man1/minfo.1.gz
Expand All @@ -50,11 +53,10 @@ share/man/man1/mmove.1.gz
share/man/man1/mpartition.1.gz
share/man/man1/mrd.1.gz
share/man/man1/mren.1.gz
share/man/man1/mshortname.1.gz
share/man/man1/mshowfat.1.gz
share/man/man1/mtools.1.gz
share/man/man1/mtoolstest.1.gz
share/man/man1/mtype.1.gz
share/man/man1/mzip.1.gz
share/man/man1/mshortname.1.gz
share/man/man5/mtools.5.gz
@sample etc/mtools.conf.sample

0 comments on commit 02fe0e5

Please sign in to comment.