2000-06-20 15:03:58 +00:00
|
|
|
# New ports collection makefile for: libarc
|
|
|
|
# Date Created: 20 June 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libarc
|
|
|
|
PORTVERSION= 2.0.2
|
2005-09-22 07:22:28 +00:00
|
|
|
PORTREVISION= 1
|
2000-06-20 15:03:58 +00:00
|
|
|
CATEGORIES= archivers devel
|
2003-02-03 11:54:23 +00:00
|
|
|
MASTER_SITES= http://www.onicos.com/staff/iz/release/
|
2000-06-20 15:03:58 +00:00
|
|
|
|
2003-07-29 09:12:37 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-10-26 22:35:56 +00:00
|
|
|
COMMENT= Tiny C decompression library for several popular compression formats
|
2000-06-20 15:03:58 +00:00
|
|
|
|
2005-09-27 15:11:53 +00:00
|
|
|
SOLIB= libarc.so
|
|
|
|
SOVERSION= 1
|
|
|
|
|
|
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I." LN="${LN} -sf" \
|
|
|
|
SOLIB="${SOLIB}" SOVERSION="${SOVERSION}"
|
2005-04-19 08:32:08 +00:00
|
|
|
|
2006-08-14 09:56:58 +00:00
|
|
|
USE_LDCONFIG= yes
|
2000-06-20 15:03:58 +00:00
|
|
|
|
2005-09-27 15:11:53 +00:00
|
|
|
do-install:
|
|
|
|
$(INSTALL_PROGRAM) ${WRKSRC}/arccat $(PREFIX)/bin
|
|
|
|
$(INSTALL_PROGRAM) ${WRKSRC}/$(SOLIB).$(SOVERSION) $(PREFIX)/lib
|
|
|
|
$(LN) -sf $(PREFIX)/lib/$(SOLIB).$(SOVERSION) $(PREFIX)/lib/$(SOLIB)
|
|
|
|
@${MKDIR} ${PREFIX}/include/libarc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libarc/* ${PREFIX}/include/libarc
|
|
|
|
(cd ${WRKSRC} && $(INSTALL_DATA) unlzh.h zip.h $(PREFIX)/include/libarc)
|
|
|
|
|
2000-06-20 15:03:58 +00:00
|
|
|
.include <bsd.port.mk>
|