summaryrefslogtreecommitdiff
path: root/www/boa/Makefile
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-04-30 20:13:49 +0000
committerSteve Price <steve@FreeBSD.org>2000-04-30 20:13:49 +0000
commit25deaff13f0f31c1deb1b51a5124740d3ba1879d (patch)
treed233ff9c7db05825606057f88a497e3d20d83270 /www/boa/Makefile
parentUpdate to version 1.0.5. (diff)
Update to version 0.94.6.
PR: 17723 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes: svn path=/head/; revision=28180
Diffstat (limited to 'www/boa/Makefile')
-rw-r--r--www/boa/Makefile29
1 files changed, 19 insertions, 10 deletions
diff --git a/www/boa/Makefile b/www/boa/Makefile
index 61eb6a9a12fb..537a6ea6f0fb 100644
--- a/www/boa/Makefile
+++ b/www/boa/Makefile
@@ -6,24 +6,33 @@
#
PORTNAME= boa
-PORTVERSION= 0.92
+PORTVERSION= 0.94.6
CATEGORIES= www
MASTER_SITES= http://www.boa.org/
MAINTAINER= ports@FreeBSD.org
-do-build:
- @ cd ${WRKSRC}/src; make
+FETCH_BEFORE_ARGS= -b
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+BOA_DOCS= boa-1.html boa-2.html boa-3.html boa-4.html boa.html \
+ boa.ps boa.txt boa_banner.png
+
+post-patch:
+ @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/defines.h
do-install:
- @ ${INSTALL_PROGRAM} ${WRKSRC}/src/boa ${PREFIX}/sbin
- @ ${MKDIR} ${PREFIX}/share/examples/boa
- @ ${INSTALL_DATA} ${WRKSRC}/conf/* ${PREFIX}/share/examples/boa
+ ${INSTALL_PROGRAM} ${WRKSRC}/boa ${PREFIX}/sbin
+ ${INSTALL_DATA} ${WRKSRC}/../boa.conf ${PREFIX}/etc/boa.conf.sample
+ @${MKDIR} ${PREFIX}/share/examples/boa
+ ${INSTALL_DATA} ${WRKSRC}/../examples/* ${PREFIX}/share/examples/boa
.if !defined(NOPORTDOCS)
- @ ${MKDIR} ${PREFIX}/share/doc/boa
- @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/boa
-.for file in Changelog Gnu_License biblio.html details.html details.txt logos.html newboa7.gif poweredbyboa.gif readme.html readme.txt todo.txt
- @ ${INSTALL_DATA} ${WRKSRC}/docs/${file} ${PREFIX}/share/doc/boa
+ @${MKDIR} ${PREFIX}/share/doc/boa
+.for file in ${BOA_DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/../docs/${file} ${PREFIX}/share/doc/boa
.endfor
.endif