openbsd-ports/textproc/validate/Makefile

35 lines
830 B
Makefile

# $OpenBSD: Makefile,v 1.6 2006/04/14 22:20:08 naddy Exp $
COMMENT= "HTML, XHTML validator"
DISTNAME= validate-1.2.2
PKGNAME= ${DISTNAME}p0
CATEGORIES= textproc
HOMEPAGE= http://www.htmlhelp.com/tools/validator/offline/
MAINTAINER= Gerardo Santana Gomez Garrido <gerardo.santana@gmail.com>
# Perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX=
EXTRACT_CASES= *) cp ${FULLDISTDIR}/$$archive ${WRKDIST}/validate ;;
RUN_DEPENDS= :lq-sp-*:textproc/lq-sp \
:wdg-sgml-lib-*:textproc/wdg-sgml-lib
WRKDIST= ${WRKDIR}
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/validate ${PREFIX}/bin/
perl -pi -e 's:%%LOCALBASE%%:${LOCALBASE}:g' ${PREFIX}/bin/validate
.include <bsd.port.mk>