2001-11-21 19:03:45 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: libcomprex
|
|
|
|
# Date created: Nov 22, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libcomprex
|
2003-02-02 13:59:04 +01:00
|
|
|
PORTVERSION= 0.3.2
|
2001-11-21 19:03:45 +01:00
|
|
|
CATEGORIES= archivers
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= gnupdate
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= Transparently handles automatic compression and decompression of files
|
2001-11-21 19:03:45 +01:00
|
|
|
|
2003-02-02 13:59:04 +01:00
|
|
|
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext \
|
|
|
|
curl.2:${PORTSDIR}/ftp/curl
|
|
|
|
|
2001-11-23 18:30:56 +01:00
|
|
|
.if !exists(/usr/bin/bzip2)
|
|
|
|
LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
|
|
|
|
.endif
|
2001-11-21 19:03:45 +01:00
|
|
|
|
|
|
|
USE_LIBTOOL= yes
|
2003-02-02 13:59:04 +01:00
|
|
|
LIBTOOLFLAGS= # none
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lintl"
|
2001-11-21 19:03:45 +01:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2003-02-02 13:59:04 +01:00
|
|
|
.include "Makefile.man"
|
2001-11-21 19:03:45 +01:00
|
|
|
.include <bsd.port.mk>
|