freebsd-ports/palm/synce-librra/Makefile
Cheng-Lung Sung 147fdee482 - s,INSTALLS_SHLIB,USE_LDCONFIG,g
- these include misc/ multimedia/ net/ net-mgmt/ net-im/
  net-p2p/ palm/ print/ science/ maintained by ports@

PR:		ports/101916
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
2006-08-15 00:56:24 +00:00

43 lines
1.1 KiB
Makefile

# New ports collection makefile for: synce-rra
# Date created: March 2004
# Whom: Sam Lawrance <boris@brooknet.com.au>
#
# $FreeBSD$
PORTNAME= synce-rra
PORTVERSION= 0.9.1
CATEGORIES= palm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= synce
MAINTAINER= ports@FreeBSD.org
COMMENT= Remote Replication Agent Connection protocol library
LIB_DEPENDS= synce.0:${PORTSDIR}/palm/synce-libsynce \
rapi.2:${PORTSDIR}/palm/synce-librapi2
BUILD_DEPENDS= ${LOCALBASE}/lib/libmimedir.a:${PORTSDIR}/devel/libmimedir
RUN_DEPENDS= ${LOCALBASE}/lib/libmimedir.a:${PORTSDIR}/devel/libmimedir
MAN1= synce-matchmaker.1
USE_ICONV= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-libsynce=${LOCALBASE}
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if ${ARCH}==amd64
BROKEN=needs to have -fPIC added for amd64
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-Werror||g' \
${WRKSRC}/lib/Makefile.in
.if ${OSVERSION} < 500000
@${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' ${WRKSRC}/lib/rrac.h \
${WRKSRC}/lib/generator.h
.endif
.include <bsd.port.post.mk>