View | Details | Raw Unified | Return to bug 112690
Collapse All | Expand All

(-)mc/Makefile (-6 / +28 lines)
Lines 2-13 Link Here
2
# Date created:		15 Jul 1995
2
# Date created:		15 Jul 1995
3
# Whom:			torstenb@FreeBSD.org
3
# Whom:			torstenb@FreeBSD.org
4
#
4
#
5
# $FreeBSD: ports/misc/mc/Makefile,v 1.110 2006/07/24 16:48:37 fjoe Exp $
5
# $FreeBSD$
6
#
6
#
7
7
8
PORTNAME=	mc
8
PORTNAME=	mc
9
PORTVERSION=	4.6.1
9
PORTVERSION=	4.6.1
10
PORTREVISION=	4
10
PORTREVISION=	5
11
CATEGORIES=	misc shells
11
CATEGORIES=	misc shells
12
MASTER_SITES=	${MASTER_SITE_SUNSITE}
12
MASTER_SITES=	${MASTER_SITE_SUNSITE}
13
MASTER_SITE_SUBDIR=	utils/file/managers/mc/
13
MASTER_SITE_SUBDIR=	utils/file/managers/mc/
Lines 17-29 Link Here
17
17
18
BUILD_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkg-config
18
BUILD_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkg-config
19
19
20
CONFLICTS=	mc-light-4*
21
20
USE_GETTEXT=	yes
22
USE_GETTEXT=	yes
23
USE_ICONV=	yes
21
USE_GMAKE=	yes
24
USE_GMAKE=	yes
22
USE_GNOME=	glib20
25
USE_GNOME=	glib20
23
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
24
27
25
OPTIONS=	SLANG		"Build with SLang library" on \
28
OPTIONS=	SLANG		"Build with SLang library" on \
26
		ICONV		"Build with iconv recoding" on \
29
		ICONV		"Build with iconv recoding" on \
30
		NLS		"Build with NLS support" on \
27
		EDIT		"Build with internal editor" on \
31
		EDIT		"Build with internal editor" on \
28
		X11		"Build with X11 library" off \
32
		X11		"Build with X11 library" off \
29
		SUBSHELL	"Build with subshell support" on \
33
		SUBSHELL	"Build with subshell support" on \
Lines 38-49 Link Here
38
42
39
.if defined(WITH_ICONV) || !(defined(WITHOUT_ICONV) || defined(MINIMAL))
43
.if defined(WITH_ICONV) || !(defined(WITHOUT_ICONV) || defined(MINIMAL))
40
CONFIGURE_ARGS+=--enable-charset
44
CONFIGURE_ARGS+=--enable-charset
41
USE_ICONV=	yes
42
PLIST_SUB=	CHARSETS=""
45
PLIST_SUB=	CHARSETS=""
43
.else
46
.else
44
PLIST_SUB=	CHARSETS="@comment "
47
PLIST_SUB=	CHARSETS="@comment "
45
.endif
48
.endif
46
49
50
.if !defined(WITH_NLS) && (defined(WITHOUT_NLS) || defined(MINIMAL))
51
CONFIGURE_ARGS+=--disable-nls
52
PLIST_SUB+=	NLS="@comment "
53
_MANLANG=	""
54
.else
55
PLIST_SUB+=	NLS=""
56
_MANLANG=	es hu it pl ru.KOI8-R sr
57
.endif
58
47
.if !defined(WITH_X11) || defined(MINIMAL)
59
.if !defined(WITH_X11) || defined(MINIMAL)
48
CONFIGURE_ARGS+=--without-x
60
CONFIGURE_ARGS+=--without-x
49
.else
61
.else
Lines 74-96 Link Here
74
CONFIGURE_ARGS+=--without-subshell
86
CONFIGURE_ARGS+=--without-subshell
75
.endif
87
.endif
76
88
77
.if defined(WITH_PERL_MODULES) || !(defined(WITHOUT_PERL_MODULES) || defined(MINIMAL))
89
.if defined(WITH_PERL_MODULES) || !(defined(WITHOUT_PERL_MODULES) || \
90
	defined(MINIMAL))
