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

(-)autoconf257/Makefile (-8 / +23 lines)
Lines 20-35 Link Here
20
		help2man:${PORTSDIR}/misc/help2man
20
		help2man:${PORTSDIR}/misc/help2man
21
RUN_DEPENDS=	gm4:${PORTSDIR}/devel/m4
21
RUN_DEPENDS=	gm4:${PORTSDIR}/devel/m4
22
22
23
BROKEN=	Work is in progress right now.
24
25
USE_BZIP2=	yes
23
USE_BZIP2=	yes
26
USE_GMAKE=	yes
24
USE_GMAKE=	yes
27
USE_PERL5=	yes
25
USE_PERL5=	yes
26
USE_REINPLACE=	yes
27
MAN1_PAGES=	autoconf autom4te autoscan config.guess ifnames autoheader \
28
	    	autoreconf autoupdate config.sub
29
MAN1=		${MAN1_PAGES:S/$/${PROGRAM_SUFFIX}.1/g}
28
30
31
PROGRAM_SUFFIX= 257
29
GNU_CONFIGURE=	yes
32
GNU_CONFIGURE=	yes
30
CONFIGURE_ENV+=	CONFIG_SHELL=${SH}
33
CONFIGURE_ENV+=	CONFIG_SHELL=${SH}
31
CONFIGURE_ENV+=	M4=${LOCALBASE}/bin/gm4
34
CONFIGURE_ENV+=	M4=${LOCALBASE}/bin/gm4
32
CONFIGURE_ARGS=	--program-suffix=257
35
CONFIGURE_ARGS=	--program-suffix=${PROGRAM_SUFFIX}
36
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
33
37
34
.if ${PORTNAME} == "autoconf"
38
.if ${PORTNAME} == "autoconf"
35
.if exists(${LOCALBASE}/bin/emacs)
39
.if exists(${LOCALBASE}/bin/emacs)
Lines 59-70 Link Here
59
	@${FALSE}
63
	@${FALSE}
60
.endif # defined(USE_AUTOCONF) || defined(USE_AUTOCONF_VER)
64
.endif # defined(USE_AUTOCONF) || defined(USE_AUTOCONF_VER)
61
65
66
post-patch:
67
	@(cd ${WRKSRC} && ${REINPLACE_CMD} -E 's,(PACKAGE=autoconf),\1${PROGRAM_SUFFIX},' configure)
68
	@(cd ${WRKSRC}/man && \
69
		for file in *.[1x]; do \
70
			${REINPLACE_CMD} -E 's,([^-]auto)(conf|make|reconf|update|header|scan),\1\2${PROGRAM_SUFFIX},g ; \
71
						s,(config\.guess|config\.sub|ifnames),\1${PROGRAM_SUFFIX},g' $$file ; \
72
		done)
73
	@(cd ${WRKSRC}/doc && \
74
		${RM} -f *.info && \
75
		${MV} autoconf.texi autoconf${PROGRAM_SUFFIX}.texi && \
76
		${MV} standards.texi standards${PROGRAM_SUFFIX}.texi && \
77
		${REINPLACE_CMD} -E 's,(autoconf)\),\1${PROGRAM_SUFFIX}\),g' autoconf${PROGRAM_SUFFIX}.texi && \
78
		${REINPLACE_CMD} -E 's,(autoconf|standards)\.(info|texi),\1${PROGRAM_SUFFIX}\.\2,g' Makefile.in)
79
62
post-install:
80
post-install:
63
	${MKDIR} ${PREFIX}/share/autoconf257
64
.for FILE in ${GENERIC_TOOLS}
81
.for FILE in ${GENERIC_TOOLS}
65
	${INSTALL_SCRIPT} ${WRKSRC}/config/${FILE} ${PREFIX}/share/autoconf257
82
	${INSTALL_SCRIPT} ${WRKSRC}/config/${FILE} ${PREFIX}/share/autoconf${PROGRAM_SUFFIX}
66
.endfor
83
.endfor
67
84
68
.include <bsd.port.pre.mk>
85
.include <bsd.port.mk>
69
#.include "${FILESDIR}/manpages.mk"
70
.include <bsd.port.post.mk>
(-)autoconf257/files/patch-autoconf.texi (+23 lines)
Line 0 Link Here
1
--- doc/autoconf.texi.orig	Tue Dec  3 07:16:32 2002
2
+++ doc/autoconf.texi	Sun Jun  1 19:17:51 2003
3
@@ -1,9 +1,9 @@
4
 \input texinfo @c -*-texinfo-*-
5
 @comment ========================================================
6
 @comment %**start of header
7
-@setfilename autoconf.info
8
+@setfilename autoconf257.info
9
 @include version.texi
10
-@settitle Autoconf
11
+@settitle Autoconf257
12
 @setchapternewpage odd
13
 @setcontentsaftertitlepage
14
 @finalout
15
@@ -97,7 +97,7 @@
16
 
17
 @dircategory GNU programming tools
18
 @direntry
19
-* Autoconf: (autoconf).         Create source code configuration scripts
20
+* Autoconf257: (autoconf257).         Create source code configuration scripts
21
 @end direntry
22
 
23
 @dircategory Individual utilities
(-)autoconf257/files/patch-standards.texi (+19 lines)
Line 0 Link Here
1
--- doc/standards.texi.orig	Sun Jun  1 18:52:56 2003
2
+++ doc/standards.texi	Sun Jun  1 18:54:00 2003
3
@@ -1,6 +1,6 @@
4
 \input texinfo @c -*-texinfo-*-
5
 @c %**start of header
6
-@setfilename standards.info
7
+@setfilename standards257.info
8
 @settitle GNU Coding Standards
9
 @c This date is automagically updated when you save this file:
10
 @set lastupdate November 23, 2002
11
@@ -8,7 +8,7 @@
12
 
13
 @dircategory GNU organization
14
 @direntry
15
-* Standards: (standards).        GNU coding standards.
16
+* Standards257: (standards257).        GNU coding standards.
17
 @end direntry
18
 
19
 @c @setchapternewpage odd
(-)autoconf257/pkg-plist (-4 / +6 lines)
Lines 5-13 Link Here
5
bin/autoscan257
5
bin/autoscan257
6
bin/autoupdate257
6
bin/autoupdate257
7
bin/ifnames257
7
bin/ifnames257
8
info/autoconf.info
8
@unexec install-info --delete %D/info/autoconf257.info %D/info/dir
9
info/dir
9
@unexec install-info --delete %D/info/standards257.info %D/info/dir
10
info/standards.info
10
info/autoconf257.info
11
info/standards257.info
12
@exec install-info %D/info/autoconf257.info %D/info/dir
13
@exec install-info %D/info/standards257.info %D/info/dir
11
share/autoconf257/Autom4te/General.pm
14
share/autoconf257/Autom4te/General.pm
12
share/autoconf257/Autom4te/Struct.pm
15
share/autoconf257/Autom4te/Struct.pm
13
share/autoconf257/Autom4te/XFile.pm
16
share/autoconf257/Autom4te/XFile.pm
Lines 53-56 Link Here
53
@dirrm share/autoconf257/autoconf
56
@dirrm share/autoconf257/autoconf
54
@dirrm share/autoconf257/Autom4te
57
@dirrm share/autoconf257/Autom4te
55
@dirrm share/autoconf257
58
@dirrm share/autoconf257
56
@dirrm info

Return to bug 53236