summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2004-10-15 16:17:23 +0000
committersergei <sergei@FreeBSD.org>2004-10-15 16:17:23 +0000
commitd2b5024611855090813754529c8225836ef817d9 (patch)
tree463ef80d970ba533c6ccee1179646f4d434b4032
parentd9293cb6b86f04bf3180bf8b2bdd850700640a46 (diff)
downloadFreeBSD-ports-d2b5024611855090813754529c8225836ef817d9.zip
FreeBSD-ports-d2b5024611855090813754529c8225836ef817d9.tar.gz
- Update to 0.7.4:
- Added German and Russian translations - Configuration file changes PR: ports/72735 Submitted by: Janos Mohacsi (maintainer) While I'm here: - Move examples installation out of NOPORTDOCS check - Add CONFIGURE_TARGET to silense configure warning - Minor Makefile tweaks
-rw-r--r--comms/scmxx/Makefile21
-rw-r--r--comms/scmxx/distinfo4
-rw-r--r--comms/scmxx/files/patch-src_charsets_ucs4__dec.c12
-rw-r--r--comms/scmxx/pkg-plist10
4 files changed, 25 insertions, 22 deletions
diff --git a/comms/scmxx/Makefile b/comms/scmxx/Makefile
index 3ffb8ca..32730c8 100644
--- a/comms/scmxx/Makefile
+++ b/comms/scmxx/Makefile
@@ -6,35 +6,36 @@
#
PORTNAME= scmxx
-PORTVERSION= 0.7.3
+PORTVERSION= 0.7.4
CATEGORIES= comms
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= scmxx
+MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= Data exchange utility for Siemens mobile phones
USE_BZIP2= yes
+USE_GMAKE= yes
USE_ICONV= yes
+USE_GETTEXT= yes
USE_GETOPT_LONG=yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-USE_GMAKE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= scmxx.1
MANLANG= "" ru de
+DOCS= README docs/*.txt
+EXAMPLES= sms.txt vCalendar.vcs vCard.vcf
-.ifndef(NOPORTDOCS)
post-install:
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
-.for file in sms.txt vCalendar.vcs vCard.vcf
- ${INSTALL_DATA} ${WRKSRC}/examples/${file} ${EXAMPLESDIR}
-.endfor
+ cd ${WRKSRC}/examples && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/comms/scmxx/distinfo b/comms/scmxx/distinfo
index 6cbe054..71f6775 100644
--- a/comms/scmxx/distinfo
+++ b/comms/scmxx/distinfo
@@ -1,2 +1,2 @@
-MD5 (scmxx-0.7.3.tar.bz2) = b1f8172568985f6c95934816c6629b98
-SIZE (scmxx-0.7.3.tar.bz2) = 109384
+MD5 (scmxx-0.7.4.tar.bz2) = 3139f8ce4da47b684851fed208e6d41e
+SIZE (scmxx-0.7.4.tar.bz2) = 152086
diff --git a/comms/scmxx/files/patch-src_charsets_ucs4__dec.c b/comms/scmxx/files/patch-src_charsets_ucs4__dec.c
index 02e40fe..0c897d4 100644
--- a/comms/scmxx/files/patch-src_charsets_ucs4__dec.c
+++ b/comms/scmxx/files/patch-src_charsets_ucs4__dec.c
@@ -1,9 +1,9 @@
$FreeBSD$
---- src/charsets/ucs4_dec.c.orig Thu Jul 22 18:16:40 2004
-+++ src/charsets/ucs4_dec.c Thu Jul 22 18:20:04 2004
-@@ -19,6 +19,12 @@
+--- src/charsets/ucs4_dec.c.orig
++++ src/charsets/ucs4_dec.c
+@@ -21,6 +21,12 @@
#include <errno.h>
#include <iconv.h>
@@ -13,6 +13,6 @@ $FreeBSD$
+#define UINT16_MAX USHRT_MAX
+#endif
+
- #include <config.h>
- #ifndef ICONV_CAST
- # define ICONV_CAST char**
+ size_t replace_char_escape (char **inbuf, size_t *inbytesleft,
+ char **outbuf, size_t *outbytesleft)
+ {
diff --git a/comms/scmxx/pkg-plist b/comms/scmxx/pkg-plist
index 32fa09f..2035be4 100644
--- a/comms/scmxx/pkg-plist
+++ b/comms/scmxx/pkg-plist
@@ -1,11 +1,13 @@
@comment $FreeBSD$
bin/scmxx
+share/locale/de/LC_MESSAGES/scmxx.mo
+share/locale/ru/LC_MESSAGES/scmxx.mo
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/gsmcharset.txt
%%PORTDOCS%%%%DOCSDIR%%/gsm0338.txt
%%PORTDOCS%%%%DOCSDIR%%/doc_sources.txt
-%%PORTDOCS%%%%EXAMPLESDIR%%/sms.txt
-%%PORTDOCS%%%%EXAMPLESDIR%%/vCalendar.vcs
-%%PORTDOCS%%%%EXAMPLESDIR%%/vCard.vcf
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%EXAMPLESDIR%%/sms.txt
+%%EXAMPLESDIR%%/vCalendar.vcs
+%%EXAMPLESDIR%%/vCard.vcf
+@dirrm %%EXAMPLESDIR%%
OpenPOWER on IntegriCloud