aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/universalindentgui/Makefile41
-rw-r--r--devel/universalindentgui/distinfo3
-rw-r--r--devel/universalindentgui/files/patch-gnuindent12
-rw-r--r--devel/universalindentgui/pkg-descr4
-rw-r--r--devel/universalindentgui/pkg-message16
-rw-r--r--devel/universalindentgui/pkg-plist54
7 files changed, 131 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 8ad3231cfa85..da870841aa84 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2923,6 +2923,7 @@
SUBDIR += ucpp
SUBDIR += udis86
SUBDIR += umem
+ SUBDIR += universalindentgui
SUBDIR += upnp
SUBDIR += upp
SUBDIR += uppaal
diff --git a/devel/universalindentgui/Makefile b/devel/universalindentgui/Makefile
new file mode 100644
index 000000000000..b188babaaa1f
--- /dev/null
+++ b/devel/universalindentgui/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: universalindentgui
+# Date created: 2009-09-30
+# Whom: Andriy Gapon <avg@icyb.net.ua>
+#
+# $FreeBSD$
+#
+
+PORTNAME= universalindentgui
+PORTVERSION= 1.1.0
+CATEGORIES= devel
+MASTER_SITES= SF/universalindent/universalindent/UniversalIndentGUI_${PORTVERSION}
+
+MAINTAINER= avg@icyb.net.ua
+COMMENT= Graphical UI for multiple source code indent/format/beautify tools
+
+LIB_DEPENDS= qscintilla2.5:${PORTSDIR}/devel/qscintilla2
+
+USE_QT_VER= 4
+QT_COMPONENTS= qmake_build moc_build uic_build rcc_build \
+ linguist network script gui
+HAS_CONFIGURE= yes
+
+MAN1= universalindentgui.1
+MANCOMPRESSED= yes
+
+QMAKE_ARGS= -unix PREFIX=${PREFIX}
+
+post-patch:
+ @${REINPLACE_CMD} -e 's#/usr/#${PREFIX}/#g' -e 's#/share/man/#/man/#g' \
+ ${WRKSRC}/UniversalIndentGUI.pro
+
+do-configure:
+ @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
+ ${QMAKE} ${QMAKE_ARGS}
+
+post-install:
+ @${ECHO_MSG}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_MSG}
+
+.include <bsd.port.mk>
diff --git a/devel/universalindentgui/distinfo b/devel/universalindentgui/distinfo
new file mode 100644
index 000000000000..6786b9109621
--- /dev/null
+++ b/devel/universalindentgui/distinfo
@@ -0,0 +1,3 @@
+MD5 (universalindentgui-1.1.0.tar.gz) = dcc764de7e3bab52d08b5432620ce67c
+SHA256 (universalindentgui-1.1.0.tar.gz) = 6b1d06e2a9d441ea330d45e0d8e9099acb3066a3ca259a5f0d604cd18a1025d6
+SIZE (universalindentgui-1.1.0.tar.gz) = 934141
diff --git a/devel/universalindentgui/files/patch-gnuindent b/devel/universalindentgui/files/patch-gnuindent
new file mode 100644
index 000000000000..e3dcb17da924
--- /dev/null
+++ b/devel/universalindentgui/files/patch-gnuindent
@@ -0,0 +1,12 @@
+--- indenters/uigui_gnuindent.ini.orig
++++ indenters/uigui_gnuindent.ini
+@@ -3,7 +3,7 @@
+ cfgFileParameterEnding=cr
+ configFilename=.indent.pro
+ fileTypes=*.c|*.h
+-indenterFileName=indent
++indenterFileName=gindent
+ indenterName=GNU Indent (C)
+ inputFileName=indentinput
+ inputFileParameter=
+
diff --git a/devel/universalindentgui/pkg-descr b/devel/universalindentgui/pkg-descr
new file mode 100644
index 000000000000..2c669ebee362
--- /dev/null
+++ b/devel/universalindentgui/pkg-descr
@@ -0,0 +1,4 @@
+UniversalIndentGUI is a graphical UI for multiple source code indent,
+format and beautify tools like GNU Indent, Astyle, GreatCode etc.
+
+WWW: http://universalindent.sourceforge.net/
diff --git a/devel/universalindentgui/pkg-message b/devel/universalindentgui/pkg-message
new file mode 100644
index 000000000000..b33811dc16c4
--- /dev/null
+++ b/devel/universalindentgui/pkg-message
@@ -0,0 +1,16 @@
+ Please NOTE
+
+This port/package does not install as a dependency
+any of the backends that it supports for performing
+actual code indenting, formatting and beautification.
+You need to install the backends you'd like.
+
+Please see the following link for list of supported
+backends:
+http://universalindent.sourceforge.net/features.php
+
+List of ports for some of the supported backends:
+textproc/uncrustify - Uncrustify
+devel/astyle - Artistic Styler
+devel/bcpp - BCPP
+devel/gindent - GNU indent
diff --git a/devel/universalindentgui/pkg-plist b/devel/universalindentgui/pkg-plist
new file mode 100644
index 000000000000..ab2f336f9d11
--- /dev/null
+++ b/devel/universalindentgui/pkg-plist
@@ -0,0 +1,54 @@
+bin/universalindentgui
+share/universalindentgui/config/UiGuiSyntaxHighlightConfig.ini
+share/universalindentgui/indenters/JsDecoder.js
+share/universalindentgui/indenters/example.cbl
+share/universalindentgui/indenters/example.cpp
+share/universalindentgui/indenters/example.css
+share/universalindentgui/indenters/example.f90
+share/universalindentgui/indenters/example.html
+share/universalindentgui/indenters/example.js
+share/universalindentgui/indenters/example.php
+share/universalindentgui/indenters/example.pl
+share/universalindentgui/indenters/example.py
+share/universalindentgui/indenters/example.rb
+share/universalindentgui/indenters/example.sh
+share/universalindentgui/indenters/example.xml
+share/universalindentgui/indenters/phpStylist.php
+share/universalindentgui/indenters/phpStylist.txt
+share/universalindentgui/indenters/pindent.py
+share/universalindentgui/indenters/pindent.txt
+share/universalindentgui/indenters/rbeautify.rb
+share/universalindentgui/indenters/ruby_formatter.rb
+share/universalindentgui/indenters/shellindent.awk
+share/universalindentgui/indenters/uigui_CblBeau.ini
+share/universalindentgui/indenters/uigui_astyle.ini
+share/universalindentgui/indenters/uigui_bcpp.ini
+share/universalindentgui/indenters/uigui_csstidy.ini
+share/universalindentgui/indenters/uigui_f90ppr.ini
+share/universalindentgui/indenters/uigui_gnuindent.ini
+share/universalindentgui/indenters/uigui_greatcode.ini
+share/universalindentgui/indenters/uigui_hindent.ini
+share/universalindentgui/indenters/uigui_htb.ini
+share/universalindentgui/indenters/uigui_jsdecoder.ini
+share/universalindentgui/indenters/uigui_jsppp.ini
+share/universalindentgui/indenters/uigui_perltidy.ini
+share/universalindentgui/indenters/uigui_phpCB.ini
+share/universalindentgui/indenters/uigui_phpStylist.ini
+share/universalindentgui/indenters/uigui_php_Beautifier.ini
+share/universalindentgui/indenters/uigui_pindent.ini
+share/universalindentgui/indenters/uigui_rbeautify.ini
+share/universalindentgui/indenters/uigui_rubyformatter.ini
+share/universalindentgui/indenters/uigui_shellindent.ini
+share/universalindentgui/indenters/uigui_tidy.ini
+share/universalindentgui/indenters/uigui_uncrustify.ini
+share/universalindentgui/indenters/uigui_xmlindent.ini
+share/universalindentgui/translations/universalindent_de.qm
+share/universalindentgui/translations/universalindent_fr.qm
+share/universalindentgui/translations/universalindent_ja_jp.qm
+share/universalindentgui/translations/universalindent_ru.qm
+share/universalindentgui/translations/universalindent_uk.qm
+share/universalindentgui/translations/universalindent_zh_TW.qm
+@dirrm share/universalindentgui/translations
+@dirrm share/universalindentgui/indenters
+@dirrm share/universalindentgui/config
+@dirrm share/universalindentgui