2002-05-02 03:55:26 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: dact
|
|
|
|
# Date created: May 2, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= dact
|
2010-06-05 16:20:50 +00:00
|
|
|
PORTVERSION= 0.8.42
|
2002-05-02 03:55:26 +00:00
|
|
|
CATEGORIES= archivers
|
2005-01-18 21:04:22 +00:00
|
|
|
MASTER_SITES= http://www.rkeene.org/files/oss/dact/release/
|
2002-05-02 03:55:26 +00:00
|
|
|
|
2006-06-16 22:17:25 +00:00
|
|
|
MAINTAINER= miwi@FreeBSD.org
|
2003-02-20 17:07:10 +00:00
|
|
|
COMMENT= Dynamic Adaptive Compression Tool
|
2002-05-02 03:55:26 +00:00
|
|
|
|
2003-12-13 12:58:08 +00:00
|
|
|
LIB_DEPENDS= mcrypt.8:${PORTSDIR}/security/libmcrypt \
|
2011-07-07 01:29:03 +00:00
|
|
|
lzo2.2:${PORTSDIR}/archivers/lzo2
|
|
|
|
|
2002-05-30 18:00:33 +00:00
|
|
|
USE_GMAKE= yes
|
2002-05-02 03:55:26 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2009-03-25 15:04:08 +00:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2008-08-21 06:18:49 +00:00
|
|
|
CONFIGURE_ARGS= --libdir=${PREFIX}/lib
|
2011-09-23 22:26:39 +00:00
|
|
|
CPPFLAGS+= ${CXXFLAGS} -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2008-05-23 20:51:11 +00:00
|
|
|
MAKE_ARGS= TOBUILD="dact libdact.so dact.conf"
|
2002-05-02 03:55:26 +00:00
|
|
|
|
2003-01-27 22:36:08 +00:00
|
|
|
MAN1= dact.1
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
USE_LDCONFIG= yes
|
2002-05-02 03:55:26 +00:00
|
|
|
|
2006-08-07 07:58:28 +00:00
|
|
|
post-patch:
|
2007-08-04 11:41:30 +00:00
|
|
|
@${REINPLACE_CMD} -e "s|prefix = @prefix@|prefix = ${PREFIX}|" \
|
2008-05-23 20:51:11 +00:00
|
|
|
-e "s|libdir = @libdir@|libdir = ${PREFIX}/lib|" \
|
|
|
|
${WRKSRC}/Makefile.in
|
2006-08-07 07:58:28 +00:00
|
|
|
|
2005-09-27 14:03:00 +00:00
|
|
|
pre-install:
|
|
|
|
@${RM} -f ${WRKSRC}/libdact.a
|
|
|
|
|
2004-01-09 00:24:57 +00:00
|
|
|
post-install:
|
2008-05-23 20:51:11 +00:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${CP} -n ${WRKSRC}/dact.conf ${EXAMPLESDIR}
|
|
|
|
.endif
|
2004-01-09 00:24:57 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Docs/dact.txt ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2002-05-02 03:55:26 +00:00
|
|
|
.include <bsd.port.mk>
|