summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 07:33:57 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 07:33:57 +0800
commitf974ce6451667e03a979f1c09689ece120dce838 (patch)
treef5f34952327e54f8732ce9c773307f7d4136e164 /editors
parent7794e6f135c3bdb66db7fb572b25eaefcf862a77 (diff)
downloadmarcuscom-ports-f974ce6451667e03a979f1c09689ece120dce838.tar.gz
marcuscom-ports-f974ce6451667e03a979f1c09689ece120dce838.tar.zst
marcuscom-ports-f974ce6451667e03a979f1c09689ece120dce838.zip
- Gnomeprefix
Spotted by: pointyhat git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7355 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'editors')
-rw-r--r--editors/leafpad/Makefile44
-rw-r--r--editors/leafpad/distinfo3
-rw-r--r--editors/leafpad/pkg-descr5
-rw-r--r--editors/leafpad/pkg-plist28
4 files changed, 80 insertions, 0 deletions
diff --git a/editors/leafpad/Makefile b/editors/leafpad/Makefile
new file mode 100644
index 000000000..8a334fd45
--- /dev/null
+++ b/editors/leafpad/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: leafpad
+# Date created: 2004-10-18
+# Whom: Michael Johnson <ahze@ahze.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= leafpad
+PORTVERSION= 0.8.9
+CATEGORIES= editors
+MASTER_SITES= ${MASTER_SITE_SAVANNAH}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= radek@raadradd.com
+COMMENT= GTK+ based simple text editor
+
+USE_GNOME= gtk20 gnomeprefix desktopfileutils intlhack
+USE_GCC= 3.4
+USE_GETOPT_LONG= yes
+USE_GETTEXT= YES
+USE_XLIB= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
+ PTHREAD_LIB="${PTHREAD_LIBS}"
+CONFIGURE_ARGS= --enable-chooser
+
+CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
+
+PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/pixmaps|/gnome/pixmaps|; \
+ s|/applications|/gnome/applications|' \
+ ${WRKSRC}/Makefile.in ${WRKSRC}/src/Makefile.in
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${INSTALL} -d ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
+.endif
+ -@update-desktop-database
+
+.include <bsd.port.mk>
diff --git a/editors/leafpad/distinfo b/editors/leafpad/distinfo
new file mode 100644
index 000000000..e8bd0b9d8
--- /dev/null
+++ b/editors/leafpad/distinfo
@@ -0,0 +1,3 @@
+MD5 (leafpad-0.8.9.tar.gz) = 66a502c2c9e87b8f7ef0370ecb83cbbb
+SHA256 (leafpad-0.8.9.tar.gz) = 5e8014be4fbebd0ced491d16eef8ef38a03382c25ef0ce41f0ee22a9ada30a6f
+SIZE (leafpad-0.8.9.tar.gz) = 247117
diff --git a/editors/leafpad/pkg-descr b/editors/leafpad/pkg-descr
new file mode 100644
index 000000000..27b08133b
--- /dev/null
+++ b/editors/leafpad/pkg-descr
@@ -0,0 +1,5 @@
+Leafpad is a GTK+ based simple text editor. The user interface is similar to
+"notepad.exe", and it aims to be lighter than GEdit and KWrite, and to be as
+useful as them.
+
+WWW: http://tarot.freeshell.org/leafpad/
diff --git a/editors/leafpad/pkg-plist b/editors/leafpad/pkg-plist
new file mode 100644
index 000000000..26592edab
--- /dev/null
+++ b/editors/leafpad/pkg-plist
@@ -0,0 +1,28 @@
+bin/leafpad
+share/gnome/applications/leafpad.desktop
+share/gnome/pixmaps/leafpad.png
+share/gnome/pixmaps/leafpad.xpm
+share/locale/bg/LC_MESSAGES/leafpad.mo
+share/locale/ca/LC_MESSAGES/leafpad.mo
+share/locale/cs/LC_MESSAGES/leafpad.mo
+share/locale/de/LC_MESSAGES/leafpad.mo
+share/locale/el/LC_MESSAGES/leafpad.mo
+share/locale/es/LC_MESSAGES/leafpad.mo
+share/locale/fr/LC_MESSAGES/leafpad.mo
+share/locale/he/LC_MESSAGES/leafpad.mo
+share/locale/hu/LC_MESSAGES/leafpad.mo
+share/locale/it/LC_MESSAGES/leafpad.mo
+share/locale/ja/LC_MESSAGES/leafpad.mo
+share/locale/lt/LC_MESSAGES/leafpad.mo
+share/locale/pl/LC_MESSAGES/leafpad.mo
+share/locale/pt/LC_MESSAGES/leafpad.mo
+share/locale/ru/LC_MESSAGES/leafpad.mo
+share/locale/sk/LC_MESSAGES/leafpad.mo
+share/locale/sv/LC_MESSAGES/leafpad.mo
+share/locale/ta/LC_MESSAGES/leafpad.mo
+share/locale/tr/LC_MESSAGES/leafpad.mo
+share/locale/vi/LC_MESSAGES/leafpad.mo
+share/locale/zh_CN/LC_MESSAGES/leafpad.mo
+share/locale/zh_TW/LC_MESSAGES/leafpad.mo
+@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true