aboutsummaryrefslogtreecommitdiffstats
path: root/www/mochiweb
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2013-04-25 00:35:52 +0800
committerolgeni <olgeni@FreeBSD.org>2013-04-25 00:35:52 +0800
commitbbb48b6c8dd9609a673b53ff7dac88e8f35bfd87 (patch)
tree7b7b2c1fff7e55a697f63e47aa9d27c7ad0fd0b4 /www/mochiweb
parent391c7f83d21a41a4b61df3c57a3a6764026e190d (diff)
downloadfreebsd-ports-gnome-bbb48b6c8dd9609a673b53ff7dac88e8f35bfd87.tar.gz
freebsd-ports-gnome-bbb48b6c8dd9609a673b53ff7dac88e8f35bfd87.tar.zst
freebsd-ports-gnome-bbb48b6c8dd9609a673b53ff7dac88e8f35bfd87.zip
- Use bsd.port.options.mk.
- PORTDOCS should not be conditional. Noticed by: jgh
Diffstat (limited to 'www/mochiweb')
-rw-r--r--www/mochiweb/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/www/mochiweb/Makefile b/www/mochiweb/Makefile
index 37701afbde25..8cd748cc7890 100644
--- a/www/mochiweb/Makefile
+++ b/www/mochiweb/Makefile
@@ -23,11 +23,9 @@ GH_PROJECT= mochiweb
GH_COMMIT= 92b8f5b
GH_TAGNAME= v${PORTVERSION}
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= *
-.endif
+
+.include <bsd.port.options.mk>
do-install:
.if ${PORT_OPTIONS:MDOCS}
@@ -48,4 +46,4 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/include
@${INSTALL_DATA} ${WRKSRC}/src/* ${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/src
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>