78
.if ${PERL_LEVEL} < 500800
91
.if ${PERL_LEVEL} < 500800
79
RUN_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
92
RUN_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
80
.endif
93
.endif
81
.endif
94
.endif
82
95
83
MAN1=		mc.1 mcedit.1 mcview.1
96
MAN1=		mcedit.1 mcview.1
84
_MAN1=		mc.1
97
_MAN1=		mc.1
85
_MANLANG=	es hu it pl ru.KOI8-R sr
86
.for lang in ${_MANLANG}
98
.for lang in ${_MANLANG}
87
_MANPAGES+=	${_MAN1:S%^%${MAN1PREFIX}/man/${lang}/man1/%}
99
_MANPAGES+=	${_MAN1:S%^%${MAN1PREFIX}/man/${lang}/man1/%}
88
.endfor
100
.endfor
89
101
102
.if !defined(WITH_NLS) && (defined(WITHOUT_NLS) || defined(MINIMAL))
90
post-patch:
103
post-patch:
104
	@${REINPLACE_CMD} -e '224d;225,226d' -e 's|^LIBFILES_CONST.*|\
105
		LIBFILES_CONST =  mc.hint mc.lib mc.menu cedit.menu edit.indent.rc \
106
		edit.spell.rc|' ${WRKSRC}/lib/Makefile.in
91
	@${REINPLACE_CMD} -e 's|/usr/bin/zip|${LOCALBASE}/bin/zip|' \
107
	@${REINPLACE_CMD} -e 's|/usr/bin/zip|${LOCALBASE}/bin/zip|' \
92
		-e 's|/usr/bin/unzip|${LOCALBASE}/bin/unzip|' \
108
		-e 's|/usr/bin/unzip|${LOCALBASE}/bin/unzip|' \
93
		${WRKSRC}/configure
109
		${WRKSRC}/configure
110
.else
111
post-patch:
112
	@${REINPLACE_CMD} -e 's|/usr/bin/zip|${LOCALBASE}/bin/zip|' \
113
		-e 's|/usr/bin/unzip|${LOCALBASE}/bin/unzip|' \
114
		${WRKSRC}/configure
115
.endif
94
116
95
post-install:
117
post-install:
96
	@${LN} -sf mc ${PREFIX}/bin/midc
118
	@${LN} -sf mc ${PREFIX}/bin/midc
