aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/libcomprex/Makefile
blob: 2c486ee7aa365c92becdb312952910b2acf66a54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# ex:ts=8
# New ports collection makefile for:    libcomprex
# Date created:         Nov 22, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   libcomprex
PORTVERSION=    0.3.2
PORTREVISION=   1
CATEGORIES= archivers
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gnupdate

MAINTAINER= ports@FreeBSD.org
COMMENT=    Transparently handles automatic compression and decompression of files

LIB_DEPENDS=    intl.4:${PORTSDIR}/devel/gettext \
        curl.2:${PORTSDIR}/ftp/curl \
        ltdl.4:${PORTSDIR}/devel/libltdl

.if !exists(/usr/bin/bzip2) 
LIB_DEPENDS+=   bz2.1:${PORTSDIR}/archivers/bzip2
.endif

GNU_CONFIGURE=  yes
# USE_LIBTOOL=  yes
# LIBTOOLFLAGS= # none
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
        LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lintl"
INSTALLS_SHLIB= yes

.include "Makefile.man"
.include <bsd.port.mk>