summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-09 01:09:39 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-09 01:09:39 +0800
commitcbc03c40f1fa0b7624096fe6ea0bf8b8e78ada54 (patch)
tree41a24dbfc785da4b4e6d4cee540a16410c67eb5b
parent8b469b536988b305f39ce3909a0261fedebf0d3a (diff)
downloadmarcuscom-ports-cbc03c40f1fa0b7624096fe6ea0bf8b8e78ada54.tar
marcuscom-ports-cbc03c40f1fa0b7624096fe6ea0bf8b8e78ada54.tar.gz
marcuscom-ports-cbc03c40f1fa0b7624096fe6ea0bf8b8e78ada54.tar.bz2
marcuscom-ports-cbc03c40f1fa0b7624096fe6ea0bf8b8e78ada54.tar.lz
marcuscom-ports-cbc03c40f1fa0b7624096fe6ea0bf8b8e78ada54.tar.xz
marcuscom-ports-cbc03c40f1fa0b7624096fe6ea0bf8b8e78ada54.tar.zst
marcuscom-ports-cbc03c40f1fa0b7624096fe6ea0bf8b8e78ada54.zip
- Try to remove locales
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7669 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--palm/jpilot/Makefile81
-rw-r--r--palm/jpilot/distinfo3
-rw-r--r--palm/jpilot/files/patch-Makefile.in11
-rw-r--r--palm/jpilot/files/patch-jpilot-langinfo11
-rw-r--r--palm/jpilot/pkg-descr6
-rw-r--r--palm/jpilot/pkg-plist26
6 files changed, 138 insertions, 0 deletions
diff --git a/palm/jpilot/Makefile b/palm/jpilot/Makefile
new file mode 100644
index 000000000..6af3f9689
--- /dev/null
+++ b/palm/jpilot/Makefile
@@ -0,0 +1,81 @@
+# New ports collection makefile for: jpilot
+# Date created: 23 August 1999
+# Whom: Alex Varju <varju@webct.com>
+#
+# $FreeBSD: ports/palm/jpilot/Makefile,v 1.57 2006/09/29 20:59:59 pav Exp $
+#
+# "?=" and "+=" are for including this Makefile from japanese/jpilot
+
+PORTNAME= jpilot
+PORTVERSION= 0.99.9
+PORTREVISION= 1
+CATEGORIES+= palm comms
+MASTER_SITES= http://www.mirrorservice.org/sites/master.us.finkmirrors.net/distfiles/ \
+ http://jpilot.org/
+
+MAINTAINER?= samm@os2.kiev.ua
+COMMENT= Desktop Organizer Software for the Palm Pilot
+
+LIB_DEPENDS= pisock.9:${PORTSDIR}/palm/pilot-link
+
+USE_X_PREFIX= yes
+USE_GNOME= gnomehier
+GNU_CONFIGURE= yes
+CFLAGS+= -I${LOCALBASE}/include
+CONFIGURE_ENV+= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS+= --with-pilot-prefix=${LOCALBASE}
+USE_LDCONFIG= yes
+LDCONFIG_DIRS= %%PREFIX%%/lib/jpilot/plugins
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+CONFIGURE_ARGS+= --enable-nls
+PLIST_SUB= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB= NLS="@comment "
+.endif
+
+.if defined(WITH_GTK1)
+USE_GNOME+= gtk12
+CONFIGURE_ARGS+= --disable-gtk2=yes
+.else
+USE_GNOME+= gtk20
+.endif
+
+MAN1= jpilot-dial.1 jpilot-dump.1 jpilot-sync.1 jpilot.1
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= *
+.endif
+
+post-install:
+ @${FIND} ${PREFIX}/lib/jpilot ! -type d | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${FIND} ${PREFIX}/lib/jpilot -type d | ${SORT} -r | \
+ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+ ${INSTALL_MAN} ${WRKSRC}/docs/jpilot-dial.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/docs/jpilot-dump.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/docs/jpilot-sync.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/docs/jpilot.1 ${PREFIX}/man/man1
+ @${MKDIR} ${DATADIR}/icons
+ ${INSTALL_DATA} ${WRKSRC}/icons/*.xpm ${DATADIR}/icons
+ ${INSTALL_DATA} ${WRKSRC}/empty/*.pdb ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/jpilotrc.* ${DATADIR}
+ @${FIND} ${DATADIR} ! -type d | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${FIND} ${DATADIR} -type d | ${SORT} -r | \
+ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for ext in html png jpg
+ ${INSTALL_DATA} ${WRKSRC}/docs/*.${ext} ${DOCSDIR}
+.endfor
+.for i in AUTHORS BUGS COPYING ChangeLog INSTALL README TODO
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/icons/README ${DOCSDIR}/README.icons
+.endif
+
+.include <bsd.port.mk>
diff --git a/palm/jpilot/distinfo b/palm/jpilot/distinfo
new file mode 100644
index 000000000..86465ed33
--- /dev/null
+++ b/palm/jpilot/distinfo
@@ -0,0 +1,3 @@
+MD5 (jpilot-0.99.9.tar.gz) = c39df29aeed57b84a674524856ebc290
+SHA256 (jpilot-0.99.9.tar.gz) = 341491ad727e234b58c7d5f057bcff363d15d2f223c1beab05fc49820dfe6432
+SIZE (jpilot-0.99.9.tar.gz) = 1671351
diff --git a/palm/jpilot/files/patch-Makefile.in b/palm/jpilot/files/patch-Makefile.in
new file mode 100644
index 000000000..bffaf5d0b
--- /dev/null
+++ b/palm/jpilot/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Sun Oct 30 18:00:53 2005
++++ Makefile.in Tue Nov 1 17:17:43 2005
+@@ -302,7 +302,7 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+-SUBDIRS = Expense SyncTime KeyRing docs dialer po m4 empty icons
++SUBDIRS = Expense SyncTime KeyRing dialer po m4 empty
+
+ # install the manual docs
+ colordir = $(prefix)/share/$(PACKAGE)
diff --git a/palm/jpilot/files/patch-jpilot-langinfo b/palm/jpilot/files/patch-jpilot-langinfo
new file mode 100644
index 000000000..4837a963b
--- /dev/null
+++ b/palm/jpilot/files/patch-jpilot-langinfo
@@ -0,0 +1,11 @@
+--- jpilot.c.orig Fri Jun 9 23:42:57 2006
++++ jpilot.c Tue Sep 12 18:51:49 2006
+@@ -2180,7 +2180,7 @@
+
+ /* Extract first day of week preference from locale in GTK2 */
+ # ifdef ENABLE_GTK2
+-# ifdef HAVE_LANGINFO_H
++# if defined(HAVE_LANGINFO_H) && defined(_NL_TIME_FIRST_WEEKDAY)
+ /* GTK 2.8 libraries */
+ week_start = nl_langinfo (_NL_TIME_FIRST_WEEKDAY);
+ pref_fdow = *((unsigned char *) week_start) - 1;
diff --git a/palm/jpilot/pkg-descr b/palm/jpilot/pkg-descr
new file mode 100644
index 000000000..e0e39ce4f
--- /dev/null
+++ b/palm/jpilot/pkg-descr
@@ -0,0 +1,6 @@
+J-Pilot is a desktop organizer application for the palm pilot that
+runs under Linux and Unix using X-Windows and GTK+. It is similar in
+functionality to the one that 3com distributes and has many features
+not found in the 3com desktop.
+
+WWW: http://jpilot.org/
diff --git a/palm/jpilot/pkg-plist b/palm/jpilot/pkg-plist
new file mode 100644
index 000000000..0c47fc1bf
--- /dev/null
+++ b/palm/jpilot/pkg-plist
@@ -0,0 +1,26 @@
+bin/jpilot
+bin/jpilot-dump
+bin/jpilot-sync
+share/applications/jpilot.desktop
+%%NLS%%share/locale/ca/LC_MESSAGES/jpilot.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/jpilot.mo
+%%NLS%%share/locale/da/LC_MESSAGES/jpilot.mo
+%%NLS%%share/locale/de/LC_MESSAGES/jpilot.mo
+%%NLS%%share/locale/es/LC_MESSAGES/jpilot.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/jpilot.mo
+%%NLS%%share/locale/it/LC_MESSAGES/jpilot.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/jpilot.mo
+%%NLS%%share/locale/ko/LC_MESSAGES/jpilot.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/jpilot.mo
+%%NLS%%share/locale/no/LC_MESSAGES/jpilot.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/jpilot.mo
+%%NLS%%share/locale/rw/LC_MESSAGES/jpilot.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/jpilot.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/jpilot.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/jpilot.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/jpilot.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/jpilot.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/jpilot.mo
+@dirrmtry share/applications
+@dirrmtry share/locale/rw/LC_MESSAGES
+@dirrmtry share/locale/rw