1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

* The startup script used to pull in a local path from ${WRKSRC}, so

the daemon would not start after "make clean" (!).

* Do not create empty EXAMPLESDIR.
This commit is contained in:
Jimmy Olgeni 2004-05-06 12:55:30 +00:00
parent 9f9df75916
commit cdbc97eedd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108549
2 changed files with 16 additions and 2 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= yaws
PORTVERSION= 1.45
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://yaws.hyber.org/download/
@ -36,7 +37,7 @@ post-extract:
post-patch:
@${REINPLACE_CMD} -e 's|!!PREFIX!!|${PREFIX}|g' \
${WRKSRC}/man/yaws_api.5 ${WRKSRC}/man/yaws.conf.5 \
${WRKSRC}/src/yaws_config.erl
${WRKSRC}/src/yaws_config.erl ${WRKSRC}/scripts/yaws.template
@${FIND} ${WRKSRC} -name \*.orig -or -name \*.bak | ${XARGS} ${RM}
do-install:
@ -46,7 +47,6 @@ do-install:
@${MKDIR} ${PREFIX}/lib/yaws/include
@${MKDIR} ${PREFIX}/lib/yaws/priv
@${MKDIR} ${PREFIX}/www/yaws
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/ebin/* ${PREFIX}/lib/yaws/ebin
@${INSTALL_DATA} ${WRKSRC}/priv/* ${PREFIX}/lib/yaws/priv
@${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/lib/yaws/include

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- scripts/yaws.template.orig Thu May 6 14:43:33 2004
+++ scripts/yaws.template Thu May 6 14:44:26 2004
@@ -1,7 +1,7 @@
#!/bin/sh
-yawsdir="%yawsdir%"
+yawsdir=!!PREFIX!!/lib/yaws
erl="%erl%"
case `uname` in
CYGWIN*)