head	1.8;
access;
symbols
	pkgsrc-2026Q1:1.7.0.4
	pkgsrc-2026Q1-base:1.7
	pkgsrc-2025Q4:1.7.0.2
	pkgsrc-2025Q4-base:1.7
	pkgsrc-2025Q3:1.4.0.2
	pkgsrc-2025Q3-base:1.4
	pkgsrc-2025Q2:1.3.0.2
	pkgsrc-2025Q2-base:1.3
	pkgsrc-2025Q1:1.1.0.2
	pkgsrc-2025Q1-base:1.1;
locks; strict;
comment	@# @;


1.8
date	2026.04.20.16.06.01;	author vins;	state Exp;
branches;
next	1.7;
commitid	pk2xJqNAHCQ0nICG;

1.7
date	2025.11.03.16.47.31;	author vins;	state Exp;
branches;
next	1.6;
commitid	ac59SDtLuwYh08hG;

1.6
date	2025.10.12.07.34.33;	author vins;	state Exp;
branches;
next	1.5;
commitid	X9mi6oopkZ8bEfeG;

1.5
date	2025.10.11.16.40.39;	author vins;	state Exp;
branches;
next	1.4;
commitid	vjECgN1D1SbnHaeG;

1.4
date	2025.08.03.07.23.07;	author vins;	state Exp;
branches;
next	1.3;
commitid	vwBLHQah1xqIPf5G;

1.3
date	2025.05.07.15.56.43;	author vins;	state Exp;
branches;
next	1.2;
commitid	Z4Hb1s0ct5H4vZTF;

1.2
date	2025.05.01.07.33.20;	author vins;	state Exp;
branches;
next	1.1;
commitid	XjnAmWnzyZhMUaTF;

1.1
date	2025.01.05.21.38.21;	author vins;	state Exp;
branches;
next	;
commitid	77BWpcAwMIJNjlEF;


desc
@@


1.8
log
@xfile: update to 1.1.0

# noteworthy changes

* New Find Next function (bound to Ctrl+N by default) available when
  using the incremental search in the file list. Particularly useful
  when the file list is sorted by any other criteria than name.
* New syncOnCopy option controls whether XFile should request file
  system caches to be flushed when copying files (see sync(1)). Turned
  off by default.
* Fixed: changes in file attributes not updated during normal refresh.
* Fixed: whitespace bug in %p and %u user tool variable expansion.
@
text
@# $NetBSD: Makefile,v 1.7 2025/11/03 16:47:31 vins Exp $

