openbsd-ports/archivers/lha/Makefile
naddy 5395838bbc SECURITY:
Buffer overflow and directory traversal fixes; from Ulf Harnhammar.
2004-05-06 23:07:57 +00:00

36 lines
1015 B
Makefile

# $OpenBSD: Makefile,v 1.23 2004/05/06 23:07:57 naddy Exp $
COMMENT= "archive files using LZW compression (.lzh files)"
VERSION= 1.14i
DISTNAME= lha-${VERSION:S/.//}
PKGNAME= lha-${VERSION}.p0
CATEGORIES= archivers
HOMEPAGE= http://www2m.biglobe.ne.jp/~dolphin/lha/lha.htm
MAINTAINER= Yozo Toda <yozo@v007.vaio.ne.jp>
# Restrictive
PERMIT_PACKAGE_CDROM= "requires advance notification"
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= "requires advance notification"
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www2m.biglobe.ne.jp/~dolphin/lha/prog/ \
ftp://ftp.win.ne.jp/pub/misc/
MAKE_FLAGS= CC="${CC}" OPTIMIZE="${CFLAGS}" \
MACHINE="-DSYSTIME_HAS_NO_TM -DSYSV_SYSTEM_DIR -DMKTIME \
-DUSESTRCASECMP" \
SWITCHES="-DNEED_INCREMENTAL_INDICATOR -DEUC -DSUPPORT_LH7"
FAKE_FLAGS= BINDIR="${WRKINST}${PREFIX}/bin" \
MANDIR="${WRKINST}${PREFIX}/man/ja_JP.EUC" MANSECT="1" \
INSTALL="" INSTALLBIN="${INSTALL_PROGRAM}" \
INSTALLMAN="${INSTALL_MAN}"
NO_REGRESS= Yes
.include <bsd.port.mk>