pkgsrc/sysutils/xfm/Makefile

33 lines
960 B
Makefile

# $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"