summaryrefslogtreecommitdiff
path: root/www/webcheck
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-01-03 08:41:34 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-01-03 08:41:34 +0000
commite1503a36e98730874c8fb5df309c90a8a13af120 (patch)
tree2cd4905a6bfde67ed4283d1e6ad249f123143ebb /www/webcheck
parentchase gdbm lib version (diff)
Redo Makefile to use INSTALL_DATA/INSTALL_SCRIPT
PR: ports/40088 Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net>
Notes
Notes: svn path=/head/; revision=72368
Diffstat (limited to 'www/webcheck')
-rw-r--r--www/webcheck/Makefile22
1 files changed, 12 insertions, 10 deletions
diff --git a/www/webcheck/Makefile b/www/webcheck/Makefile
index a5dc2ea8aec0..d97901ba7ff7 100644
--- a/www/webcheck/Makefile
+++ b/www/webcheck/Makefile
@@ -15,25 +15,27 @@ MAINTAINER= mwm@mired.org
USE_PYTHON= YES
USE_BZIP2= YES
+.if defined(NOPORTDOCS)
+NO_BUILD= YES
+.endif
+
+do-build:
+ ${AWK} '/^Running Webcheck/ { output=1 } output' \
+ < ${WRKSRC}/INSTALL > ${WRKSRC}/USAGE
do-install:
@${MKDIR} ${DATADIR}
- ${CP} ${WRKSRC}/*.py ${DATADIR}
- ${CP} ${WRKSRC}/*.css ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.py ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.css ${DATADIR}
.for d in plugins schemes
@${MKDIR} ${DATADIR}/${d}
- ${CP} ${WRKSRC}/${d}/*.py ${DATADIR}/${d}
+ ${INSTALL_DATA} ${WRKSRC}/${d}/*.py ${DATADIR}/${d}
.endfor
+ ${INSTALL_SCRIPT} ${WRKSRC}/webcheck.py ${DATADIR}
${LN} -sf ${DATADIR}/webcheck.py ${PREFIX}/bin/webcheck
-.ifndef NOPORTDOCS
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/USAGE ${DOCSDIR}
-
-do-build:
- ${AWK} '/^Running Webcheck/ { output=1 } output' \
- < ${WRKSRC}/INSTALL > ${WRKSRC}/USAGE
-.else
-NO_BUILD= yes
.endif
.include <bsd.port.mk>