aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-06-15 11:01:58 +0800
committermiwi <miwi@FreeBSD.org>2014-06-15 11:01:58 +0800
commit4d8c558cc7cbc38b3e12483c141232c33d6da51e (patch)
tree550bc3ba057dcdba3f575b1ffb2b49f7b729a7f5 /www
parent5e09ea6f829591872f8f237d8521995836bd9d6b (diff)
downloadfreebsd-ports-gnome-4d8c558cc7cbc38b3e12483c141232c33d6da51e.tar.gz
freebsd-ports-gnome-4d8c558cc7cbc38b3e12483c141232c33d6da51e.tar.zst
freebsd-ports-gnome-4d8c558cc7cbc38b3e12483c141232c33d6da51e.zip
- Stage support
PR: 190999
Diffstat (limited to 'www')
-rw-r--r--www/webcheck/Makefile30
-rw-r--r--www/webcheck/pkg-plist1
2 files changed, 13 insertions, 18 deletions
diff --git a/www/webcheck/Makefile b/www/webcheck/Makefile
index 4d3da46e6275..000cdb1eef2d 100644
--- a/www/webcheck/Makefile
+++ b/www/webcheck/Makefile
@@ -13,28 +13,22 @@ COMMENT= View structure of a web site, get a list of problems like broken links
USE_PYTHON= yes
NO_BUILD= yes
-MAN1= webcheck.1
-
# what about fancytooltips?
-NO_STAGE= yes
do-install:
- @${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/*.py ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/*.css ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/favicon.ico ${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.py ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.css ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/favicon.ico ${STAGEDIR}${DATADIR}
.for d in parsers parsers/html plugins schemes
- @${MKDIR} ${DATADIR}/${d}
- ${INSTALL_DATA} ${WRKSRC}/${d}/*.py ${DATADIR}/${d}
+ @${MKDIR} ${STAGEDIR}${DATADIR}/${d}
+ ${INSTALL_DATA} ${WRKSRC}/${d}/*.py ${STAGEDIR}${DATADIR}/${d}
.endfor
- @${MKDIR} ${DATADIR}/fancytooltips
- ${INSTALL_DATA} ${WRKSRC}/fancytooltips/* ${DATADIR}/fancytooltips
- ${INSTALL_SCRIPT} ${WRKSRC}/webcheck.py ${DATADIR}
- ${LN} -sf ${DATADIR}/webcheck.py ${PREFIX}/bin/webcheck
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
- @${INSTALL_MAN} ${WRKSRC}/webcheck.1 ${MANPREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DATADIR}/fancytooltips
+ ${INSTALL_DATA} ${WRKSRC}/fancytooltips/* ${STAGEDIR}${DATADIR}/fancytooltips
+ ${INSTALL_SCRIPT} ${WRKSRC}/webcheck.py ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_MAN} ${WRKSRC}/webcheck.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/www/webcheck/pkg-plist b/www/webcheck/pkg-plist
index bca86c8c23ce..c7f770624b0b 100644
--- a/www/webcheck/pkg-plist
+++ b/www/webcheck/pkg-plist
@@ -34,6 +34,7 @@ share/webcheck/schemes/file.py
share/webcheck/schemes/ftp.py
share/webcheck/schemes/http.py
share/webcheck/schemes/https.py
+man/man1/webcheck.1.gz
%%PORTDOCS%%share/doc/webcheck/README
%%PORTDOCS%%@dirrm share/doc/webcheck
@unexec rm -f %D/share/webcheck/*.py[co] %D/share/webcheck/*/*.py[co]