2005-05-03 16:21:43 +02:00
|
|
|
# $NetBSD: Makefile,v 1.21 2005/05/03 14:21:43 jlam Exp $
|
2000-09-04 23:41:50 +02:00
|
|
|
#
|
|
|
|
|
2004-09-24 02:58:30 +02:00
|
|
|
DISTNAME= wml-2.0.9
|
2004-10-03 02:12:51 +02:00
|
|
|
PKGREVISION= 1
|
2000-09-04 23:41:50 +02:00
|
|
|
CATEGORIES= www perl5
|
2004-09-24 02:58:30 +02:00
|
|
|
MASTER_SITES= http://thewml.org/distrib/
|
2000-09-04 23:41:50 +02:00
|
|
|
|
|
|
|
MAINTAINER= kim@tac.nyc.ny.us
|
2004-09-24 02:58:30 +02:00
|
|
|
HOMEPAGE= http://thewml.org/
|
2001-02-17 18:21:28 +01:00
|
|
|
COMMENT= Web Meta Language
|
2000-09-04 23:41:50 +02:00
|
|
|
|
|
|
|
DEPENDS+= p5-Bit-Vector>=5.2:../../devel/p5-Bit-Vector
|
|
|
|
DEPENDS+= p5-Image-Size>=2.6:../../graphics/p5-Image-Size
|
|
|
|
DEPENDS+= p5-Term-ReadKey>=2.11:../../devel/p5-Term-ReadKey
|
2001-09-28 01:17:41 +02:00
|
|
|
#DEPENDS+= tidy-[0-9]*:../../www/tidy
|
2000-09-04 23:41:50 +02:00
|
|
|
|
2004-09-24 02:58:30 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2000-09-04 23:41:50 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-perl=${PERL5} \
|
|
|
|
--with-openworld \
|
|
|
|
--with-tidy=${LOCALBASE}/bin/tidy
|
|
|
|
|
2003-02-17 16:27:58 +01:00
|
|
|
TEST_TARGET= test
|
2001-12-25 20:25:28 +01:00
|
|
|
|
2003-12-28 01:29:02 +01:00
|
|
|
INCOMPAT_CURSES= NetBSD-1.5* NetBSD-1.6[-_.]*
|
2003-12-29 19:22:47 +01:00
|
|
|
INCOMPAT_CURSES+= NetBSD-1.6[A-Z]-* NetBSD-1.6Z[A-C]*
|
2001-12-25 20:25:28 +01:00
|
|
|
|
2005-05-03 16:21:43 +02:00
|
|
|
PERL_ARCHNAME_cmd= eval `${PERL5} -V:archname 2>/dev/null`; \
|
2005-04-29 01:37:31 +02:00
|
|
|
${ECHO} $${archname}
|
|
|
|
PLIST_SUBST+= PERL_ARCHNAME=${PERL_ARCHNAME_cmd:sh}
|
2004-09-24 02:58:30 +02:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
for i in \
|
|
|
|
wml_aux/iselect \
|
|
|
|
wml_backend/p3_eperl \
|
|
|
|
wml_backend/p4_gm4 \
|
|
|
|
wml_common/gd \
|
|
|
|
; \
|
|
|
|
do \
|
|
|
|
cd ${WRKSRC}/$$i && ${AUTORECONF} --force || exit 1; \
|
|
|
|
done
|
|
|
|
|
2000-09-04 23:41:50 +02:00
|
|
|
post-install:
|
|
|
|
cd ${PREFIX}/man/cat1 ; \
|
2005-03-21 20:26:03 +01:00
|
|
|
for i in wml_aux_tidy wml_aux_txt2html wml_p4_gm4 ; \
|
2000-09-04 23:41:50 +02:00
|
|
|
do \
|
|
|
|
${MV} $${i}.1 $${i}.0 ; \
|
|
|
|
done
|
|
|
|
cd ${PREFIX}/man/cat7 ; \
|
|
|
|
for i in wml_barebone wml_std_css1 wml_std_css2 wml_std_csspos \
|
|
|
|
wml_std_html20 wml_std_html32 wml_std_html40 wml_std_html401 \
|
|
|
|
wml_std_wai10 wml_std_xhtml10 ; \
|
|
|
|
do \
|
|
|
|
${MV} $${i}.7 $${i}.0 ; \
|
|
|
|
done
|
|
|
|
|
2004-04-25 08:10:09 +02:00
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
|
|
.include "../../lang/perl5/buildlink3.mk"
|
2004-09-24 02:58:30 +02:00
|
|
|
.include "../../mk/automake.mk"
|
2000-09-04 23:41:50 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|