summaryrefslogtreecommitdiff
path: root/archivers/dact/Makefile
blob: 74f507fa712839965a1ccdfb7a97b5e60bb9b92f (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
36
37
38
# ex:ts=8
# New ports collection makefile for:	dact
# Date created:			May 2, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	dact
PORTVERSION=	0.8.11
PORTREVISION=	1
CATEGORIES=	archivers
#MASTER_SITES=	http://www.rkeene.org/devel/
MASTER_SITES=	http://www.lbsd.k12.ms.us/~rkeene/www.rkeene.org/devel/ \
		http://www.jian.tv/pub/linux/distfiles/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Dynamic Adaptive Compression Tool

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

USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

MAN1=		dact.1

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/dact ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/dact.conf ${PREFIX}/etc
	${INSTALL_MAN} ${WRKSRC}/Docs/dact.1 ${MANPREFIX}/man/man1

.include <bsd.port.mk>