summaryrefslogtreecommitdiff
path: root/sysutils/xfm/Makefile
blob: e4c7045726bfb2b938a949949931046b3eb6c7cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $NetBSD: Makefile,v 1.23 2020/02/24 21:45:24 bouyer Exp $

DISTNAME=	xfm-1.4.3
PKGREVISION=	6
CATEGORIES=	sysutils x11
MASTER_SITES=	http://www.musikwissenschaft.uni-mainz.de/~ag/xfm/

PATCHFILES=		xfm-jumbo-patch-20181125.gz
PATCH_SITES=		http://www.NetBSD.org/~dholland/patchkits/xfm/
PATCH_DIST_STRIP=	-p1

MAINTAINER=	rxg@NetBSD.org
HOMEPAGE=	http://www.musikwissenschaft.uni-mainz.de/~ag/xfm/
COMMENT=	The X File Manager
LICENSE=	gnu-gpl-v2

BUILD_TARGET+=	all xfm.install.script Xfm.ad

USE_IMAKE=	YES
IMAKEOPTS=	-DCppCmd=tradcpp
# does not directly support Xaw3d
.PHONY: buildlink-Xaw3d-inc-hack
pre-configure: buildlink-Xaw3d-inc-hack

buildlink-Xaw3d-inc-hack: buildlink-directories
	cd ${BUILDLINK_DIR}/include/X11 && ln -s Xaw3d Xaw
#BUILDLINK_TRANSFORM+=           l:Xaw:Xaw3d

TOOL_DEPENDS+=	tradcpp>=0.5.2:../../devel/tradcpp

.include "../../x11/libXaw3d/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"