summaryrefslogtreecommitdiff
path: root/editors/gmanedit
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-09-02 12:54:08 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-09-02 12:54:08 +0000
commit9ecc32cdd6702a2ef5ff51dc37d57354149579e1 (patch)
tree71cfc07cefa7b1a627812fb089cce67b9de9bb65 /editors/gmanedit
parentUse USE_IMAKE (diff)
Add gmanedit - a manpages editor for GNOME.
Notes
Notes: svn path=/head/; revision=32202
Diffstat (limited to 'editors/gmanedit')
-rw-r--r--editors/gmanedit/Makefile43
-rw-r--r--editors/gmanedit/distinfo1
-rw-r--r--editors/gmanedit/pkg-comment1
-rw-r--r--editors/gmanedit/pkg-descr7
-rw-r--r--editors/gmanedit/pkg-plist15
5 files changed, 67 insertions, 0 deletions
diff --git a/editors/gmanedit/Makefile b/editors/gmanedit/Makefile
new file mode 100644
index 000000000000..c91fda4affdf
--- /dev/null
+++ b/editors/gmanedit/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: gmanedit
+# Date created: 12 July 2000
+# Whom: Maxim Sobolev
+#
+# $FreeBSD$
+#
+
+PORTNAME= gmanedit
+PORTVERSION= 0.3.1
+CATEGORIES= editors gnome
+MASTER_SITES= http://gmanedit.sourceforge.net/files/ \
+ ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= sobomax@FreeBSD.org
+
+LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs
+
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \
+ GTK_CONFIG="${GTK_CONFIG}" \
+ CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
+ --datadir=${PREFIX}/share/gnome
+ALL_TARGET= clean all
+
+post-extract:
+ @${RM} -rf ${WRKSRC}/config.cache
+
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+
+.include <bsd.port.mk>
diff --git a/editors/gmanedit/distinfo b/editors/gmanedit/distinfo
new file mode 100644
index 000000000000..8e6a695dbe1d
--- /dev/null
+++ b/editors/gmanedit/distinfo
@@ -0,0 +1 @@
+MD5 (gmanedit-0.3.1.tar.bz2) = 4d942401d61e8461ec739ddbaeab90d6
diff --git a/editors/gmanedit/pkg-comment b/editors/gmanedit/pkg-comment
new file mode 100644
index 000000000000..75ed99b994bd
--- /dev/null
+++ b/editors/gmanedit/pkg-comment
@@ -0,0 +1 @@
+A GNOME manpages editor
diff --git a/editors/gmanedit/pkg-descr b/editors/gmanedit/pkg-descr
new file mode 100644
index 000000000000..43a68738e310
--- /dev/null
+++ b/editors/gmanedit/pkg-descr
@@ -0,0 +1,7 @@
+Gmanedit is the GNOME manpages editor.
+
+It's an editor for man pages that runs on X with GTK. It's like most common
+HTML editors but more easy. You need to know manpages format. You can learn it
+from 'man(7)'.
+
+WWW: http://gmanedit.sourceforge.net/
diff --git a/editors/gmanedit/pkg-plist b/editors/gmanedit/pkg-plist
new file mode 100644
index 000000000000..3e63d10b7b6c
--- /dev/null
+++ b/editors/gmanedit/pkg-plist
@@ -0,0 +1,15 @@
+bin/gmanedit
+share/gnome/pixmaps/gmanedit/arrow.xpm
+share/gnome/pixmaps/gmanedit/button.xpm
+share/gnome/pixmaps/gmanedit/exit.xpm
+share/gnome/pixmaps/gmanedit/gmanedit.png
+share/gnome/pixmaps/gmanedit/new.xpm
+share/gnome/pixmaps/gmanedit/no.xpm
+share/gnome/pixmaps/gmanedit/open.xpm
+share/gnome/pixmaps/gmanedit/save.xpm
+share/gnome/pixmaps/gmanedit/spinbutton.xpm
+share/locale/es/LC_MESSAGES/gmanedit.mo
+share/locale/gl/LC_MESSAGES/gmanedit.mo
+share/locale/ja/LC_MESSAGES/gmanedit.mo
+share/locale/ko/LC_MESSAGES/gmanedit.mo
+@dirrm share/gnome/pixmaps/gmanedit