# $NetBSD: Makefile,v 1.15 2003/06/02 01:21:47 jschauma Exp $ DISTNAME= lha-114i PKGNAME= lha-114.9 PKGREVISION= 1 CATEGORIES= archivers MASTER_SITES= http://www2m.biglobe.ne.jp/~dolphin/lha/prog/ \ ftp://ftp.win.ne.jp/pub/misc/ MAINTAINER= tech-pkg@netbsd.org COMMENT= Archive files using LZW compression (.lzh files) USE_BUILDLINK2= # defined MAKE_FLAGS= MAKE="${MAKE_PROGRAM}" .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "Darwin" MAKE_FLAGS+= MACHINE="-DSYSTIME_HAS_NO_TM -DMKTIME -DUSESTRCASECMP -DSYSV_SYSTEM_DIR -DHAVE_NO_LCHOWN" .else MAKE_FLAGS+= MACHINE="-DSYSTIME_HAS_NO_TM -DMKTIME -DUSESTRCASECMP -DSYSV_SYSTEM_DIR" .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/lha ${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/man/lha.n ${PREFIX}/man/ja_JP.EUC/man1/lha.1 .include "../../mk/bsd.pkg.mk"