View | Details | Raw Unified | Return to bug 197234 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-29 / +16 lines)
Lines 2-47 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	execline
4
PORTNAME=	execline
5
PORTVERSION=	1.08
5
PORTVERSION=	2.0.2.0
6
CATEGORIES=	lang shells
6
CATEGORIES=	lang shells
7
MASTER_SITES=	http://www.skarnet.org/software/${PORTNAME}/
7
MASTER_SITES=	http://www.skarnet.org/software/${PORTNAME}/
8
8
9
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	colin@heliocat.net
10
COMMENT=	Lightweight non-interactive sh(1)-like scripting language
10
COMMENT=	Lightweight non-interactive sh(1)-like scripting language
11
11
12
BUILD_DEPENDS=	${LOCALBASE}/lib/skalibs/libstddjb.a:${PORTSDIR}/devel/skalibs
12
LICENSE=	ISCL
13
13
14
WRKSRC=		${WRKDIR}/admin/${DISTNAME}
14
BUILD_DEPENDS=	skalibs>=2.2.1.0:${PORTSDIR}/devel/skalibs
15
15
16
DOCS=		package/CHANGES package/README package/THANKS package/TODO \
16
USES=		${GMAKE}
17
		doc/*.html
18
17
19
OPTIONS_DEFINE=	DOCS EXAMPLES
18
DOCS=		AUTHORS COPYING INSTALL README doc/*.html
20
19
20
USE_LDCONFIG=yes
21
CONFIGURE_ARGS+=--prefix=${PREFIX} \
22
        --with-default-path=${PREFIX}/bin:/usr/bin:/bin \
23
        --with-lib=${PREFIX}/lib/skalibs \
24
        --with-include=${PREFIX}/include \
25
        --enable-shared
26
21
do-configure:
27
do-configure:
22
	${ECHO_CMD} "FreeBSD"	> ${WRKSRC}/src/sys/systype
28
	cd ${WRKSRC} && CC=${CC} ./configure ${CONFIGURE_ARGS}
23
	${ECHO_CMD} "${LOCALBASE}/include/skalibs" \
24
		> ${WRKSRC}/conf-compile/import
25
	${ECHO_CMD} "${LOCALBASE}/lib/skalibs" \
26
		>> ${WRKSRC}/conf-compile/import
27
	${REINPLACE_CMD} -e 's|superstrip1|#superstrip1|g' \
28
		${WRKSRC}/conf-compile/conf-stripbins
29
	@${REINPLACE_CMD} 's|gcc|${CC}|; s|-O2.*|${CFLAGS}|' \
30
		${WRKSRC}/conf-compile/conf-cc \
31
		${WRKSRC}/conf-compile/conf-ld
32
29
33
do-build:
30
post-install:
34
	(cd ${WRKSRC} && package/compile)
35
36
do-install:
37
	${INSTALL_PROGRAM} ${WRKSRC}/command/* ${STAGEDIR}${PREFIX}/bin
38
	@${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
39
	${INSTALL_DATA} ${WRKSRC}/include/* \
40
		${STAGEDIR}${PREFIX}/include/${PORTNAME}
41
	${INSTALL_DATA} ${WRKSRC}/library/* ${STAGEDIR}${PREFIX}/lib
42
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
43
	${INSTALL_DATA} ${WRKSRC}/etc/* ${STAGEDIR}${EXAMPLESDIR}
44
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
31
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
45
	(cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR})
32
	cd ${WRKSRC} && ${INSTALL_MAN} ${DOCS} ${STAGEDIR}${DOCSDIR}
46
33
47
.include <bsd.port.mk>
34
.include <bsd.port.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (execline-1.08.tar.gz) = 6b721bfc2d486e64fa5f0309496a80928ca04d44c647df2aba0c8bbc684ea03b
1
SHA256 (execline-2.0.2.0.tar.gz) = 73aa2db6e253f1821361033028d9b77733b799f93e4d7d477e4230534d7fce32
2
SIZE (execline-1.08.tar.gz) = 69685
2
SIZE (execline-2.0.2.0.tar.gz) = 73327
(-)pkg-plist (-20 / +25 lines)
Lines 8-32 Link Here
8
bin/elglob
8
bin/elglob
9
bin/emptyenv
9
bin/emptyenv
10
bin/exec
10
bin/exec
11
bin/execline
12
bin/execlineb
11
bin/execlineb
13
bin/exit
12
bin/exit
14
bin/export
13
bin/export
14
bin/fdblock
15
bin/fdclose
15
bin/fdclose
16
bin/fdmove
16
bin/fdmove
17
bin/fdreserve
17
bin/fdreserve
18
bin/for
18
bin/fdswap
19
bin/forbacktick
19
bin/forbacktickx
20
bin/foreground
20
bin/foreground
21
bin/forx
21
bin/getpid
22
bin/getpid
22
bin/heredoc
23
bin/heredoc
23
bin/homeof
24
bin/homeof
24
bin/if
25
bin/if
26
bin/ifelse
27
bin/ifte
25
bin/ifthenelse
28
bin/ifthenelse
26
bin/ifte
27
bin/import
29
bin/import
28
bin/importas
30
bin/importas
29
bin/loopwhile
31
bin/loopwhilex
32
bin/multidefine
30
bin/multisubstitute
33
bin/multisubstitute
31
bin/pipeline
34
bin/pipeline
32
bin/piperw
35
bin/piperw
Lines 37-51 Link Here
37
bin/umask
40
bin/umask
38
bin/unexport
41
bin/unexport
39
bin/wait
42
bin/wait
43
include/execline/config.h
40
include/execline/execline.h
44
include/execline/execline.h
41
include/execline/exls1.h
45
lib/execline/libexecline.a
42
lib/libexecline.a
46
lib/libexecline.so
43
lib/libexlp.a
47
lib/libexecline.so.2
44
lib/libexls1.a
48
lib/libexecline.so.2.0
45
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
49
lib/libexecline.so.2.0.2
50
lib/libexecline.so.2.0.2.0
51
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
52
%%PORTDOCS%%%%DOCSDIR%%/COPYING
53
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
46
%%PORTDOCS%%%%DOCSDIR%%/README
54
%%PORTDOCS%%%%DOCSDIR%%/README
47
%%PORTDOCS%%%%DOCSDIR%%/THANKS
48
%%PORTDOCS%%%%DOCSDIR%%/TODO
49
%%PORTDOCS%%%%DOCSDIR%%/background.html
55
%%PORTDOCS%%%%DOCSDIR%%/background.html
50
%%PORTDOCS%%%%DOCSDIR%%/backtick.html
56
%%PORTDOCS%%%%DOCSDIR%%/backtick.html
51
%%PORTDOCS%%%%DOCSDIR%%/cd.html
57
%%PORTDOCS%%%%DOCSDIR%%/cd.html
Lines 63-91 Link Here
63
%%PORTDOCS%%%%DOCSDIR%%/exec.html
69
%%PORTDOCS%%%%DOCSDIR%%/exec.html
64
%%PORTDOCS%%%%DOCSDIR%%/execline-shell.html
70
%%PORTDOCS%%%%DOCSDIR%%/execline-shell.html
65
%%PORTDOCS%%%%DOCSDIR%%/execline-startup.html
71
%%PORTDOCS%%%%DOCSDIR%%/execline-startup.html
66
%%PORTDOCS%%%%DOCSDIR%%/execline.html
67
%%PORTDOCS%%%%DOCSDIR%%/execlineb.html
72
%%PORTDOCS%%%%DOCSDIR%%/execlineb.html
68
%%PORTDOCS%%%%DOCSDIR%%/exit.html
73
%%PORTDOCS%%%%DOCSDIR%%/exit.html
69
%%PORTDOCS%%%%DOCSDIR%%/export.html
74
%%PORTDOCS%%%%DOCSDIR%%/export.html
75
%%PORTDOCS%%%%DOCSDIR%%/fdblock.html
70
%%PORTDOCS%%%%DOCSDIR%%/fdclose.html
76
%%PORTDOCS%%%%DOCSDIR%%/fdclose.html
71
%%PORTDOCS%%%%DOCSDIR%%/fdmove.html
77
%%PORTDOCS%%%%DOCSDIR%%/fdmove.html
72
%%PORTDOCS%%%%DOCSDIR%%/fdreserve.html
78
%%PORTDOCS%%%%DOCSDIR%%/fdreserve.html
73
%%PORTDOCS%%%%DOCSDIR%%/for.html
79
%%PORTDOCS%%%%DOCSDIR%%/fdswap.html
74
%%PORTDOCS%%%%DOCSDIR%%/forbacktick.html
80
%%PORTDOCS%%%%DOCSDIR%%/forbacktickx.html
75
%%PORTDOCS%%%%DOCSDIR%%/foreground.html
81
%%PORTDOCS%%%%DOCSDIR%%/foreground.html
82
%%PORTDOCS%%%%DOCSDIR%%/forx.html
76
%%PORTDOCS%%%%DOCSDIR%%/getpid.html
83
%%PORTDOCS%%%%DOCSDIR%%/getpid.html
77
%%PORTDOCS%%%%DOCSDIR%%/grammar.html
84
%%PORTDOCS%%%%DOCSDIR%%/grammar.html
78
%%PORTDOCS%%%%DOCSDIR%%/heredoc.html
85
%%PORTDOCS%%%%DOCSDIR%%/heredoc.html
79
%%PORTDOCS%%%%DOCSDIR%%/homeof.html
86
%%PORTDOCS%%%%DOCSDIR%%/homeof.html
80
%%PORTDOCS%%%%DOCSDIR%%/if.html
87
%%PORTDOCS%%%%DOCSDIR%%/if.html
88
%%PORTDOCS%%%%DOCSDIR%%/ifelse.html
81
%%PORTDOCS%%%%DOCSDIR%%/ifte.html
89
%%PORTDOCS%%%%DOCSDIR%%/ifte.html
82
%%PORTDOCS%%%%DOCSDIR%%/ifthenelse.html
90
%%PORTDOCS%%%%DOCSDIR%%/ifthenelse.html
83
%%PORTDOCS%%%%DOCSDIR%%/import.html
91
%%PORTDOCS%%%%DOCSDIR%%/import.html
84
%%PORTDOCS%%%%DOCSDIR%%/importas.html
92
%%PORTDOCS%%%%DOCSDIR%%/importas.html
85
%%PORTDOCS%%%%DOCSDIR%%/index.html
93
%%PORTDOCS%%%%DOCSDIR%%/index.html
86
%%PORTDOCS%%%%DOCSDIR%%/install.html
94
%%PORTDOCS%%%%DOCSDIR%%/loopwhilex.html
87
%%PORTDOCS%%%%DOCSDIR%%/libexecline.html
95
%%PORTDOCS%%%%DOCSDIR%%/multidefine.html
88
%%PORTDOCS%%%%DOCSDIR%%/loopwhile.html
89
%%PORTDOCS%%%%DOCSDIR%%/multisubstitute.html
96
%%PORTDOCS%%%%DOCSDIR%%/multisubstitute.html
90
%%PORTDOCS%%%%DOCSDIR%%/pipeline.html
97
%%PORTDOCS%%%%DOCSDIR%%/pipeline.html
91
%%PORTDOCS%%%%DOCSDIR%%/piperw.html
98
%%PORTDOCS%%%%DOCSDIR%%/piperw.html
Lines 97-101 Link Here
97
%%PORTDOCS%%%%DOCSDIR%%/unexport.html
104
%%PORTDOCS%%%%DOCSDIR%%/unexport.html
98
%%PORTDOCS%%%%DOCSDIR%%/upgrade.html
105
%%PORTDOCS%%%%DOCSDIR%%/upgrade.html
99
%%PORTDOCS%%%%DOCSDIR%%/wait.html
106
%%PORTDOCS%%%%DOCSDIR%%/wait.html
100
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/execline-shell
101
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/execline-startup

Return to bug 197234