1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/comms/scmxx/Makefile
Vanilla I. Shu 594dec8ee9 Stageify.
Approved by:	portmgr@
2014-05-23 02:34:44 +00:00

39 lines
888 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
USES= gettext iconv gmake tar:bzip2
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
DOCS= README docs/*.txt
EXAMPLES= sms.txt vCalendar.vcs vCard.vcf
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
@${FIND} ${WRKSRC} -name 'Makefile*' | ${XARGS} \
${REINPLACE_CMD} -e "s|CFLAGS=|CFLAGS+=|g"
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>