(-)mc/pkg-plist (-139 / +139 lines)
Lines 3-144 Link Here
3
bin/mcmfmt
3
bin/mcmfmt
4
bin/mcview
4
bin/mcview
5
bin/midc
5
bin/midc
6
share/locale/az/LC_MESSAGES/mc.mo
6
%%NLS%%share/locale/az/LC_MESSAGES/mc.mo
7
share/locale/be/LC_MESSAGES/mc.mo
7
%%NLS%%share/locale/be/LC_MESSAGES/mc.mo
8
share/locale/bg/LC_MESSAGES/mc.mo
8
%%NLS%%share/locale/bg/LC_MESSAGES/mc.mo
9
share/locale/ca/LC_MESSAGES/mc.mo
9
%%NLS%%share/locale/ca/LC_MESSAGES/mc.mo
10
share/locale/cs/LC_MESSAGES/mc.mo
10
%%NLS%%share/locale/cs/LC_MESSAGES/mc.mo
11
share/locale/da/LC_MESSAGES/mc.mo
11
%%NLS%%share/locale/da/LC_MESSAGES/mc.mo
12
share/locale/de/LC_MESSAGES/mc.mo
12
%%NLS%%share/locale/de/LC_MESSAGES/mc.mo
13
share/locale/el/LC_MESSAGES/mc.mo
13
%%NLS%%share/locale/el/LC_MESSAGES/mc.mo
14
share/locale/es/LC_MESSAGES/mc.mo
14
%%NLS%%share/locale/es/LC_MESSAGES/mc.mo
15
share/locale/eu/LC_MESSAGES/mc.mo
15
%%NLS%%share/locale/eu/LC_MESSAGES/mc.mo
16
share/locale/fi/LC_MESSAGES/mc.mo
16
%%NLS%%share/locale/fi/LC_MESSAGES/mc.mo
17
share/locale/fr/LC_MESSAGES/mc.mo
17
%%NLS%%share/locale/fr/LC_MESSAGES/mc.mo
18
share/locale/hu/LC_MESSAGES/mc.mo
18
%%NLS%%share/locale/hu/LC_MESSAGES/mc.mo
19
share/locale/it/LC_MESSAGES/mc.mo
19
%%NLS%%share/locale/it/LC_MESSAGES/mc.mo
20
share/locale/ja/LC_MESSAGES/mc.mo
20
%%NLS%%share/locale/ja/LC_MESSAGES/mc.mo
21
share/locale/ko/LC_MESSAGES/mc.mo
21
%%NLS%%share/locale/ko/LC_MESSAGES/mc.mo
22
share/locale/lt/LC_MESSAGES/mc.mo
22
%%NLS%%share/locale/lt/LC_MESSAGES/mc.mo
23
share/locale/lv/LC_MESSAGES/mc.mo
23
%%NLS%%share/locale/lv/LC_MESSAGES/mc.mo
24
share/locale/mn/LC_MESSAGES/mc.mo
24
%%NLS%%share/locale/mn/LC_MESSAGES/mc.mo
25
share/locale/nl/LC_MESSAGES/mc.mo
25
%%NLS%%share/locale/nl/LC_MESSAGES/mc.mo
26
share/locale/no/LC_MESSAGES/mc.mo
26
%%NLS%%share/locale/no/LC_MESSAGES/mc.mo
27
share/locale/pl/LC_MESSAGES/mc.mo
27
%%NLS%%share/locale/pl/LC_MESSAGES/mc.mo
28
share/locale/pt/LC_MESSAGES/mc.mo
28
%%NLS%%share/locale/pt/LC_MESSAGES/mc.mo
29
share/locale/pt_BR/LC_MESSAGES/mc.mo
29
%%NLS%%share/locale/pt_BR/LC_MESSAGES/mc.mo
30
share/locale/ro/LC_MESSAGES/mc.mo
30
%%NLS%%share/locale/ro/LC_MESSAGES/mc.mo
31
share/locale/ru/LC_MESSAGES/mc.mo
31
%%NLS%%share/locale/ru/LC_MESSAGES/mc.mo
32
share/locale/sk/LC_MESSAGES/mc.mo
32
%%NLS%%share/locale/sk/LC_MESSAGES/mc.mo
33
share/locale/sl/LC_MESSAGES/mc.mo
33
%%NLS%%share/locale/sl/LC_MESSAGES/mc.mo
34
share/locale/sr/LC_MESSAGES/mc.mo
34
%%NLS%%share/locale/sr/LC_MESSAGES/mc.mo
35
share/locale/sv/LC_MESSAGES/mc.mo
35
%%NLS%%share/locale/sv/LC_MESSAGES/mc.mo
36
share/locale/ta/LC_MESSAGES/mc.mo
36
%%NLS%%share/locale/ta/LC_MESSAGES/mc.mo
37
share/locale/tr/LC_MESSAGES/mc.mo
37
%%NLS%%share/locale/tr/LC_MESSAGES/mc.mo
38
share/locale/uk/LC_MESSAGES/mc.mo
38
%%NLS%%share/locale/uk/LC_MESSAGES/mc.mo
39
share/locale/wa/LC_MESSAGES/mc.mo
39
%%NLS%%share/locale/wa/LC_MESSAGES/mc.mo
40
share/locale/zh_CN/LC_MESSAGES/mc.mo
40
%%NLS%%share/locale/zh_CN/LC_MESSAGES/mc.mo
41
share/locale/zh_TW/LC_MESSAGES/mc.mo
41
%%NLS%%share/locale/zh_TW/LC_MESSAGES/mc.mo
42
share/mc/bin/mc-wrapper.csh
42
%%DATADIR%%/bin/mc-wrapper.csh
43
share/mc/bin/mc-wrapper.sh
43
%%DATADIR%%/bin/mc-wrapper.sh
44
share/mc/bin/mc.csh
44
%%DATADIR%%/bin/mc.csh
45
share/mc/bin/mc.sh
45
%%DATADIR%%/bin/mc.sh
46
share/mc/cedit.menu
46
%%DATADIR%%/cedit.menu
47
share/mc/edit.indent.rc
47
%%DATADIR%%/edit.indent.rc
48
share/mc/edit.spell.rc
48
%%DATADIR%%/edit.spell.rc
49
share/mc/extfs/README
49
%%DATADIR%%/extfs/README
50
share/mc/extfs/a
50
%%DATADIR%%/extfs/a
51
share/mc/extfs/apt
51
%%DATADIR%%/extfs/apt
52
share/mc/extfs/audio
52
%%DATADIR%%/extfs/audio
53
share/mc/extfs/bpp
53
%%DATADIR%%/extfs/bpp
54
share/mc/extfs/deb
54
%%DATADIR%%/extfs/deb
55
share/mc/extfs/deba
55
%%DATADIR%%/extfs/deba
56
share/mc/extfs/debd
56
%%DATADIR%%/extfs/debd
57
share/mc/extfs/dpkg
57
%%DATADIR%%/extfs/dpkg
58
share/mc/extfs/extfs.ini
58
%%DATADIR%%/extfs/extfs.ini
59
share/mc/extfs/hp48
59
%%DATADIR%%/extfs/hp48
60
share/mc/extfs/iso9660
60
%%DATADIR%%/extfs/iso9660
61
share/mc/extfs/lslR
61
%%DATADIR%%/extfs/lslR
62
share/mc/extfs/mailfs
62
%%DATADIR%%/extfs/mailfs
63
share/mc/extfs/patchfs
63
%%DATADIR%%/extfs/patchfs
64
share/mc/extfs/rpm
64
%%DATADIR%%/extfs/rpm
65
share/mc/extfs/rpms
65
%%DATADIR%%/extfs/rpms
66
share/mc/extfs/sfs.ini
66
%%DATADIR%%/extfs/sfs.ini
67
share/mc/extfs/trpm
67
%%DATADIR%%/extfs/trpm
68
share/mc/extfs/uar
68
%%DATADIR%%/extfs/uar
69
share/mc/extfs/uarj
69
%%DATADIR%%/extfs/uarj
70
share/mc/extfs/uha
70
%%DATADIR%%/extfs/uha
71
share/mc/extfs/ulha
71
%%DATADIR%%/extfs/ulha
72
share/mc/extfs/urar
72
%%DATADIR%%/extfs/urar
73
share/mc/extfs/uzip
73
%%DATADIR%%/extfs/uzip
74
share/mc/extfs/uzoo
74
%%DATADIR%%/extfs/uzoo
75
%%CHARSETS%%share/mc/mc.charsets
75
%%CHARSETS%%%%DATADIR%%/mc.charsets
76
share/mc/mc.ext
76
%%DATADIR%%/mc.ext
77
share/mc/mc.hint
77
%%DATADIR%%/mc.hint
78
share/mc/mc.hint.cs
78
%%NLS%%%%DATADIR%%/mc.hint.cs
79
share/mc/mc.hint.es
79
%%NLS%%%%DATADIR%%/mc.hint.es
80
share/mc/mc.hint.hu
80
%%NLS%%%%DATADIR%%/mc.hint.hu
81
share/mc/mc.hint.it
81
%%NLS%%%%DATADIR%%/mc.hint.it
82
share/mc/mc.hint.nl
82
%%NLS%%%%DATADIR%%/mc.hint.nl
83
share/mc/mc.hint.pl
83
%%NLS%%%%DATADIR%%/mc.hint.pl
84
share/mc/mc.hint.ru
84
%%NLS%%%%DATADIR%%/mc.hint.ru
85
share/mc/mc.hint.sr
85
%%NLS%%%%DATADIR%%/mc.hint.sr
86
share/mc/mc.hint.uk
86
%%NLS%%%%DATADIR%%/mc.hint.uk
87
share/mc/mc.hint.zh
87
%%NLS%%%%DATADIR%%/mc.hint.zh
88
share/mc/mc.hlp
88
%%DATADIR%%/mc.hlp
89
share/mc/mc.hlp.es
89
%%NLS%%%%DATADIR%%/mc.hlp.es
90
share/mc/mc.hlp.hu
90
%%NLS%%%%DATADIR%%/mc.hlp.hu
91
share/mc/mc.hlp.it
91
%%NLS%%%%DATADIR%%/mc.hlp.it
92
share/mc/mc.hlp.pl
92
%%NLS%%%%DATADIR%%/mc.hlp.pl
93
share/mc/mc.hlp.ru
93
%%NLS%%%%DATADIR%%/mc.hlp.ru
94
share/mc/mc.hlp.sr
94
%%NLS%%%%DATADIR%%/mc.hlp.sr
95
share/mc/mc.lib
95
%%DATADIR%%/mc.lib
96
share/mc/mc.menu
96
%%DATADIR%%/mc.menu
97
share/mc/mc.menu.sr
97
%%NLS%%%%DATADIR%%/mc.menu.sr
98
share/mc/syntax/Syntax
98
%%EDITOR%%%%DATADIR%%/syntax/Syntax
99
share/mc/syntax/ada95.syntax
99
%%EDITOR%%%%DATADIR%%/syntax/ada95.syntax
100
share/mc/syntax/aspx.syntax
100
%%EDITOR%%%%DATADIR%%/syntax/aspx.syntax
101
share/mc/syntax/assembler.syntax
101
%%EDITOR%%%%DATADIR%%/syntax/assembler.syntax
102
share/mc/syntax/c.syntax
102
%%EDITOR%%%%DATADIR%%/syntax/c.syntax
103
share/mc/syntax/changelog.syntax
103
%%EDITOR%%%%DATADIR%%/syntax/changelog.syntax
104
share/mc/syntax/cs.syntax
104
%%EDITOR%%%%DATADIR%%/syntax/cs.syntax
105
share/mc/syntax/diff.syntax
105
%%EDITOR%%%%DATADIR%%/syntax/diff.syntax
106
share/mc/syntax/dos.syntax
106
%%EDITOR%%%%DATADIR%%/syntax/dos.syntax
107
share/mc/syntax/eiffel.syntax
107
%%EDITOR%%%%DATADIR%%/syntax/eiffel.syntax
108
share/mc/syntax/fortran.syntax
108
%%EDITOR%%%%DATADIR%%/syntax/fortran.syntax
109
share/mc/syntax/html.syntax
109
%%EDITOR%%%%DATADIR%%/syntax/html.syntax
110
share/mc/syntax/idl.syntax
110
%%EDITOR%%%%DATADIR%%/syntax/idl.syntax
111
share/mc/syntax/java.syntax
111
%%EDITOR%%%%DATADIR%%/syntax/java.syntax
112
share/mc/syntax/js.syntax
112
%%EDITOR%%%%DATADIR%%/syntax/js.syntax
113
share/mc/syntax/latex.syntax
113
%%EDITOR%%%%DATADIR%%/syntax/latex.syntax
114
share/mc/syntax/lisp.syntax
114
%%EDITOR%%%%DATADIR%%/syntax/lisp.syntax
115
share/mc/syntax/lsm.syntax
115
%%EDITOR%%%%DATADIR%%/syntax/lsm.syntax
116
share/mc/syntax/lua.syntax
116
%%EDITOR%%%%DATADIR%%/syntax/lua.syntax
117
share/mc/syntax/m4.syntax
117
%%EDITOR%%%%DATADIR%%/syntax/m4.syntax
118
share/mc/syntax/mail.syntax
118
%%EDITOR%%%%DATADIR%%/syntax/mail.syntax
119
share/mc/syntax/makefile.syntax
119
%%EDITOR%%%%DATADIR%%/syntax/makefile.syntax
120
share/mc/syntax/ml.syntax
120
%%EDITOR%%%%DATADIR%%/syntax/ml.syntax
121
share/mc/syntax/nroff.syntax
121
%%EDITOR%%%%DATADIR%%/syntax/nroff.syntax
122
share/mc/syntax/octave.syntax
122
%%EDITOR%%%%DATADIR%%/syntax/octave.syntax
123
share/mc/syntax/pascal.syntax
123
%%EDITOR%%%%DATADIR%%/syntax/pascal.syntax
124
share/mc/syntax/perl.syntax
124
%%EDITOR%%%%DATADIR%%/syntax/perl.syntax
125
share/mc/syntax/php.syntax
125
%%EDITOR%%%%DATADIR%%/syntax/php.syntax
126
share/mc/syntax/po.syntax
126
%%EDITOR%%%%DATADIR%%/syntax/po.syntax
127
share/mc/syntax/povray.syntax
127
%%EDITOR%%%%DATADIR%%/syntax/povray.syntax
128
share/mc/syntax/python.syntax
128
%%EDITOR%%%%DATADIR%%/syntax/python.syntax
129
share/mc/syntax/ruby.syntax
129
%%EDITOR%%%%DATADIR%%/syntax/ruby.syntax
130
share/mc/syntax/sh.syntax
130
%%EDITOR%%%%DATADIR%%/syntax/sh.syntax
131
share/mc/syntax/slang.syntax
131
%%EDITOR%%%%DATADIR%%/syntax/slang.syntax
132
share/mc/syntax/smalltalk.syntax
132
%%EDITOR%%%%DATADIR%%/syntax/smalltalk.syntax
133
share/mc/syntax/spec.syntax
133
%%EDITOR%%%%DATADIR%%/syntax/spec.syntax
134
share/mc/syntax/sql.syntax
134
%%EDITOR%%%%DATADIR%%/syntax/sql.syntax
135
share/mc/syntax/swig.syntax
135
%%EDITOR%%%%DATADIR%%/syntax/swig.syntax
136
share/mc/syntax/syntax.syntax
136
%%EDITOR%%%%DATADIR%%/syntax/syntax.syntax
137
share/mc/syntax/tcl.syntax
137
%%EDITOR%%%%DATADIR%%/syntax/tcl.syntax
138
share/mc/syntax/texinfo.syntax
138
%%EDITOR%%%%DATADIR%%/syntax/texinfo.syntax
139
share/mc/syntax/unknown.syntax
139
%%EDITOR%%%%DATADIR%%/syntax/unknown.syntax
140
share/mc/syntax/xml.syntax
140
%%EDITOR%%%%DATADIR%%/syntax/xml.syntax
141
@dirrm share/mc/syntax
141
%%EDITOR%%@dirrm %%DATADIR%%/syntax
142
@dirrm share/mc/extfs
142
@dirrm %%DATADIR%%/extfs
143
@dirrm share/mc/bin
143
@dirrm %%DATADIR%%/bin
144
@dirrm share/mc
144
@dirrm %%DATADIR%%

Return to bug 112690