1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/archivers/libarc/Makefile

34 lines
937 B
Makefile
Raw Normal View History

# New ports collection makefile for: libarc
# Date Created: 20 June 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libarc
PORTVERSION= 2.0.2
PORTREVISION= 1
CATEGORIES= archivers devel
MASTER_SITES= http://www.onicos.com/staff/iz/release/
MAINTAINER= ports@FreeBSD.org
2003-10-26 22:35:56 +00:00
COMMENT= Tiny C decompression library for several popular compression formats
SOLIB= libarc.so
SOVERSION= 1
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I." LN="${LN} -sf" \
SOLIB="${SOLIB}" SOVERSION="${SOVERSION}"
2006-08-14 09:56:58 +00:00
USE_LDCONFIG= yes
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)
.include <bsd.port.mk>