diff options
author | gson <gson> | 2008-11-12 13:37:36 +0000 |
---|---|---|
committer | gson <gson> | 2008-11-12 13:37:36 +0000 |
commit | d13b7e4440381a68b21a0820182e96e8a6c7de20 (patch) | |
tree | b10023a8afc2df64e508693b3446685fe207bfb5 /geography | |
parent | f74866402fcd6c61c85f240e165b076335ae4ba1 (diff) | |
download | pkgsrc-d13b7e4440381a68b21a0820182e96e8a6c7de20.tar.gz |
Make garmin-utils build on Linux
Diffstat (limited to 'geography')
-rw-r--r-- | geography/garmin-utils/Makefile | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/geography/garmin-utils/Makefile b/geography/garmin-utils/Makefile index 3dacabbe238..d4405d036f4 100644 --- a/geography/garmin-utils/Makefile +++ b/geography/garmin-utils/Makefile @@ -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 @@ MAINTAINER= gson@NetBSD.org 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" |