diff options
author | gahr <gahr@FreeBSD.org> | 2013-11-20 23:13:26 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2013-11-20 23:13:26 +0800 |
commit | 4ecdd199a8ed23f45e6400ab6c3d39d77c40a73d (patch) | |
tree | f853552d18d0d6f3e4e0e79612745bf246e783bb /www | |
parent | 4264dd16d9d577200b23d31bdb0fa1b00e18b36d (diff) | |
download | freebsd-ports-gnome-4ecdd199a8ed23f45e6400ab6c3d39d77c40a73d.tar.gz freebsd-ports-gnome-4ecdd199a8ed23f45e6400ab6c3d39d77c40a73d.tar.zst freebsd-ports-gnome-4ecdd199a8ed23f45e6400ab6c3d39d77c40a73d.zip |
- Fix build on modern compilers
- STAGE-clean
- Add OPTIONS for DOCS
- Convert to USES=gmake
Diffstat (limited to 'www')
-rw-r--r-- | www/wsmake/Makefile | 16 | ||||
-rw-r--r-- | www/wsmake/files/patch-src-libwsmake_wsLoader.cpp | 10 | ||||
-rw-r--r-- | www/wsmake/files/patch-src-libwsmake_wsParser.ypp | 10 | ||||
-rw-r--r-- | www/wsmake/pkg-plist | 1 |
4 files changed, 29 insertions, 8 deletions
diff --git a/www/wsmake/Makefile b/www/wsmake/Makefile index 6f0579f4a89b..e63683ce7cee 100644 --- a/www/wsmake/Makefile +++ b/www/wsmake/Makefile @@ -9,19 +9,19 @@ MASTER_SITES= SF/${PORTNAME}/OldFiles MAINTAINER= gahr@FreeBSD.org COMMENT= Software for production and maintenance of web sites +OPTIONS_DEFINE= DOCS + +USES= gmake USE_BZIP2= yes -USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-gwsmake=no --enable-iswmake=no -NO_STAGE= yes -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(NOPORTDOCS) -CONFIGURE_ARGS+= --enable-docs=no -.else +.if ${PORT_OPTIONS:MDOCS} INFO= wsmake iwsmake gwsmake -MAN1= wsmake.1 +.else +CONFIGURE_ARGS+= --enable-docs=no .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/www/wsmake/files/patch-src-libwsmake_wsLoader.cpp b/www/wsmake/files/patch-src-libwsmake_wsLoader.cpp new file mode 100644 index 000000000000..073412589cc7 --- /dev/null +++ b/www/wsmake/files/patch-src-libwsmake_wsLoader.cpp @@ -0,0 +1,10 @@ +--- src/libwsmake/wsLoader.cpp.orig 2013-11-20 16:09:13.000000000 +0100 ++++ src/libwsmake/wsLoader.cpp 2013-11-20 16:09:22.000000000 +0100 +@@ -24,6 +24,7 @@ + + #include "osa.h" + ++#include <stdlib.h> + #include <unistd.h> + #include <errno.h> + diff --git a/www/wsmake/files/patch-src-libwsmake_wsParser.ypp b/www/wsmake/files/patch-src-libwsmake_wsParser.ypp new file mode 100644 index 000000000000..8d7c64fa5b9c --- /dev/null +++ b/www/wsmake/files/patch-src-libwsmake_wsParser.ypp @@ -0,0 +1,10 @@ +--- src/libwsmake/wsParser.ypp.orig 2013-11-20 16:10:55.000000000 +0100 ++++ src/libwsmake/wsParser.ypp 2013-11-20 16:10:42.000000000 +0100 +@@ -21,6 +21,7 @@ + * mike@wsmake.org * + ***********************************************************************/ + #include <stdio.h> ++#include <string.h> + + #include "wsLoader.h" + #include "wsSite.h" diff --git a/www/wsmake/pkg-plist b/www/wsmake/pkg-plist index 09101f70f142..a481c24c5d08 100644 --- a/www/wsmake/pkg-plist +++ b/www/wsmake/pkg-plist @@ -10,5 +10,6 @@ bin/wsmake %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/TODO %%PORTDOCS%%%%DOCSDIR%%/THANKS +%%PORTDOCS%%man/man1/wsmake.1.gz %%PORTDOCS%%@dirrm %%DOCSDIR%%/manual %%PORTDOCS%%@dirrm %%DOCSDIR%% |