1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

- Use PLIST_FILES/PORTDOCS, MAKE_ARGS

- Note that the cgi-script isn't installed atm
This commit is contained in:
Volker Stolz 2005-04-27 09:11:45 +00:00
parent 454bf546c7
commit 78278ce203
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134240
3 changed files with 5 additions and 51 deletions

View File

@ -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; \

View File

@ -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

View File

@ -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%%