summaryrefslogtreecommitdiff
path: root/comms/jpilot-syncmal/Makefile
blob: 78c862d852b0551d2791f9da61ee1c0529e85efc (plain)
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
# $NetBSD: Makefile,v 1.10 2001/10/24 22:10:48 jlam Exp $

DISTNAME=		jpilot-syncmal_0.60
PKGNAME=		jpilot-syncmal-0.60
CATEGORIES=		comms
MASTER_SITES=		http://people.atl.mediaone.net/jasonday/code/syncmal/
DISTFILES=		${DISTNAME}${EXTRACT_SUFX}
DISTFILES+=		malsync_2.0.5.src${EXTRACT_SUFX}

MAINTAINER=		jlam@netbsd.org
HOMEPAGE=		http://people.atl.mediaone.net/jasonday/code/syncmal/syncmal.html
COMMENT=		MAL synchronization plugin for J-Pilot

DEPENDS+=		jpilot>=0.99:../../comms/jpilot

USE_BUILDLINK_ONLY=	# defined
GNU_CONFIGURE=		# defined
USE_GMAKE=		# defined
USE_LIBTOOL=		# defined
LTCONFIG_OVERRIDE=	${WRKSRC}/ltconfig

PLUGINSDIR=		${PREFIX}/lib/jpilot/plugins
PLIST_SUBST+=		PLUGINSDIR=${PLUGINSDIR:S/${PREFIX}\///}

CONFIGURE_ARGS+=	--with-gtk-prefix="${BUILDLINK_DIR}"
CONFIGURE_ARGS+=	--with-mal-source="${WRKSRC}/../malsync"
CONFIGURE_ARGS+=	--with-plugin-prefix="${BUILDLINK_DIR}/include/jpilot"
CONFIGURE_ARGS+=	--with-pilot-prefix="${BUILDLINK_DIR}"

CFLAGS+=		-D__unix__=1

do-install:
	${INSTALL_DATA} ${WRKSRC}/.libs/libsyncmal.so ${PLUGINSDIR}

.include "../../comms/jpilot/buildlink.mk"
.include "../../comms/pilot-link-libs/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"