2005-07-16 21:10:37 +02:00
|
|
|
# $NetBSD: Makefile,v 1.41 2005/07/16 19:10:38 jlam Exp $
|
1998-03-17 04:02:31 +01:00
|
|
|
|
2001-06-27 20:04:38 +02:00
|
|
|
.include "../../comms/pilot-link/Makefile.common"
|
1998-03-19 11:57:54 +01:00
|
|
|
|
2004-10-03 02:12:51 +02:00
|
|
|
PKGREVISION= 3
|
2003-07-13 15:50:19 +02:00
|
|
|
|
2001-02-16 14:51:27 +01:00
|
|
|
COMMENT= Tools to talk to the 3Com Pilot PDA
|
1998-03-17 04:02:31 +01:00
|
|
|
|
2001-06-27 20:04:38 +02:00
|
|
|
BUILDLINK_DEPENDS.pilot-link-libs= pilot-link-libs>=${PILOT_LINK_VERS}
|
|
|
|
|
2005-07-16 21:10:37 +02:00
|
|
|
USE_TOOLS+= gmake perl:run
|
2003-01-10 05:30:16 +01:00
|
|
|
USE_GNU_READLINE= YES
|
2001-06-27 20:04:38 +02:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --with-perl5=${PERL5}
|
|
|
|
CONFIGURE_ARGS+= --with-readline21
|
2002-09-21 09:12:32 +02:00
|
|
|
CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}
|
|
|
|
CONFIGURE_ARGS+= --with-tk=${BUILDLINK_PREFIX.tk}
|
2001-06-27 20:04:38 +02:00
|
|
|
|
2003-01-10 05:30:16 +01:00
|
|
|
BUILD_DIRS= ${WRKSRC}/src
|
|
|
|
BUILD_DIRS+= ${WRKSRC}/bindings
|
|
|
|
BUILD_DIRS+= ${WRKSRC}/doc
|
|
|
|
BUILD_DIRS+= ${WRKSRC}/tests
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
for mf in src/Makefile.in src/*/Makefile.in tests/Makefile.in ; do \
|
|
|
|
${CP} $$mf $$mf.old && \
|
|
|
|
${SED} -e 's|..top_builddir./lib[^/]*/\(lib[^\.]*\.la\)|${PREFIX}/lib/\1|g' \
|
|
|
|
< $$mf.old > $$mf ; \
|
|
|
|
done
|
2000-06-09 01:33:39 +02:00
|
|
|
|
2004-03-16 12:23:43 +01:00
|
|
|
.include "../../comms/pilot-link-libs/buildlink3.mk"
|
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../lang/tcl/buildlink3.mk"
|
|
|
|
.include "../../x11/tk/buildlink3.mk"
|
2002-09-21 09:12:32 +02:00
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|