mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
43 lines
887 B
Makefile
43 lines
887 B
Makefile
# Created by: Janos.Mohacsi@bsd.hu
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= scmxx
|
|
PORTVERSION= 0.9.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= comms
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= jmohacsi@bsd.hu
|
|
COMMENT= Data exchange utility for Siemens mobile phones
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
USES= gettext iconv
|
|
GNU_CONFIGURE= yes
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
MAN1= scmxx.1
|
|
MANLANG= "" ru de it
|
|
DOCS= README docs/*.txt
|
|
EXAMPLES= sms.txt vCalendar.vcs vCard.vcf
|
|
|
|
NO_STAGE= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name 'Makefile*' | ${XARGS} \
|
|
${REINPLACE_CMD} -e "s|CFLAGS=|CFLAGS+=|g"
|
|
|
|
post-install:
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
cd ${WRKSRC}/examples && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|