diff options
author | vs <vs@FreeBSD.org> | 2005-04-27 17:11:45 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-04-27 17:11:45 +0800 |
commit | 1bc82408d0cbba7639de92344c30cfc7d299b62a (patch) | |
tree | 262e00ddabdf96d46e8e19bb8812fce388bccad6 | |
parent | 2f723453c9e6a49451086b98920b9257a6d59c08 (diff) | |
download | freebsd-ports-gnome-1bc82408d0cbba7639de92344c30cfc7d299b62a.tar.gz freebsd-ports-gnome-1bc82408d0cbba7639de92344c30cfc7d299b62a.tar.zst freebsd-ports-gnome-1bc82408d0cbba7639de92344c30cfc7d299b62a.zip |
- Use PLIST_FILES/PORTDOCS, MAKE_ARGS
- Note that the cgi-script isn't installed atm
-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%% |