2016-07-09 08:38:30 +02:00
|
|
|
# $NetBSD: Makefile,v 1.28 2016/07/09 06:39:15 wiz Exp $
|
2001-05-30 11:44:53 +02:00
|
|
|
#
|
|
|
|
|
2005-05-30 07:49:15 +02:00
|
|
|
DISTNAME= validate-1.2.2
|
2003-11-12 11:43:18 +01:00
|
|
|
PKGNAME= wdg-${DISTNAME}
|
2016-07-09 08:38:30 +02:00
|
|
|
PKGREVISION= 5
|
2001-05-30 11:44:53 +02:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://www.htmlhelp.com/tools/validator/offline/
|
2005-05-30 07:49:15 +02:00
|
|
|
DISTFILES= ${DISTNAME} wdg-sgml-lib-1.1.4.tar.gz README
|
2001-05-30 11:44:53 +02:00
|
|
|
|
|
|
|
MAINTAINER= norm@sandbox.org.uk
|
|
|
|
HOMEPAGE= http://www.htmlhelp.com/tools/validator/offline/
|
|
|
|
COMMENT= HTML validator from the Web Design Group
|
|
|
|
|
2008-06-20 03:09:05 +02:00
|
|
|
DEPENDS+= lq-sp>=1.3.4.5:../../textproc/lq-sp
|
2004-02-17 02:29:30 +01:00
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
2003-11-12 11:43:18 +01:00
|
|
|
DIST_SUBDIR= validate
|
2005-05-30 07:49:15 +02:00
|
|
|
EXTRACT_ONLY= wdg-sgml-lib-1.1.4.tar.gz
|
2006-07-27 20:48:02 +02:00
|
|
|
SITES.wdg-sgml-lib-1.1.4.tar.gz= http://www.htmlhelp.com/tools/validator/src/
|
2001-05-30 11:44:53 +02:00
|
|
|
|
2008-05-26 04:13:14 +02:00
|
|
|
USE_TOOLS+= perl:run pax
|
2004-02-17 02:58:08 +01:00
|
|
|
REPLACE_PERL= validate
|
|
|
|
NO_BUILD= YES
|
|
|
|
|
|
|
|
SUBST_CLASSES+= paths
|
2006-04-22 11:22:05 +02:00
|
|
|
SUBST_MESSAGE.paths= Fixing hardcoded paths.
|
2004-02-17 02:58:08 +01:00
|
|
|
SUBST_STAGE.paths= post-patch
|
|
|
|
SUBST_FILES.paths= validate
|
2013-04-06 23:07:31 +02:00
|
|
|
SUBST_SED.paths= -e 's,/usr/local/share,${PREFIX}/share,g'
|
|
|
|
SUBST_SED.paths+= -e 's,/usr/local/bin/lq-nsgmls,${LOCALBASE}/bin/lq-nsgmls,g'
|
2001-05-30 11:44:53 +02:00
|
|
|
|
2008-06-20 03:09:05 +02:00
|
|
|
INSTALLATION_DIRS+= bin share/doc share/wdg/sgml-lib
|
2004-02-17 02:29:30 +01:00
|
|
|
|
2001-05-30 11:44:53 +02:00
|
|
|
post-extract:
|
2004-02-17 02:58:08 +01:00
|
|
|
${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}/validate
|
2001-05-30 15:38:52 +02:00
|
|
|
${CP} ${DISTDIR}/${DIST_SUBDIR}/README ${WRKSRC}/README
|
2001-05-30 11:44:53 +02:00
|
|
|
|
|
|
|
do-install:
|
2008-06-20 03:09:05 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/validate ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/validate.README
|
|
|
|
cd ${WRKSRC}/wdg/sgml-lib && pax -rw * ${DESTDIR}${PREFIX}/share/wdg/sgml-lib/
|
2001-05-30 11:44:53 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|