From e814d11e91d36d02605b4e574e96e105ced8e1f4 Mon Sep 17 00:00:00 2001 From: mezz Date: Thu, 3 May 2007 22:26:54 +0000 Subject: - share/gnome/ -> share/ - Respect the prefix. I never thought about that I would have to fix this in old port. - Remove the Makefile, let configure to take care of Makefile.in -> Makefile. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8797 df743ca5-7f9a-e211-a948-0013205c9059 --- editors/gmanedit/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ editors/gmanedit/distinfo | 3 +++ editors/gmanedit/pkg-descr | 7 +++++++ editors/gmanedit/pkg-plist | 19 +++++++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 editors/gmanedit/Makefile create mode 100644 editors/gmanedit/distinfo create mode 100644 editors/gmanedit/pkg-descr create mode 100644 editors/gmanedit/pkg-plist diff --git a/editors/gmanedit/Makefile b/editors/gmanedit/Makefile new file mode 100644 index 000000000..ea0993ad7 --- /dev/null +++ b/editors/gmanedit/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: gmanedit +# Date created: 12 July 2000 +# Whom: Maxim Sobolev +# +# $FreeBSD$ +# + +PORTNAME= gmanedit +PORTVERSION= 0.3.1 +PORTREVISION= 3 +CATEGORIES= editors gnome +MASTER_SITES= http://gmanedit.sourceforge.net/files/ \ + ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org +COMMENT= A GNOME manpages editor + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_GNOME= gnomeprefix gnomehack gnomelibs +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +ALL_TARGET= clean all + +post-extract: + @${RM} -rf ${WRKSRC}/config.cache + @${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${RM} -f + +post-patch: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ + s|PACKAGE_PIXMAPS_DIR=".*/pixmaps|PACKAGE_PIXMAPS_DIR="${PREFIX}/share/pixmaps|g' \ + ${WRKSRC}/configure + +.include diff --git a/editors/gmanedit/distinfo b/editors/gmanedit/distinfo new file mode 100644 index 000000000..8551e7d10 --- /dev/null +++ b/editors/gmanedit/distinfo @@ -0,0 +1,3 @@ +MD5 (gmanedit-0.3.1.tar.bz2) = 4d942401d61e8461ec739ddbaeab90d6 +SHA256 (gmanedit-0.3.1.tar.bz2) = 535317d528529141d9ad97eb55e52fa3e59d70eeb33fd254fd2ff440aa7d1486 +SIZE (gmanedit-0.3.1.tar.bz2) = 535988 diff --git a/editors/gmanedit/pkg-descr b/editors/gmanedit/pkg-descr new file mode 100644 index 000000000..43a68738e --- /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 000000000..e4081dc59 --- /dev/null +++ b/editors/gmanedit/pkg-plist @@ -0,0 +1,19 @@ +bin/gmanedit +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 +share/pixmaps/gmanedit/arrow.xpm +share/pixmaps/gmanedit/button.xpm +share/pixmaps/gmanedit/exit.xpm +share/pixmaps/gmanedit/gmanedit.png +share/pixmaps/gmanedit/new.xpm +share/pixmaps/gmanedit/no.xpm +share/pixmaps/gmanedit/open.xpm +share/pixmaps/gmanedit/save.xpm +share/pixmaps/gmanedit/spinbutton.xpm +@dirrm share/pixmaps/gmanedit +@dirrmtry share/locale/ko/LC_MESSAGES +@dirrmtry share/locale/ko +@dirrmtry share/locale/gl/LC_MESSAGES +@dirrmtry share/locale/gl -- cgit v1.2.3