Lines 4-38
Link Here
|
4 |
# |
4 |
# |
5 |
# $FreeBSD: ports/palm/synce-librapi2/Makefile,v 1.20 2007/07/23 09:36:23 rafan Exp $ |
5 |
# $FreeBSD: ports/palm/synce-librapi2/Makefile,v 1.20 2007/07/23 09:36:23 rafan Exp $ |
6 |
|
6 |
|
7 |
PORTNAME= synce-librapi2 |
7 |
PORTNAME= librapi2 |
8 |
PORTVERSION= 0.9.3 |
8 |
PORTVERSION= 0.11.1 |
9 |
CATEGORIES= palm |
9 |
CATEGORIES= palm |
10 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
10 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITE_SUBDIR= synce |
11 |
MASTER_SITE_SUBDIR= synce |
12 |
DISTNAME= synce-librapi-${PORTVERSION} |
12 |
PKGNAMEPREFIX?= synce- |
13 |
|
13 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= webmaster@kibab.com |
15 |
COMMENT= Utilities/libraries to make RAPI calls on WinCE devices |
15 |
COMMENT?= Utilities/libraries to make RAPI calls on WinCE devices |
16 |
|
16 |
|
17 |
BUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config |
|
|
18 |
LIB_DEPENDS+= synce.0:${PORTSDIR}/palm/synce-libsynce |
17 |
LIB_DEPENDS+= synce.0:${PORTSDIR}/palm/synce-libsynce |
19 |
|
18 |
|
20 |
ONLY_FOR_ARCHS= i386 amd64 |
|
|
21 |
|
22 |
MAN1= pcp.1 pls.1 pmkdir.1 pmv.1 prm.1 prmdir.1 prun.1 pstatus.1 rapiconfig.1 synce-install-cab.1 synce-remove-program.1 synce-list-programs.1 |
23 |
|
24 |
GNU_CONFIGURE= yes |
19 |
GNU_CONFIGURE= yes |
|
|
20 |
USE_AUTOTOOLS= libtool:15 |
25 |
USE_ICONV= yes |
21 |
USE_ICONV= yes |
26 |
WRKSRC= ${WRKDIR}/librapi-${PORTVERSION} |
22 |
USE_GNOME= gnomehack gnometarget |
27 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
|
|
28 |
CONFIGURE_ARGS+= --with-libiconv=${LOCALBASE} \ |
29 |
--with-libsynce=${LOCALBASE} |
30 |
|
31 |
USE_LDCONFIG= yes |
23 |
USE_LDCONFIG= yes |
|
|
24 |
CONFIGURE_ARGS= --with-libiconv="${LOCALBASE}" \ |
25 |
--with-libsynce="${LOCALBASE}" |
26 |
|
27 |
.include <bsd.port.pre.mk> |
28 |
|
29 |
.if defined(RAPI_SLAVE) && ${RAPI_SLAVE} == "pythonb" |
30 |
CONFIGURE_ARGS+= --enable-python-bindings |
31 |
.else |
32 |
CONFIGURE_ARGS+= --disable-python-bindings |
33 |
|
34 |
MAN1= pcp.1 pkillall.1 pls.1 pmkdir.1 \ |
35 |
pmv.1 prm.1 prmdir.1 prun.1 \ |
36 |
psettime.1 pshortcut.1 pstatus.1 \ |
37 |
rapiconfig.1 synce-install-cab.1 \ |
38 |
synce-list-programs.1 synce-registry.1 \ |
39 |
synce-remove-program.1 |
40 |
MAN3= rapi_connection_from_name.3 |
32 |
|
41 |
|
33 |
post-patch: |
42 |
post-patch: |
34 |
.for f in synce-install-cab.in synce-remove-program.in |
43 |
.for f in synce-install-cab.in synce-remove-program.in |
35 |
@${REINPLACE_CMD} -e 's+bin/bash+bin/sh+' ${WRKSRC}/script/${f} |
44 |
@${REINPLACE_CMD} -e 's|bin/bash|bin/sh|' ${WRKSRC}/script/${f} |
36 |
.endfor |
45 |
.endfor |
37 |
|
46 |
|
38 |
.include <bsd.port.mk> |
47 |
.endif |
|
|
48 |
|
49 |
.include <bsd.port.post.mk> |