34 lines
923 B
Makefile
34 lines
923 B
Makefile
# $NetBSD: Makefile,v 1.25 2005/10/23 20:40:20 rillig 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
|
|
|
|
NO_CONFIGURE= yes
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
MAKE_FLAGS+= MAKE=${MAKE_PROGRAM:Q}
|
|
|
|
LHA_CPPFLAGS= -DSYSTIME_HAS_NO_TM -DMKTIME -DUSESTRCASECMP -DSYSV_SYSTEM_DIR
|
|
.if ${OPSYS} == "Darwin"
|
|
LHA_CPPFLAGS+= -DHAVE_NO_LCHOWN
|
|
.endif
|
|
MAKE_FLAGS+= MACHINE="${LHA_CPPFLAGS}"
|
|
|
|
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"
|