blob: b77b242ddc19290813ab8b0623698d0ae0439a28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $NetBSD: Makefile,v 1.30 2006/12/03 03:09:46 obache Exp $
DISTNAME= lha-114i
PKGNAME= lha-114.9
PKGREVISION= 3
CATEGORIES= archivers
MASTER_SITES= http://www2m.biglobe.ne.jp/~dolphin/lha/prog/ \
ftp://ftp.win.ne.jp/pub/misc/
MAINTAINER= pkgsrc-users@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
.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:Q}
INSTALLATION_DIRS= bin ${PKGMANDIR}/ja_JP.EUC/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/lha ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/man/lha.n ${PREFIX}/${PKGMANDIR}/ja_JP.EUC/man1/lha.1
.include "../../mk/bsd.pkg.mk"
|