aboutsummaryrefslogtreecommitdiffstats
path: root/comms/scmxx/Makefile
blob: d1d7ab2abd52e1a0bb14440124a5d394d474d802 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:    scmxx
# Date created:         21.03.2002
# Whom:                 Janos.Mohacsi@bsd.hu
#
# $FreeBSD$
#

PORTNAME=   scmxx
PORTVERSION=    0.7.5
CATEGORIES= comms
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
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"
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

MAN1=       scmxx.1
MANLANG=    "" ru de it
DOCS=       README docs/*.txt
EXAMPLES=   sms.txt vCalendar.vcs vCard.vcf

post-install:
    @${MKDIR} ${EXAMPLESDIR}
    cd ${WRKSRC}/examples && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>