summaryrefslogblamecommitdiff
path: root/palm/synce-librapi2/Makefile
blob: a6f0bcc1041ef7968671154ab8610f89630ed60c (plain) (tree)
1
2
3
4
5
6
7
8
9





                                                                   
                        
                    
                    
                                             
                      
 

                                                                       


                                                       
                   
                          
                   
                                     
                   
















                                                        


                                                      
                                                                       

       


                           
# New ports collection makefile for:   synce-librapi2
# Date created:                14 June 2003
# Whom:                        Sam Lawrance <boris@brooknet.com.au>
#
# $FreeBSD$

PORTNAME=	librapi2
PORTVERSION=	0.14
CATEGORIES?=	palm
MASTER_SITES=	SF/synce/SynCE/${PORTVERSION}
PKGNAMEPREFIX?=	synce-

MAINTAINER=	webmaster@kibab.com
COMMENT?=	Utilities/libraries to make RAPI calls on WinCE devices

LIB_DEPENDS+=	synce.0:${PORTSDIR}/palm/synce-libsynce

GNU_CONFIGURE=	yes
USE_AUTOTOOLS=	libtool:22
USE_ICONV=	yes
USE_GNOME=	gnomehack gnometarget
USE_LDCONFIG=	yes
CONFIGURE_ARGS=	--with-libiconv="${LOCALBASE}" \
			--with-libsynce="${LOCALBASE}"

.include <bsd.port.pre.mk>

.if defined(RAPI_SLAVE) && ${RAPI_SLAVE} == "pythonb"
CONFIGURE_ARGS+=	--enable-python-bindings
.else
CONFIGURE_ARGS+=	--disable-python-bindings

MAN1=		pcp.1 pkillall.1 pls.1 pmkdir.1 \
		pmv.1 prm.1 prmdir.1 prun.1 \
		psettime.1 pshortcut.1 pstatus.1 \
		rapiconfig.1 synce-install-cab.1 \
		synce-list-programs.1 synce-registry.1 \
		synce-remove-program.1
MAN3=		rapi_connection_from_name.3

post-patch:
.for f in synce-install-cab.in synce-remove-program.in
	@${REINPLACE_CMD} -e 's|bin/bash|bin/sh|' ${WRKSRC}/script/${f}
.endfor

.endif

.include <bsd.port.post.mk>