pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/geography/garmin-utils Make garmin-utils build on Linux
details: https://anonhg.NetBSD.org/pkgsrc/rev/4ae08772794d
branches: trunk
changeset: 549997:4ae08772794d
user: gson <gson%pkgsrc.org@localhost>
date: Wed Nov 12 13:37:36 2008 +0000
description:
Make garmin-utils build on Linux
diffstat:
geography/garmin-utils/Makefile | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 221756f85656 -r 4ae08772794d geography/garmin-utils/Makefile
--- a/geography/garmin-utils/Makefile Wed Nov 12 13:32:36 2008 +0000
+++ b/geography/garmin-utils/Makefile Wed Nov 12 13:37:36 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2008/04/07 17:13:08 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2008/11/12 13:37:36 gson Exp $
#
DISTNAME= garmin-utils-2.4
@@ -9,9 +9,23 @@
HOMEPAGE= http://www.snafu.org/
COMMENT= Utilities for Garmin GPS receivers
-ONLY_FOR_PLATFORM= NetBSD-*-*
+ONLY_FOR_PLATFORM= NetBSD-*-* Linux-*-*
MAKE_FLAGS+= MKCATPAGES=no
INSTALLATION_DIRS= bin lib ${PKGMANDIR}/man1
+.include "../../mk/bsd.prefs.mk"
+
+.if (${OPSYS} == "Linux")
+USE_TOOLS+= gmake
+MAKE_FILE= GNUmakefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/gardump/gardump ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/gardump/gardump.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/garload/garload ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/garload/garload.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_LIB} ${WRKSRC}/lib/libgarmin.a ${PREFIX}/lib
+.endif
+
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index