mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- 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:
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
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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%%
|
||||
|
|
Loading…
Add table
Reference in a new issue