pkgsrc/comms/jpilot-syncmal/Makefile
2017-02-12 06:24:36 +00:00

34 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.67 2017/02/12 06:25:09 ryoon Exp $
DISTNAME= jpilot-syncmal-0.80
PKGREVISION= 25
CATEGORIES= comms
MASTER_SITES= http://www.jlogday.com/code/syncmal/archive/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.jlogday.com/code/syncmal/index.html
COMMENT= MAL synchronization plugin for J-Pilot
BUILDLINK_DEPMETHOD.jpilot= full
USE_TOOLS+= gmake pkg-config
USE_LIBTOOL= yes
SHLIBTOOL_OVERRIDE= # empty
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-gtk2
CONFIGURE_ARGS+= --with-plugin-prefix=${BUILDLINK_PREFIX.jpilot}/include/jpilot
CONFIGURE_ARGS+= --with-pilot-prefix=${BUILDLINK_PREFIX.pilot-link-libs}
CONFIGURE_ARGS+= --with-libmal=${BUILDLINK_PREFIX.libmal}
MAKE_ENV+= PILOT_LINK_DIR=${BUILDLINK_PREFIX.pilot-link-libs}
CFLAGS+= -D__unix__=1
PLUGINSDIR= ${PREFIX}/lib/jpilot/plugins
PLIST_SUBST+= PLUGINSDIR=${PLUGINSDIR:S/${PREFIX}\///}
.include "../../comms/jpilot/buildlink3.mk"
.include "../../comms/libmal/buildlink3.mk"
.include "../../comms/pilot-link-libs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"