1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/archivers/unalz/Makefile

34 lines
775 B
Makefile
Raw Normal View History

# New ports collection makefile for: unalz
# Date created: 23 October 2004
# Whom: Hye-Shik Chang
#
# $FreeBSD$
#
PORTNAME= unalz
2006-04-22 04:21:00 +00:00
PORTVERSION= 0.55
CATEGORIES= archivers
MASTER_SITES= http://www.kipple.pe.kr/win/unalz/
EXTRACT_SUFX= .tgz
MAINTAINER= perky@FreeBSD.org
COMMENT= Extracts AlZip archives
2005-01-26 09:07:35 +00:00
USE_ICONV= yes
PLIST_FILES= bin/unalz
2005-01-26 09:07:35 +00:00
MAKEFILE= Makefile.freebsd
MAKE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
WRKSRC= ${WRKDIR}/unalz
2005-11-23 04:52:56 +00:00
pre-patch:
cd ${WRKSRC} && for f in `find . -name '*.c' -o -name '*.h'`; do \
${TR} -d '\015' < ${WRKSRC}/$$f > ${WRKSRC}/$$f.tmp && \
${MV} -f ${WRKSRC}/$$f.tmp ${WRKSRC}/$$f; \
done
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unalz ${PREFIX}/bin
.include <bsd.port.mk>