- add NEED_VERSION, HOMEPAGE
- clean up FAKE install - remove FreeBSDisms - miscellaneous house cleaning parts submitted by maintainer (seanc@cginfo.sk.ca), ok kevlo@
This commit is contained in:
parent
c030d29ba8
commit
12d082f208
@ -1,28 +1,26 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2000/03/13 05:15:02 kevlo Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2000/07/11 15:39:59 naddy Exp $
|
||||
|
||||
DISTNAME= weblint-1.020
|
||||
CATEGORIES= www
|
||||
NEED_VERSION= 1.312
|
||||
|
||||
HOMEPAGE= http://www.weblint.org/
|
||||
|
||||
MAINTAINER= seanc@cginfo.sk.ca
|
||||
|
||||
MASTER_SITES= ftp://ftp.weblint.org/pub/weblint/ \
|
||||
http://www.perl.com/CPAN/authors/id/NEILB/
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
FAKE= Yes
|
||||
FAKE_FLAGS= prefix=${DESTDIR}${PREFIX}
|
||||
NO_BUILD= Yes
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@echo "==> Installing weblint docs in ${PREFIX}/share/doc/weblint"
|
||||
@mkdir -p ${PREFIX}/share/doc/weblint && ${CHMOD} a+rx ${PREFIX}/share/doc/weblint
|
||||
@${INSTALL_DATA} ${WRKSRC}/weblint.ps ${PREFIX}/share/doc/weblint
|
||||
@${INSTALL_DATA} ${WRKSRC}/weblintrc ${PREFIX}/share/doc/weblint
|
||||
@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/weblint
|
||||
.endif
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/weblint ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/weblint.1 ${PREFIX}/man/man1
|
||||
${INSTALL_DATA} ${WRKSRC}/weblintrc ${PREFIX}/share/examples
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,13 +0,0 @@
|
||||
--- Makefile.orig Sat Aug 16 02:10:21 1997
|
||||
+++ Makefile Sun Mar 12 21:15:24 2000
|
||||
@@ -5,8 +5,8 @@ VERSION = 1.020
|
||||
|
||||
SHELL = /bin/sh
|
||||
|
||||
-BINDIR = /usr/local/bin
|
||||
-MANDIR = /usr/local/man/man1
|
||||
+BINDIR = $(PREFIX)/bin
|
||||
+MANDIR = $(PREFIX)/man/man1
|
||||
PSROFF = groff -Tps
|
||||
PSVIEW = ghostview
|
||||
RM = /bin/rm -f
|
11
www/weblint/patches/patch-weblint
Normal file
11
www/weblint/patches/patch-weblint
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-weblint,v 1.1 2000/07/11 15:40:00 naddy Exp $
|
||||
--- weblint.orig Tue Jul 11 16:29:33 2000
|
||||
+++ weblint Tue Jul 11 16:29:51 2000
|
||||
@@ -1,6 +1,4 @@
|
||||
-: # use perl -*- mode: Perl; -*-
|
||||
- eval 'exec perl -S $0 "$@"'
|
||||
- if $runnning_under_some_shell;
|
||||
+#!/usr/bin/perl
|
||||
|
||||
#
|
||||
# weblint - pick fluff off WWW pages (html).
|
@ -1 +1 @@
|
||||
a perl lint program for html
|
||||
perl lint program for html
|
||||
|
@ -2,4 +2,4 @@ Weblint is a syntax and style checker for HTML. It is a perl program
|
||||
that scans through web pages and "picks off fluff" much the way lint
|
||||
handles C programs.
|
||||
|
||||
Author's web page is http://www.weblint.org/
|
||||
Author's web page is ${HOMEPAGE}
|
||||
|
@ -1,6 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2000/07/11 15:40:01 naddy Exp $
|
||||
bin/weblint
|
||||
man/man1/weblint.1
|
||||
share/doc/weblint/README
|
||||
share/doc/weblint/weblint.ps
|
||||
share/doc/weblint/weblintrc
|
||||
@dirrm share/doc/weblint
|
||||
share/examples/weblintrc
|
||||
|
Loading…
Reference in New Issue
Block a user