Index: www/Makefile =================================================================== --- www/Makefile +++ www/Makefile @@ -492,6 +492,7 @@ SUBDIR += mod_xsendfile SUBDIR += mohawk SUBDIR += moinmoin + SUBDIR += moinmoincli SUBDIR += monast SUBDIR += mongoose SUBDIR += mongrel2 Index: www/moinmoincli/Makefile =================================================================== --- /dev/null +++ www/moinmoincli/Makefile @@ -0,0 +1,27 @@ +# $FreeBSD$ + +PORTNAME= moinmoincli +DISTVERSION= 4.5.0 +CATEGORIES= www docs + +MAINTAINER= 0mp@FreeBSD.org +COMMENT= Edit existing MoinMoin wiki pages from a command line + +LICENSE= BSD2CLAUSE + +RUN_DEPENDS= curl:ftp/curl + +USE_GITHUB= yes +GH_ACCOUNT= 0mp + +SUB_FILES= pkg-message + +NO_ARCH= yes +NO_BUILD= yes + +OPTIONS_DEFINE= GIT +OPTIONS_DEFAULT= GIT +GIT_DESC= Install git to use git-diff(1) instead of diff(1) for colored output +GIT_RUN_DEPENDS= git:devel/git + +.include Index: www/moinmoincli/distinfo =================================================================== --- /dev/null +++ www/moinmoincli/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1534502687 +SHA256 (0mp-moinmoincli-4.5.0_GH0.tar.gz) = 48f69128950d72249216901cf11b5662f45968dcd99f58ee51ab8819f1c03620 +SIZE (0mp-moinmoincli-4.5.0_GH0.tar.gz) = 5225 Index: www/moinmoincli/files/pkg-message.in =================================================================== --- /dev/null +++ www/moinmoincli/files/pkg-message.in @@ -0,0 +1,3 @@ +Now it is time to configure moinmoincli to make it easy to use. +Copy "%%EXAMPLESDIR%%/moinmoincli.conf.sample" +into your home directory as ".moinmoincli.conf" and edit it to suit your needs. Index: www/moinmoincli/pkg-descr =================================================================== --- /dev/null +++ www/moinmoincli/pkg-descr @@ -0,0 +1,5 @@ +moinmoincli is an interactive utility to edit existing MoinMoin wiki pages from +a command line. This way the user may use their editor of choice and just +submit a patch without interacting with MoinMoin's web interface. + +WWW: https://github.com/0mp/moinmoincli Index: www/moinmoincli/pkg-plist =================================================================== --- /dev/null +++ www/moinmoincli/pkg-plist @@ -0,0 +1,3 @@ +bin/moinmoincli +man/man1/moinmoincli.1.gz +%%EXAMPLESDIR%%/moinmoincli.conf.sample