summaryrefslogblamecommitdiff
path: root/archivers/dact/Makefile
blob: c8b78bdb8afb255455bfb01557f5ea3c534b4f19 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                            
                      
                 
                         
                                                     

                                 
                                                 
 

                                                         


                                                 
 
                           
                   
                   
                                                               
                                            
 
                      
 






                                                          
                      
# ex:ts=8
# New ports collection makefile for:	dact
# Date created:			May 2, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	dact
PORTVERSION=	0.8.35
PORTREVISION=	0
CATEGORIES=	archivers
MASTER_SITES=	http://www.rkeene.org/files/oss/dact/

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

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

USE_GETOPT_LONG=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

MAN1=		dact.1

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/Docs/dact.txt ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>