openbsd-ports/textproc/validate/Makefile

35 lines
830 B
Makefile

# $OpenBSD: Makefile,v 1.7 2007/09/15 20:59:42 merdely 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>