34 lines
989 B
Makefile
34 lines
989 B
Makefile
# $NetBSD: Makefile,v 1.22 2004/05/30 07:06:26 minskim Exp $
|
|
|
|
DISTNAME= lha-114i
|
|
PKGNAME= lha-114.9
|
|
PKGREVISION= 2
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= http://www2m.biglobe.ne.jp/~dolphin/lha/prog/ \
|
|
ftp://ftp.win.ne.jp/pub/misc/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www2m.biglobe.ne.jp/~dolphin/lha/lha-unix.htm
|
|
COMMENT= Archive files using LZW compression (.lzh files)
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
USE_BUILDLINK3= yes
|
|
NO_CONFIGURE= yes
|
|
|
|
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
|
|
|
|
INSTALLATION_DIRS= bin man/ja_JP.EUC/man1
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/lha ${PREFIX}/bin/
|
|
${INSTALL_MAN} ${WRKSRC}/man/lha.n ${PREFIX}/man/ja_JP.EUC/man1/lha.1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|