aboutsummaryrefslogtreecommitdiffstats
path: root/www
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
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')
-rw-r--r--www/mochiweb-basho/Makefile8
-rw-r--r--www/mochiweb/Makefile8
-rw-r--r--www/webmachine/Makefile8
3 files changed, 9 insertions, 15 deletions
diff --git a/www/mochiweb-basho/Makefile b/www/mochiweb-basho/Makefile
index 3605261a8ac2..8feea8eaca48 100644
--- a/www/mochiweb-basho/Makefile
+++ b/www/mochiweb-basho/Makefile
@@ -24,11 +24,9 @@ GH_PROJECT= mochiweb
GH_COMMIT= b7c3f8f
GH_TAGNAME= ${PORTVERSION}
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= *
-.endif
+
+.include <bsd.port.options.mk>
do-install:
.if ${PORT_OPTIONS:MDOCS}
@@ -49,4 +47,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>
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>
diff --git a/www/webmachine/Makefile b/www/webmachine/Makefile
index 9c015f8f1058..0591306fd64c 100644
--- a/www/webmachine/Makefile
+++ b/www/webmachine/Makefile
@@ -23,11 +23,9 @@ GH_PROJECT= webmachine
GH_COMMIT= d600c0e
GH_TAGNAME= ${PORTVERSION}
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= *
-.endif
+
+.include <bsd.port.options.mk>
do-install:
.if ${PORT_OPTIONS:MDOCS}
@@ -50,4 +48,4 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/src/* ${PREFIX}/lib/erlang/lib/webmachine-${PORTVERSION}/src
@cd ${WRKSRC}/priv && ${COPYTREE_SHARE} \* ${PREFIX}/lib/erlang/lib/webmachine-${PORTVERSION}/priv
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>