2013-01-09 20:50:06 +01:00
|
|
|
# Created by: Janos.Mohacsi@bsd.hu
|
2002-09-18 10:31:15 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= scmxx
|
2006-04-29 22:15:15 +02:00
|
|
|
PORTVERSION= 0.9.0
|
2015-04-15 10:20:27 +02:00
|
|
|
PORTREVISION= 3
|
2002-09-18 10:31:15 +02:00
|
|
|
CATEGORIES= comms
|
2009-08-22 02:15:15 +02:00
|
|
|
MASTER_SITES= SF
|
2002-09-18 10:31:15 +02:00
|
|
|
|
2013-01-09 20:50:06 +01:00
|
|
|
MAINTAINER= jmohacsi@bsd.hu
|
2003-02-21 12:08:38 +01:00
|
|
|
COMMENT= Data exchange utility for Siemens mobile phones
|
2002-09-18 10:31:15 +02:00
|
|
|
|
2014-03-13 09:18:38 +01:00
|
|
|
USES= gettext iconv gmake tar:bzip2
|
2002-09-18 10:31:15 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2002-09-18 10:31:15 +02:00
|
|
|
|
2004-10-15 18:17:23 +02:00
|
|
|
DOCS= README docs/*.txt
|
|
|
|
EXAMPLES= sms.txt vCalendar.vcs vCard.vcf
|
2002-09-18 10:31:15 +02:00
|
|
|
|
2014-02-21 14:35:45 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2015-04-15 10:20:27 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if empty(ICONV_LIB)
|
|
|
|
CONFIGURE_ARGS+=ac_cv_lib_iconv_libiconv=no
|
|
|
|
.endif
|
2014-01-03 17:06:00 +01:00
|
|
|
|
2006-04-29 22:15:15 +02:00
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name 'Makefile*' | ${XARGS} \
|
|
|
|
${REINPLACE_CMD} -e "s|CFLAGS=|CFLAGS+=|g"
|
|
|
|
|
2002-09-18 10:31:15 +02:00
|
|
|
post-install:
|
2014-05-23 04:34:44 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
cd ${WRKSRC}/examples && ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
|
2015-08-19 15:29:59 +02:00
|
|
|
post-install-DOCS-on:
|
2014-05-23 04:34:44 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
|
2002-09-18 10:31:15 +02:00
|
|
|
|
2015-04-15 10:20:27 +02:00
|
|
|
.include <bsd.port.post.mk>
|