- 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
This commit is contained in:
Sergei Kolobov 2004-10-15 16:17:23 +00:00
parent 642ae82e0e
commit b78a87f702
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119511
4 changed files with 25 additions and 22 deletions

View file

@ -6,35 +6,36 @@
# #
PORTNAME= scmxx PORTNAME= scmxx
PORTVERSION= 0.7.3 PORTVERSION= 0.7.4
CATEGORIES= comms CATEGORIES= comms
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= scmxx MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= janos.mohacsi@bsd.hu MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= Data exchange utility for Siemens mobile phones COMMENT= Data exchange utility for Siemens mobile phones
USE_BZIP2= yes USE_BZIP2= yes
USE_GMAKE= yes
USE_ICONV= yes USE_ICONV= yes
USE_GETTEXT= yes
USE_GETOPT_LONG=yes USE_GETOPT_LONG=yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CFLAGS="-I${LOCALBASE}/include" \ CFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= scmxx.1 MAN1= scmxx.1
MANLANG= "" ru de MANLANG= "" ru de
DOCS= README docs/*.txt
EXAMPLES= sms.txt vCalendar.vcs vCard.vcf
.ifndef(NOPORTDOCS)
post-install: post-install:
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR} @${MKDIR} ${EXAMPLESDIR}
.for file in sms.txt vCalendar.vcs vCard.vcf cd ${WRKSRC}/examples && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/${file} ${EXAMPLESDIR} .if !defined(NOPORTDOCS)
.endfor @${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif .endif
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
MD5 (scmxx-0.7.3.tar.bz2) = b1f8172568985f6c95934816c6629b98 MD5 (scmxx-0.7.4.tar.bz2) = 3139f8ce4da47b684851fed208e6d41e
SIZE (scmxx-0.7.3.tar.bz2) = 109384 SIZE (scmxx-0.7.4.tar.bz2) = 152086

View file

@ -1,9 +1,9 @@
$FreeBSD$ $FreeBSD$
--- src/charsets/ucs4_dec.c.orig Thu Jul 22 18:16:40 2004 --- src/charsets/ucs4_dec.c.orig
+++ src/charsets/ucs4_dec.c Thu Jul 22 18:20:04 2004 +++ src/charsets/ucs4_dec.c
@@ -19,6 +19,12 @@ @@ -21,6 +21,12 @@
#include <errno.h> #include <errno.h>
#include <iconv.h> #include <iconv.h>
@ -13,6 +13,6 @@ $FreeBSD$
+#define UINT16_MAX USHRT_MAX +#define UINT16_MAX USHRT_MAX
+#endif +#endif
+ +
#include <config.h> size_t replace_char_escape (char **inbuf, size_t *inbytesleft,
#ifndef ICONV_CAST char **outbuf, size_t *outbytesleft)
# define ICONV_CAST char** {

View file

@ -1,11 +1,13 @@
@comment $FreeBSD$ @comment $FreeBSD$
bin/scmxx bin/scmxx
share/locale/de/LC_MESSAGES/scmxx.mo
share/locale/ru/LC_MESSAGES/scmxx.mo
%%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/gsmcharset.txt %%PORTDOCS%%%%DOCSDIR%%/gsmcharset.txt
%%PORTDOCS%%%%DOCSDIR%%/gsm0338.txt %%PORTDOCS%%%%DOCSDIR%%/gsm0338.txt
%%PORTDOCS%%%%DOCSDIR%%/doc_sources.txt %%PORTDOCS%%%%DOCSDIR%%/doc_sources.txt
%%PORTDOCS%%%%EXAMPLESDIR%%/sms.txt
%%PORTDOCS%%%%EXAMPLESDIR%%/vCalendar.vcs
%%PORTDOCS%%%%EXAMPLESDIR%%/vCard.vcf
%%PORTDOCS%%@dirrm %%DOCSDIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%%
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% %%EXAMPLESDIR%%/sms.txt
%%EXAMPLESDIR%%/vCalendar.vcs
%%EXAMPLESDIR%%/vCard.vcf
@dirrm %%EXAMPLESDIR%%