summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/wdg-validate/Makefile13
-rw-r--r--www/wdg-validate/distinfo4
-rw-r--r--www/wdg-validate/patches/patch-aa8
3 files changed, 10 insertions, 15 deletions
diff --git a/www/wdg-validate/Makefile b/www/wdg-validate/Makefile
index 94d63cbacf0..eb89bb296ac 100644
--- a/www/wdg-validate/Makefile
+++ b/www/wdg-validate/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/05/30 13:38:52 abs Exp $
+# $NetBSD: Makefile,v 1.3 2001/11/28 23:59:29 jlam Exp $
#
DISTNAME= validate
@@ -16,17 +16,17 @@ DEPENDS+= lq-sp>=1.3.4.5:../../textproc/lq-sp
DIST_SUBDIR= wdg-validate
EXTRACT_ONLY= sgml-lib.tar.gz
-USE_PERL5= yes
-NO_BUILD= yes
+USE_BUILDLINK_ONLY= YES
+REPLACE_PERL= validate.netbsd
+NO_BUILD= YES
post-extract:
${CP} ${DISTDIR}/${DIST_SUBDIR}/validate ${WRKSRC}/validate.netbsd
${CP} ${DISTDIR}/${DIST_SUBDIR}/README ${WRKSRC}/README
do-configure:
- ${SED} -e 's:@PREFIX@:${PREFIX}:' \
- < ${WRKSRC}/validate.netbsd \
- > ${WRKSRC}/validate
+ ${SED} -e "s|@PREFIX@|${PREFIX}|g" \
+ ${WRKSRC}/validate.netbsd > ${WRKSRC}/validate
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/validate
@@ -34,4 +34,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/validate.README
${CP} -R ${WRKSRC}/lib/* ${PREFIX}/lib/validate
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/wdg-validate/distinfo b/www/wdg-validate/distinfo
index 138d566bfd2..62ad078452c 100644
--- a/www/wdg-validate/distinfo
+++ b/www/wdg-validate/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2001/05/30 13:38:52 abs Exp $
+$NetBSD: distinfo,v 1.3 2001/11/28 23:59:29 jlam Exp $
SHA1 (wdg-validate/validate) = c53ca1a208cfa3f7e401587a3279d870b2c881a4
Size (wdg-validate/validate) = 14520 bytes
@@ -6,4 +6,4 @@ SHA1 (wdg-validate/sgml-lib.tar.gz) = 57bc51940b873b66af5c585e1c5d314512bd55eb
Size (wdg-validate/sgml-lib.tar.gz) = 159465 bytes
SHA1 (wdg-validate/README) = 0d287e7b41d4c5cb26d22fc22300b229c28ae66a
Size (wdg-validate/README) = 2418 bytes
-SHA1 (patch-aa) = 0a8f9094930f16df61cba9622c9a4d97ef7f57f3
+SHA1 (patch-aa) = e9759bb7d3b949573a87687cc89ecdc3a8aabf61
diff --git a/www/wdg-validate/patches/patch-aa b/www/wdg-validate/patches/patch-aa
index 23df6e76683..f3611674353 100644
--- a/www/wdg-validate/patches/patch-aa
+++ b/www/wdg-validate/patches/patch-aa
@@ -1,13 +1,7 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/05/30 09:44:53 abs Exp $
+$NetBSD: patch-aa,v 1.2 2001/11/28 23:59:29 jlam Exp $
--- validate.netbsd.orig Wed May 30 00:53:44 2001
+++ validate.netbsd Wed May 30 00:56:20 2001
-@@ -1,4 +1,4 @@
--#!/usr/bin/perl
-+#!@PREFIX@/bin/perl
-
- #####################################################################
- #
@@ -39,10 +39,10 @@
my $tryHelp = qq{Try "validate --help" for more information.};