blob: 136bf6521f47651173edd3a411fe93504eb2d910 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# $NetBSD: Makefile,v 1.52 2005/03/22 15:29:53 wiz Exp $
DISTNAME= mc-4.6.1-pre4a
PKGNAME= mc-4.6.1rc4
CATEGORIES= sysutils
MASTER_SITES= http://pavelsh.pp.ru/mc/
#MASTER_SITES= http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/ \
# ${MASTER_SITE_SUNSITE:=utils/file/managers/mc/}
MAINTAINER= pavel.arnost@clnet.cz
HOMEPAGE= http://www.ibiblio.org/mc/
COMMENT= User-friendly file manager and visual shell
USE_BUILDLINK3= YES
GNU_CONFIGURE= YES
USE_GNU_TOOLS+= make
USE_PKGLOCALEDIR= YES
CPPFLAGS.NetBSD+= -D__unix__
# see options.mk for an explanation of these options
PKG_OPTIONS_VAR= PKG_OPTIONS.mc
PKG_SUPPORTED_OPTIONS= charset edit largefile ncurses samba slang \
subshell vfs x11
PKG_DEFAULT_OPTIONS= charset edit largefile slang subshell vfs
.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.options.mk"
.if ${OPSYS} == "Linux"
PLIST_SRC+= ${PKGDIR}/PLIST.cons.saver
.endif
# remove dir if no extensions were installed there
post-install:
@${RMDIR} ${PREFIX}/lib/mc 2>/dev/null || ${TRUE}
# we need working e2fsprogs and gpm packages first
CONFIGURE_ARGS+= --without-ext2undel
CONFIGURE_ARGS+= --without-gpm-mouse
PLIST_SRC+= ${PKGDIR}/PLIST
.include "options.mk"
PLIST_SRC+= ${PKGDIR}/PLIST.end
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|