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

(-)lang/runawk/Makefile (-22 / +14 lines)
Lines 2-51 Link Here
2
# $FreeBSD: head/lang/runawk/Makefile 362717 2014-07-23 17:30:45Z bapt $
2
# $FreeBSD: head/lang/runawk/Makefile 362717 2014-07-23 17:30:45Z bapt $
3
3
4
PORTNAME=	runawk
4
PORTNAME=	runawk
5
PORTVERSION=	1.5.0
5
PORTVERSION=	1.5.1
6
CATEGORIES=	lang
6
CATEGORIES=	lang
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
8
8
9
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
10
COMMENT=	Wrapper for AWK interpreter that implements a modules system
10
COMMENT=	Wrapper for AWK interpreter that implements a modules system
11
11
12
BUILD_DEPENDS=	mk-configure>=0.21.0:${PORTSDIR}/devel/mk-configure
12
LICENSE=	MIT
13
13
14
MAKE_ENV+=	SUBPRJ_DFLT="${SUBPRJ_DFLT}"
14
BUILD_DEPENDS=	mk-configure>=0.26.0:${PORTSDIR}/devel/mk-configure
15
CPPFLAGS+=	-I${LOCALBASE}/include
15
16
LDFLAGS+=	-L${LOCALBASE}/lib -Wl,-rpath -Wl,${LOCALBASE}/lib
16
MAKE_ENV=	DESTDIR="${STAGEDIR}" EGDIR="${EXAMPLESDIR}" \
17
		SUBPRJ_DFLT="${SUBPRJ_DFLT}"