DISTNAME=	xfile-src-1.1.0
PKGNAME=	${DISTNAME:S/-src//}
CATEGORIES=	sysutils x11
MASTER_SITES=	https://fastestcode.org/dl/
DIST_SUBDIR=	${PKGNAME_NOREV}
EXTRACT_SUFX=	.tar.xz

DISTFILES+=	${DEFAULT_DISTFILES} xfile-addon.tar.xz \
		xfile-slanted-icons.tar.xz

MAINTAINER=	vins@@NetBSD.org
HOMEPAGE=	https://fastestcode.org/xfile.html
COMMENT=	File manager for Unix/X11
LICENSE=	mit

MAKE_JOBS_SAFE=	no

USE_TOOLS+=		awk sed sh
USE_BSD_MAKEFILE=	yes

.include "../../mk/bsd.prefs.mk"

# See the included README.pkgsrc for optional dependencies.

.if ${X11_TYPE} == "modular"
DEPENDS+=	xterm-[0-9]*:../../x11/xterm
.endif
DEPENDS+=	xfind-[0-9]*:../../x11/xfind

SHAREDIR=	${PREFIX}/share/${PKGBASE}

SUBST_CLASSES+=		pkgsrc
SUBST_STAGE.pkgsrc=	pre-configure
SUBST_FILES.pkgsrc=	mf/Makefile.pkgsrc README.pkgsrc
SUBST_VARS.pkgsrc+=	PKGBASE PREFIX PKGMANDIR SHAREDIR
SUBST_MESSAGE.pkgsrc=	Replacing pkgsrc placeholders

.include "options.mk"

MAKE_FLAGS+=	CC=${CC:Q}
MAKE_FLAGS+=	CFLAGS=${CFLAGS:Q}
MAKE_FLAGS+=	LDFLAGS=${LDFLAGS:Q}
MAKE_FLAGS+=	SHELL=${SH:Q}
MAKE_FLAGS+=	AWK=${AWK:Q}

post-extract:
	${RUN}${MV} ${WRKDIR}/slanted-icons/*.xpm	\
	${WRKSRC}/src/icons/
	${RUN}${CP} ${FILESDIR}/README.pkgsrc ${WRKSRC}

INSTALLATION_DIRS+=	share/applications

post-install:
	${RUN}${LN} -s ${PREFIX}/bin/xfile			\
		${DESTDIR}${PREFIX}/bin/xfile-open
	${INSTALL_DATA} ${WRKDIR}/xfile-addon/icons/*.xpm	\
		${DESTDIR}${SHAREDIR}/icons
	${INSTALL_DATA} ${WRKDIR}/xfile-addon/types/*.db	\
		${DESTDIR}${SHAREDIR}/types
	${INSTALL_DATA} ${FILESDIR}/xfile.desktop		\
		${DESTDIR}${PREFIX}/share/applications
	${INSTALL_DATA} ${WRKSRC}/README.pkgsrc			\
		${DESTDIR}${PREFIX}/share/doc/xfile

.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/libXinerama/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/motif.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.7
log
@sysutils/xfile: update to v1.0.2

This is a maintainance release.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2025/10/12 07:34:33 vins Exp $
d3 1
a3 1
DISTNAME=	xfile-src-1.0.2
d36 2
a37 2
SUBST_FILES.pkgsrc=	mf/Makefile.pkgsrc src/mkicons.sh README.pkgsrc
SUBST_VARS.pkgsrc+=	PKGBASE PREFIX PKGMANDIR SED SHAREDIR
@


1.6
log
@sysutils/xfile: add dependency on x11/xterm and x11/xfind

+ Document optional dependencies.

Bump revision.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2025/10/11 16:40:39 vins Exp $
d3 1
a3 1
DISTNAME=	xfile-src-1.0.1
a4 1
PKGREVISION=	1
@


1.5
log
@sysutils/xfile: update to 1.0.1

# noteworthy changes

* Failure to remove empty directory structure, when moving directories
  containing symlinks across filesystems was fixed.
* The attributes dialog will no longer erroneously count symlink
  target's sizes in, nor will it recurse into symlinked directories.
* "Pass To..." now handles file names containing whitespace properly.
* More intuitive rounding of large file sizes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2025/08/03 07:23:07 vins Exp $
d5 1
d24 9
d37 1
a37 1
SUBST_FILES.pkgsrc=	mf/Makefile.pkgsrc src/mkicons.sh
d52 1
d65 2
@


1.4
log
@sysutils/xfile: update to 1.0 (stale release)

# upstream changes (since 20250430 snapshot)

* Optional Directory Up button in the path widget.
* Added Edit->Reselect, which reacquires primary X selection.
* Use utf8 window/icon titles if supported.
* Added history to prompt and directory selection dialogs.
* Added progress widget.
* Other: various bug fixes, code cleanup, man page fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2025/05/07 15:56:43 vins Exp $
d3 1
a3 1
DISTNAME=	xfile-src-1.0
@


1.3
log
@xfile: switch to github to fetch the correct snapshot based on tag
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2025/05/01 07:33:20 vins Exp $
d3 2
a4 2
DISTNAME=	xfile-20250430
PKGREVISION=	1
d6 1
a6 2
#MASTER_SITES=	https://fastestcode.org/dl/
MASTER_SITES=	${MASTER_SITE_GITHUB:=alx210/}
d8 1
a8 1
GITHUB_TAG=	ffdae16e124727f85b3ad3226d619a8d0ab4abe9
d10 2
a11 2
DISTFILES+=	${DEFAULT_DISTFILES} xfile-slanted-icons.tar.xz
SITES.xfile-slanted-icons.tar.xz= https://fastestcode.org/dl/
a38 2
#WRKSRC=	${WRKDIR}/xfile-beta

d41 1
a41 1
	${WRKSRC}/addon/icons/
d46 3
a48 2
	${RUN}${LN} -s ${PREFIX}/bin/xfile ${DESTDIR}${PREFIX}/bin/xfile-open
	${INSTALL_DATA} ${WRKSRC}/addon/icons/*.xpm	\
d50 1
a50 1
	${INSTALL_DATA} ${WRKSRC}/addon/types/*.db	\
d52 1
a52 1
	${INSTALL_DATA} ${FILESDIR}/xfile.desktop  	\
@


1.2
log
@sysutils/xfile: update to 20250430

# pkgsrc changes
* The beta 1.0 release is not actually a fixed release, but a rolling
  distribution which is kept in sync with the most recent upstream commit.
  The package uses now a different versioning scheme based on commit date.
  This is a temporary solution until an official 1.0 release is out.

* DBus support is now optional (disabled by default).

# upstream changes
* Added more icons and types
* Support primary selection copy/move
* Updated mount/progress dialogs
* Minor bug fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2025/01/05 21:38:21 vins Exp $
d3 2
a4 2
DISTNAME=	xfile-src-1.0-beta
PKGNAME=	${DISTNAME:S/-src//:S/1.0-beta/20250430/}
d6 2
a7 1
MASTER_SITES=	https://fastestcode.org/dl/
d9 2
a10 1
EXTRACT_SUFX=	.tar.xz
d12 1
d40 1
a40 1
WRKSRC=	${WRKDIR}/xfile-beta
@


1.1
log
@sysutils/xfile: initial import of package

XFile is a compact file manager for Unix and alike systems running X11.
It presents the file system as is, without imaginary locations,
trashcans etc. XFile uses its own file type association database written
in typical Unix/RC file syntax. Mounting support for file systems
defined in fstab, and integration with mount daemons that manage a
dedicated media directory is also included.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2024/12/08 16:34:38 vins Exp $
d4 1
a4 1
PKGNAME=	${DISTNAME:S/-src//:S/-beta/beta/}
d9 1
a9 2
DISTFILES+=	${DEFAULT_DISTFILES} xfile-xdgsvc-src.tar.xz	\
		xfile-slanted-icons.tar.xz
d25 1
a25 1
SUBST_FILES.pkgsrc=	mf/Makefile.pkgsrc src/mkicons.sh src/xfile.service
d29 2
d41 1
a41 4
		${WRKSRC}/addon/icons/
.for f in xfile-xdg.c xfile.service
	${RUN}${MV} ${WRKDIR}/xfile-xdgsvc/${f} ${WRKSRC}/src
.endfor
d46 1
a46 2
	${RUN}${LN} -s ${DESTDIR}${PREFIX}/bin/xfile	\
		${DESTDIR}${PREFIX}/bin/xfile-open
a57 1
.include "../../sysutils/dbus/buildlink3.mk"
@

