Lines 1-57
Link Here
|
1 |
# Created by: ade@FreeBSD.org |
1 |
# Created by: ade@FreeBSD.org |
2 |
|
2 |
|
3 |
PORTNAME= autoconf |
3 |
PORTNAME= autoconf |
4 |
PORTVERSION= 2.69 |
4 |
PORTVERSION= 2.69 |
5 |
PORTREVISION= 3 |
5 |
PORTREVISION= 3 |
6 |
CATEGORIES= devel |
6 |
CATEGORIES= devel |
7 |
MASTER_SITES= GNU |
7 |
MASTER_SITES= GNU |
8 |
|
8 |
|
9 |
MAINTAINER= tijl@FreeBSD.org |
9 |
MAINTAINER= tijl@FreeBSD.org |
10 |
COMMENT= Automatically configure source code on many Un*x platforms |
10 |
COMMENT= Automatically configure source code on many Un*x platforms |
11 |
|
11 |
|
12 |
LICENSE= GPLv2+ GPLv3+ GFDL AUTOCONF_CONFIGURE_SCRIPT_EXCEPTION |
12 |
LICENSE= GPLv2+ GPLv3+ GFDL AUTOCONF_CONFIGURE_SCRIPT_EXCEPTION |
13 |
LICENSE_COMB= multi |
13 |
LICENSE_COMB= multi |
14 |
LICENSE_NAME_AUTOCONF_CONFIGURE_SCRIPT_EXCEPTION= AUTOCONF CONFIGURE SCRIPT EXCEPTION |
14 |
LICENSE_NAME_AUTOCONF_CONFIGURE_SCRIPT_EXCEPTION= AUTOCONF CONFIGURE SCRIPT EXCEPTION |
15 |
LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING |
15 |
LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING |
16 |
LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYINGv3 |
16 |
LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYINGv3 |
17 |
LICENSE_FILE_GFDL= ${WRKSRC}/doc/fdl.texi |
17 |
LICENSE_FILE_GFDL= ${WRKSRC}/doc/fdl.texi |
18 |
LICENSE_FILE_AUTOCONF_CONFIGURE_SCRIPT_EXCEPTION= ${WRKSRC}/COPYING.EXCEPTION |
18 |
LICENSE_FILE_AUTOCONF_CONFIGURE_SCRIPT_EXCEPTION= ${WRKSRC}/COPYING.EXCEPTION |
19 |
LICENSE_PERMS_AUTOCONF_CONFIGURE_SCRIPT_EXCEPTION= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept |
19 |
LICENSE_PERMS_AUTOCONF_CONFIGURE_SCRIPT_EXCEPTION= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept |
20 |
|
20 |
|
21 |
BUILD_DEPENDS= gm4:devel/m4 \ |
21 |
BUILD_DEPENDS= gm4:devel/m4 \ |
22 |
help2man:misc/help2man |
22 |
help2man:misc/help2man |
23 |
RUN_DEPENDS= gm4:devel/m4 \ |
23 |
RUN_DEPENDS= gm4:devel/m4 \ |
24 |
autoconf-wrapper:devel/autoconf-wrapper |
24 |
autoconf-wrapper:devel/autoconf-wrapper |
25 |
|
25 |
|
26 |
BUILD_VERSION= 2.69 |
26 |
BUILD_VERSION= 2.69 |
27 |
PLIST_SUB= BUILD_VERSION=${BUILD_VERSION} |
27 |
PLIST_SUB= BUILD_VERSION=${BUILD_VERSION} |
28 |
USES= gmake makeinfo perl5 tar:xz |
28 |
USES= gmake perl5 tar:xz |
29 |
INFO= autoconf |
|
|
30 |
|
29 |
|
31 |
GNU_CONFIGURE= yes |
30 |
GNU_CONFIGURE= yes |
32 |
CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4 AWK=${AWK} \ |
31 |
CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4 AWK=${AWK} \ |
33 |
ac_cv_prog_TEST_EMACS=no |
32 |
ac_cv_prog_TEST_EMACS=no |
34 |
CONFIGURE_ARGS= --program-suffix=-${BUILD_VERSION} --without-lispdir |
33 |
CONFIGURE_ARGS= --program-suffix=-${BUILD_VERSION} --without-lispdir |
35 |
|
34 |
|
36 |
GENERIC_TOOLS= config.guess config.sub elisp-comp install-sh mdate-sh missing |
35 |
GENERIC_TOOLS= config.guess config.sub elisp-comp install-sh mdate-sh missing |
37 |
GENERIC_LINKS= autoconf autoheader autom4te autoreconf autoscan autoupdate \ |
36 |
GENERIC_LINKS= autoconf autoheader autom4te autoreconf autoscan autoupdate \ |
38 |
ifnames |
37 |
ifnames |
39 |
|
38 |
|
|
|
39 |
OPTIONS_DEFINE= INFO |
40 |
OPTIONS_DEFAULT= INFO |
41 |
|
42 |
INFO_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-no-info |
43 |
INFO_INFO= autoconf |
44 |
INFO_USES= makeinfo |
45 |
|
40 |
NO_ARCH= yes |
46 |
NO_ARCH= yes |
41 |
|
47 |
|
42 |
post-patch: |
48 |
post-patch: |
43 |
@(cd ${WRKSRC}/man && \ |
49 |
@(cd ${WRKSRC}/man && \ |
44 |
for file in *.[1x]; do \ |
50 |
for file in *.[1x]; do \ |
45 |
${REINPLACE_CMD} -E 's,([^-]auto)(conf|make|reconf|update|header|scan),\1\2-${BUILD_VERSION},g ; \ |
51 |
${REINPLACE_CMD} -E 's,([^-]auto)(conf|make|reconf|update|header|scan),\1\2-${BUILD_VERSION},g ; \ |
46 |
s,(config\.guess|config\.sub|ifnames),\1-${BUILD_VERSION},g' $$file ; \ |
52 |
s,(config\.guess|config\.sub|ifnames),\1-${BUILD_VERSION},g' $$file ; \ |
47 |
done) |
53 |
done) |
48 |
@(cd ${WRKSRC}/doc && ${RM} *.info) |
54 |
@(cd ${WRKSRC}/doc && ${RM} *.info) |
49 |
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ |
55 |
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ |
50 |
's|@PACKAGE@$$|@PACKAGE@-@VERSION@|' |
56 |
's|@PACKAGE@$$|@PACKAGE@-@VERSION@|' |
51 |
|
57 |
|
52 |
post-install: |
58 |
post-install: |
53 |
.for FILE in ${GENERIC_TOOLS} |
59 |
.for FILE in ${GENERIC_TOOLS} |
54 |
${INSTALL_SCRIPT} ${WRKSRC}/build-aux/${FILE} ${STAGEDIR}${PREFIX}/share/autoconf-${BUILD_VERSION} |
60 |
${INSTALL_SCRIPT} ${WRKSRC}/build-aux/${FILE} ${STAGEDIR}${PREFIX}/share/autoconf-${BUILD_VERSION} |
55 |
.endfor |
61 |
.endfor |
56 |
|
62 |
|
57 |
.include <bsd.port.mk> |
63 |
.include <bsd.port.mk> |