17
18
18
MAN1=		${PORTNAME}.1 alt_getopt.1
19
CPPFLAGS+=	-I${LOCALBASE}/include
19
MAN3=		${PORTNAME}_modules.3
20
LDFLAGS+=	-L${LOCALBASE}/lib
20
21
21
PLIST_FILES=	bin/${PORTNAME} bin/alt_getopt bin/alt_getopt.sh
22
OPTIONS_DEFINE=	DOCS EXAMPLES
22
23
23
SUBPRJ_DFLT=	runawk modules
24
SUBPRJ_DFLT=	runawk modules
24
25
25
LICENSE=	MIT
26
.include <bsd.port.options.mk>
26
27
27
.if !defined(NOPORTDOCS)
28
.if ${PORT_OPTIONS:MDOCS}
28
PORTDOCS=	*
29
SUBPRJ_DFLT+=	doc
29
SUBPRJ_DFLT+=	doc
30
.endif
30
.endif
31
31
32
.if !defined(NOPORTEXAMPLES)
32
.if ${PORT_OPTIONS:MEXAMPLES}
33
PORTEXAMPLES=	*
34
SUBPRJ_DFLT+=	examples
33
SUBPRJ_DFLT+=	examples
35
MAKE_ENV+=	EGDIR="${EXAMPLESDIR}"
36
.endif
34
.endif
37
35
38
NO_STAGE=	yes
39
do-build:
36
do-build:
40
	@${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mkcmake -C ${WRKSRC}
37
	@${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mkcmake -C ${WRKSRC}
41
38
42
do-install:
39
do-install:
43
	@${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mkcmake -C ${WRKSRC} ${INSTALL_TARGET}
40
	@${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mkcmake -C ${WRKSRC} \
44
41
		${INSTALL_TARGET}
45
post-install:
46
	@(cd ${DATADIR}; ${FIND} -s . -type f) \
47
		| ${SED} -ne 's,^,${DATADIR:S,^${PREFIX}/,,}/,p' >> ${TMPPLIST}
48
	@${ECHO_CMD} '@dirrm ${DATADIR:S|${PREFIX}/||}/gawk' >> ${TMPPLIST}
49
	@${ECHO_CMD} '@dirrm ${DATADIR:S|${PREFIX}/||}' >> ${TMPPLIST}
50
42
51
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)lang/runawk/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (runawk-1.5.0.tar.gz) = e3f6e14de8ad87ec28047aba36a6c4be7e13a45421e3cacce994726de80da6fa
1
SHA256 (runawk-1.5.1.tar.gz) = 74ecf303ce8267d4a34fbd3bae9880395d7a247364e11801f5bd463918843b8c
2
SIZE (runawk-1.5.0.tar.gz) = 75675
2
SIZE (runawk-1.5.1.tar.gz) = 75217
(-)lang/runawk/pkg-plist (+111 lines)
Line 0 Link Here
1
bin/alt_getopt
2
bin/alt_getopt.sh
3
bin/runawk
4
man/man1/alt_getopt.1.gz
5
man/man1/runawk.1.gz
6
man/man3/runawk_modules.3.gz
7
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
8
%%PORTDOCS%%%%DOCSDIR%%/NEWS
9
%%PORTDOCS%%%%DOCSDIR%%/README
10
%%PORTDOCS%%%%DOCSDIR%%/TODO
11
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_alt_getopt
12
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_alt_getopt.sh
13
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_alt_getopt2.sh
14
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_alt_join
15
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_backslash_in
16
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_backslash_in.in
17
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_basename
18
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_dirname
19
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_embed_str
20
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_fieldwidths
21
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_fieldwidths.in
22
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_ftrans
23
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_glob
24
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_glob2ere
25
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_has_prefix
26
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_has_prefix.in
27
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_has_suffix
28
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_has_suffix.in
29
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_heapsort
30
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_heapsort.in
31
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_heapsort2
32
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_heapsort3
33
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_heapsort3.in
34
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_heapsort4
35
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_heapsort4.in
36
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_ini
37
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_ini.in
38
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_io
39
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_minmax
40
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_modinfo
41
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_multisub
42
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_power_getopt
43
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_power_getopt2
44
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_quicksort
45
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_quicksort2
46
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_quicksort3
47
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_readfile
48
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_readfile.in
49
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_runcmd
50
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_shquote
51
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_shquote.in
52
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_splitre
53
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_str2regexp
54
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_tmpfile
55
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_tokenre
56
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_tokenre.in
57
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_tokenre2
58
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_tokenre2.in
59
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_tokenre3
60
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_tokenre3.in
61
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_tokenre4
62
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_trim
63
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_trim.in
64
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_trim_in
65
%%DATADIR%%/CR_in.awk
66
%%DATADIR%%/abort.awk
67
%%DATADIR%%/abs.awk
68
%%DATADIR%%/alt_assert.awk
69
%%DATADIR%%/alt_getopt.awk
70
%%DATADIR%%/alt_join.awk
71
%%DATADIR%%/backslash_in.awk
72
%%DATADIR%%/basename.awk
73
%%DATADIR%%/braceexpand.awk
74
%%DATADIR%%/dirname.awk
75
%%DATADIR%%/embed_str.awk
76
%%DATADIR%%/exitnow.awk
77
%%DATADIR%%/fieldwidths.awk
78
%%DATADIR%%/ftrans_in.awk
79
%%DATADIR%%/gawk/ord.awk
80
%%DATADIR%%/glob.awk
81
%%DATADIR%%/has_prefix.awk
82
%%DATADIR%%/has_suffix.awk
83
%%DATADIR%%/heapsort.awk
84
%%DATADIR%%/ini.awk
85
%%DATADIR%%/init_getopt.awk
86
%%DATADIR%%/io.awk
87
%%DATADIR%%/isnum.awk
88
%%DATADIR%%/match_br.awk
89
%%DATADIR%%/max.awk
90
%%DATADIR%%/min.awk
91
%%DATADIR%%/modinfo.awk
92
%%DATADIR%%/multisub.awk
93
%%DATADIR%%/pow.awk
94
%%DATADIR%%/power_getopt.awk
95
%%DATADIR%%/quicksort.awk
96
%%DATADIR%%/readfile.awk
97
%%DATADIR%%/runcmd.awk
98
%%DATADIR%%/shquote.awk
99
%%DATADIR%%/sort.awk
100
%%DATADIR%%/str2regexp.awk
101
%%DATADIR%%/tmpfile.awk
102
%%DATADIR%%/tokenre.awk
103
%%DATADIR%%/trim.awk
104
%%DATADIR%%/trim_in.awk
105
%%DATADIR%%/xclose.awk
106
%%DATADIR%%/xgetline.awk
107
%%DATADIR%%/xsystem.awk
108
@dirrm %%DATADIR%%/gawk
109
@dirrm %%DATADIR%%
110
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
111
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 192208