Upgrade to 0.4.5
- Forget do-install part - Use GMAKE - Add patch
This commit is contained in:
parent
ea9352678a
commit
029d1276f2
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2001/06/04 06:04:55 shell Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2001/06/23 04:37:24 shell Exp $
|
||||
|
||||
COMMENT= "on-the-fly HTML to WML conversion"
|
||||
|
||||
DISTNAME= html2wml-0.4.3
|
||||
DISTNAME= html2wml-0.4.5
|
||||
CATEGORIES= converters www perl5
|
||||
NEED_VERSION= 1.409
|
||||
NEED_VERSION= 1.417
|
||||
|
||||
MASTER_SITES= http://maddingue.free.fr/techie/download/Html2Wml/
|
||||
HOMEPAGE= http://maddingue.free.fr/techie/html2wml.html
|
||||
@ -18,26 +18,12 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
|
||||
PERL_MODULES= ${LOCALBASE}/libdata/perl5/site_perl
|
||||
BUILD_DEPENDS= ${PERL_MODULES}/LWP/UserAgent.pm::www/p5-libwww \
|
||||
${PERL_MODULES}/${MACHINE_ARCH}-openbsd/HTML/Parser.pm::www/p5-HTML-Parser \
|
||||
${PERL_MODULES}/${MACHINE_ARCH}-openbsd/XML/Parser.pm::textproc/p5-XML-Parser \
|
||||
${PERL_MODULES}/URI/URL.pm::www/p5-URI \
|
||||
${PERL_MODULES}/Text/Template.pm::textproc/p5-Text-Template
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
NO_BUILD= Yes
|
||||
NO_CONFIGURE= Yes
|
||||
|
||||
DOC= NEWS NOTES README TODO
|
||||
DOCDIR= ${PREFIX}/share/doc/html2wml
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${DOCDIR} ${DOCDIR}/t ${DOCDIR}/t/samples
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/html2wml.man ${PREFIX}/man/man1/html2wml.1
|
||||
.for i in ${DOC}
|
||||
${INSTALL_DATA} ${WRKSRC}/$i ${DOCDIR}
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/t/*.html ${DOCDIR}/t
|
||||
${INSTALL_DATA} ${WRKSRC}/t/samples/*.* ${DOCDIR}/t/samples
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/html2wml.cgi ${PREFIX}/bin/html2wml
|
||||
NO_BUILD= Yes
|
||||
NO_CONFIGURE= Yes
|
||||
USE_GMAKE= Yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (html2wml-0.4.3.tar.gz) = 83efd104d662e874d93beb0a07e9b7cf
|
||||
RMD160 (html2wml-0.4.3.tar.gz) = f1e47fe23a895742e6abe9112e25999918ff92be
|
||||
SHA1 (html2wml-0.4.3.tar.gz) = 24aafaf1f58ab024bba7a5679a6588464c7277ec
|
||||
MD5 (html2wml-0.4.5.tar.gz) = d67e7001f08750fbeb1d1c76c304bba7
|
||||
RMD160 (html2wml-0.4.5.tar.gz) = c9c51b81974ea96c7dd0abb5d6e681344c2475ab
|
||||
SHA1 (html2wml-0.4.5.tar.gz) = 7fffd976a632386bc502748aab3424a840b118cf
|
||||
|
36
converters/html2wml/patches/patch-Makefile
Normal file
36
converters/html2wml/patches/patch-Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1 2001/06/23 04:37:25 shell Exp $
|
||||
--- Makefile.orig Tue Jun 19 10:14:08 2001
|
||||
+++ Makefile Sat Jun 23 09:28:48 2001
|
||||
@@ -1,8 +1,7 @@
|
||||
# =========================================================================== #
|
||||
# Configuration
|
||||
|
||||
-PREFIX=/usr/local
|
||||
-CGIDIR=/home/httpd/cgi-bin
|
||||
+CGIDIR=${PREFIX}
|
||||
|
||||
# =========================================================================== #
|
||||
# Do not edit the following unless you're sure about what're you're doing
|
||||
@@ -12,8 +11,9 @@
|
||||
|
||||
# Standard subdirectories locations
|
||||
BINDIR=$(PREFIX)/bin
|
||||
-MANDIR=$(PREFIX)/man
|
||||
-DOCDIR=$(PREFIX)/doc/html2wml-$(VERSION)
|
||||
+DATADIR=$(PREFIX)/share
|
||||
+MANDIR=$(DATADIR)/man
|
||||
+DOCDIR=$(DATADIR)/doc/html2wml
|
||||
|
||||
MAN1DIR=$(MANDIR)/man1
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
install -m 555 html2wml.cgi $(BINDIR)/html2wml
|
||||
install -m 444 doc/html2wml.man $(MAN1DIR)/html2wml.1
|
||||
install -m 444 ARTISTIC COPYING INSTALL NEWS NOTES README TODO ChangeLog $(DOCDIR)
|
||||
- make -C t/ install DOCDIR=$(DOCDIR)
|
||||
- make -C doc/ install DOCDIR=$(DOCDIR)
|
||||
+ gmake -C t/ install DOCDIR=$(DOCDIR)
|
||||
+ gmake -C doc/ install DOCDIR=$(DOCDIR)
|
||||
|
||||
installcgi: check-config
|
||||
install -m 555 html2wml.cgi $(CGIDIR)
|
@ -1,10 +1,16 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2001/06/04 06:04:55 shell Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.4 2001/06/23 04:37:25 shell Exp $
|
||||
bin/html2wml
|
||||
man/man1/html2wml.1
|
||||
share/doc/html2wml/ARTISTIC
|
||||
share/doc/html2wml/COPYING
|
||||
share/doc/html2wml/ChangeLog
|
||||
share/doc/html2wml/INSTALL
|
||||
share/doc/html2wml/NEWS
|
||||
share/doc/html2wml/NOTES
|
||||
share/doc/html2wml/README
|
||||
share/doc/html2wml/TODO
|
||||
share/doc/html2wml/readme.html
|
||||
share/doc/html2wml/readme.pdf
|
||||
share/doc/html2wml/readme.pod
|
||||
share/doc/html2wml/t/form.html
|
||||
share/doc/html2wml/t/samples/inc_para.wml
|
||||
share/doc/html2wml/t/samples/inc_prev.wml
|
||||
@ -12,13 +18,18 @@ share/doc/html2wml/t/samples/mix1.html
|
||||
share/doc/html2wml/t/samples/mix2.html
|
||||
share/doc/html2wml/t/samples/struct.html
|
||||
share/doc/html2wml/t/samples/t-a.html
|
||||
share/doc/html2wml/t/samples/t-anchor.html
|
||||
share/doc/html2wml/t/samples/t-br.html
|
||||
share/doc/html2wml/t/samples/t-double-tags.html
|
||||
share/doc/html2wml/t/samples/t-extcharset.html
|
||||
share/doc/html2wml/t/samples/t-frames.html
|
||||
share/doc/html2wml/t/samples/t-img.html
|
||||
share/doc/html2wml/t/samples/t-include.html
|
||||
share/doc/html2wml/t/samples/t-nest.html
|
||||
share/doc/html2wml/t/samples/t-non-ISO-chars.html
|
||||
share/doc/html2wml/t/samples/t-no-tag.html
|
||||
share/doc/html2wml/t/samples/t-special-chars.html
|
||||
share/doc/html2wml/t/samples/t-urls.html
|
||||
share/doc/html2wml/t/samples/xtreme.html
|
||||
share/man/man1/html2wml.1
|
||||
@dirrm share/doc/html2wml/t/samples
|
||||
@dirrm share/doc/html2wml/t
|
||||
@dirrm share/doc/html2wml
|
||||
|
Loading…
Reference in New Issue
Block a user