diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-04-27 09:11:45 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-04-27 09:11:45 +0000 |
commit | 78278ce203f9a253ccdb1744b5cc5b32928aede5 (patch) | |
tree | 565f43cb712c5486f2223476f200eeec0fd4a71a /www | |
parent | 454bf546c7cfde865c21aebd33268b2eed5ca296 (diff) | |
download | ports-78278ce203f9a253ccdb1744b5cc5b32928aede5.tar.gz ports-78278ce203f9a253ccdb1744b5cc5b32928aede5.zip |
- Use PLIST_FILES/PORTDOCS, MAKE_ARGS
- Note that the cgi-script isn't installed atm
Notes
Notes:
svn path=/head/; revision=134240
Diffstat (limited to 'www')
-rw-r--r-- | www/html2wml/Makefile | 5 | ||||
-rw-r--r-- | www/html2wml/files/patch-aa | 19 | ||||
-rw-r--r-- | www/html2wml/pkg-plist | 32 |
3 files changed, 5 insertions, 51 deletions
diff --git a/www/html2wml/Makefile b/www/html2wml/Makefile index d677ac71d11b..bf1d9ab3f7d3 100644 --- a/www/html2wml/Makefile +++ b/www/html2wml/Makefile @@ -18,8 +18,13 @@ RUN_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \ ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser USE_PERL5= yes +MAKE_ARGS= PREFIX=${PREFIX} DOCDIR=${DOCDIR} +PLIST_FILES= bin/html2wml MAN1= html2wml.1 +.if !defined(NOPORTDOCS) +PORTDOCS= * +.endif do-build: cd ${BUILD_WRKSRC}/doc; \ diff --git a/www/html2wml/files/patch-aa b/www/html2wml/files/patch-aa index 104a220b40e3..0505fa84fa73 100644 --- a/www/html2wml/files/patch-aa +++ b/www/html2wml/files/patch-aa @@ -1,24 +1,5 @@ --- Makefile.orig Sun Oct 26 16:23:22 2003 +++ Makefile Thu Nov 20 01:44:55 2003 -@@ -1,7 +1,7 @@ - # =========================================================================== # - # Configuration --PREFIX=/usr/local --CGIDIR=/home/httpd/cgi-bin -+PREFIX?=/usr/local -+CGIDIR=${LOCALBASE}/www/cgi-bin - - # =========================================================================== # - # Do not edit the following unless you know what are you are doing -@@ -12,7 +12,7 @@ - # Standard subdirectories locations - BINDIR=$(PREFIX)/bin - MANDIR=$(PREFIX)/man --DOCDIR=$(PREFIX)/doc/html2wml -+DOCDIR=$(PREFIX)/share/doc/html2wml - - MAN1DIR=$(MANDIR)/man1 - @@ -31,14 +31,11 @@ # Installaton targets diff --git a/www/html2wml/pkg-plist b/www/html2wml/pkg-plist deleted file mode 100644 index 50a02e9510c3..000000000000 --- a/www/html2wml/pkg-plist +++ /dev/null @@ -1,32 +0,0 @@ -bin/html2wml -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/INSTALL -%%PORTDOCS%%%%DOCSDIR%%/NEWS -%%PORTDOCS%%%%DOCSDIR%%/NOTES -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%%%DOCSDIR%%/readme.html -%%PORTDOCS%%%%DOCSDIR%%/readme.pdf -%%PORTDOCS%%%%DOCSDIR%%/readme.pod -%%PORTDOCS%%%%DOCSDIR%%/readme.txt -%%PORTDOCS%%%%DOCSDIR%%/t/form.html -%%PORTDOCS%%%%DOCSDIR%%/t/samples/inc_para.wml -%%PORTDOCS%%%%DOCSDIR%%/t/samples/inc_prev.wml -%%PORTDOCS%%%%DOCSDIR%%/t/samples/mix1.html -%%PORTDOCS%%%%DOCSDIR%%/t/samples/mix2.html -%%PORTDOCS%%%%DOCSDIR%%/t/samples/struct.html -%%PORTDOCS%%%%DOCSDIR%%/t/samples/t-a.html -%%PORTDOCS%%%%DOCSDIR%%/t/samples/t-anchor.html -%%PORTDOCS%%%%DOCSDIR%%/t/samples/t-br.html -%%PORTDOCS%%%%DOCSDIR%%/t/samples/t-double-tags.html -%%PORTDOCS%%%%DOCSDIR%%/t/samples/t-extcharset.html -%%PORTDOCS%%%%DOCSDIR%%/t/samples/t-frames.html -%%PORTDOCS%%%%DOCSDIR%%/t/samples/t-img.html -%%PORTDOCS%%%%DOCSDIR%%/t/samples/t-include.html -%%PORTDOCS%%%%DOCSDIR%%/t/samples/t-nest.html -%%PORTDOCS%%%%DOCSDIR%%/t/samples/t-no-tag.html -%%PORTDOCS%%%%DOCSDIR%%/t/samples/t-special-chars.html -%%PORTDOCS%%%%DOCSDIR%%/t/samples/t-urls.html -%%PORTDOCS%%@dirrm %%DOCSDIR%%/t/samples -%%PORTDOCS%%@dirrm %%DOCSDIR%%/t -%%PORTDOCS%%@dirrm %%DOCSDIR%% |