diff options
author | gson <gson@pkgsrc.org> | 2008-11-12 13:37:36 +0000 |
---|---|---|
committer | gson <gson@pkgsrc.org> | 2008-11-12 13:37:36 +0000 |
commit | 7b9606b5dcb17e6ef32906970f5e4b7582f0fdf2 (patch) | |
tree | b10023a8afc2df64e508693b3446685fe207bfb5 /geography | |
parent | 3056232d606ce5cf19c78c7b4aaaea07665366e4 (diff) | |
download | pkgsrc-7b9606b5dcb17e6ef32906970f5e4b7582f0fdf2.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" |