1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/www/wml/Makefile
Rong-En Fan 741aa71483 Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
2008-08-21 06:18:49 +00:00

67 lines
2.3 KiB
Makefile

# New ports collection makefile for: wml
# Date created: 09-Sep-1997
# Whom: Ralf S. Engelschall <rse@engelschall.com>
#
# $FreeBSD$
#
PORTNAME= wml
DISTVERSION= 2.1a2
PORTREVISION= 1
CATEGORIES= www lang
MASTER_SITES= http://thewml.org/distrib/ \
ftp://thewml.org/distrib/
MAINTAINER= ports@FreeBSD.org
COMMENT= Website META Language, webdesign toolkit for HTML generation
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
BUILD_DEPENDS= lynx:${PORTSDIR}/www/lynx
USE_PERL5= yes
CONFIGURE_ARGS= --with-perl=${PERL5} --with-catdir=man \
--prefix=${PREFIX}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" \
PERL_ARCH="${PERL_ARCH}"
GNU_CONFIGURE= yes
LIBTOOLFILES= wml_backend/p2_mp4h/configure
PLIST_SUB+= ARCH=${PERL_ARCH}
MAN1= wmd.1 wmd_missing.1 wmk.1 wml.1 wmb.1 wmu.1 \
wml_aux_freetable.1 wml_aux_htmlclean.1 wml_aux_htmlinfo.1 wml_aux_iselect.1 \
wml_aux_map2html.1 wml_aux_weblint.1 wml_p1_ipp.1 \
wml_p2_mp4h.1 wml_p3_eperl.1 wml_p5_divert.1 wml_p6_asubst.1 \
wml_p7_htmlfix.1 wml_p8_htmlstrip.1 wml_p9_slice.1 \
wml_aux_txt2html.1 wml_aux_tidy.1 wml_p4_gm4.1 \
wml_aux_linklint.1
MAN3= wml::all.3 wml::des::all.3 wml::des::gfont.3 \
wml::des::lowsrc.3 wml::des::imgdot.3 wml::des::imgbg.3 \
wml::des::navbar.3 wml::des::preload.3 wml::des::rollover.3 \
wml::des::space.3 wml::des::typography.3 wml::fmt::all.3 \
wml::fmt::isolatin.3 wml::fmt::pod.3 wml::fmt::sdf.3 \
wml::fmt::text.3 wml::fmt::url.3 wml::fmt::verbatim.3 \
wml::fmt::xtable.3 wml::imp::all.3 wml::imp::csmap.3 \
wml::imp::fsview.3 wml::imp::generic.3 wml::std::all.3 \
wml::std::box.3 wml::std::case.3 wml::std::grid.3 \
wml::std::label.3 wml::std::href.3 wml::std::lang.3 \
wml::std::logo.3 wml::std::info.3 wml::std::page.3 \
wml::std::tags.3 wml::std::toc.3 wml::sup::all.3 \
wml::sup::hextriple.3 wml::mod::MakeMaker.3 wml::mod::all.3 \
wml::mod::version.3 wml::sup::path.3 wml::sys::all.3 \
wml::sys::bootp3.3 wml::sys::bootp4.3 wml::sys::compat1.3
MAN7= wml_barebone.7 \
wml_std_css1.7 wml_std_css2.7 wml_std_csspos.7 \
wml_std_html20.7 wml_std_html32.7 wml_std_html40.7 \
wml_std_html401.7 wml_std_wai10.7 wml_std_xhtml10.7 \
wml_intro.7 wml_macros.7 wml_tutorial.7 wml_faq.7 wml_tags.7
post-build:
@${ECHO_MSG} "===> Use 'make test' to run a quick test suite."
test:
@cd ${WRKSRC} && ${MAKE} test
.include <bsd.port.mk>