2013-08-30 03:02:57 +02:00
|
|
|
# Created by: ijliao
|
2002-05-02 05:55:26 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= dact
|
2010-06-05 18:20:50 +02:00
|
|
|
PORTVERSION= 0.8.42
|
2002-05-02 05:55:26 +02:00
|
|
|
CATEGORIES= archivers
|
2005-01-18 22:04:22 +01:00
|
|
|
MASTER_SITES= http://www.rkeene.org/files/oss/dact/release/
|
2002-05-02 05:55:26 +02:00
|
|
|
|
2006-06-17 00:17:25 +02:00
|
|
|
MAINTAINER= miwi@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= Dynamic Adaptive Compression Tool
|
2002-05-02 05:55:26 +02:00
|
|
|
|
2013-12-11 11:04:56 +01:00
|
|
|
LIB_DEPENDS= libmcrypt.so:${PORTSDIR}/security/libmcrypt \
|
|
|
|
liblzo2.so:${PORTSDIR}/archivers/lzo2
|
2011-07-07 03:29:03 +02:00
|
|
|
|
2013-09-20 15:11:20 +02:00
|
|
|
NO_STAGE= yes
|
2013-08-30 03:02:57 +02:00
|
|
|
USES= gmake
|
2002-05-02 05:55:26 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2008-08-21 08:18:49 +02:00
|
|
|
CONFIGURE_ARGS= --libdir=${PREFIX}/lib
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= ${CXXFLAGS} -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2008-05-23 22:51:11 +02:00
|
|
|
MAKE_ARGS= TOBUILD="dact libdact.so dact.conf"
|
2002-05-02 05:55:26 +02:00
|
|
|
|
2003-01-27 23:36:08 +01: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 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2002-05-02 05:55:26 +02:00
|
|
|
|
2014-02-21 14:34:56 +01:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2014-01-03 15:42:07 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2006-08-07 09:58:28 +02:00
|
|
|
post-patch:
|
2007-08-04 13:41:30 +02:00
|
|
|
@${REINPLACE_CMD} -e "s|prefix = @prefix@|prefix = ${PREFIX}|" \
|
2008-05-23 22:51:11 +02:00
|
|
|
-e "s|libdir = @libdir@|libdir = ${PREFIX}/lib|" \
|
|
|
|
${WRKSRC}/Makefile.in
|
2006-08-07 09:58:28 +02:00
|
|
|
|
2005-09-27 16:03:00 +02:00
|
|
|
pre-install:
|
|
|
|
@${RM} -f ${WRKSRC}/libdact.a
|
|
|
|
|
2004-01-09 01:24:57 +01:00
|
|
|
post-install:
|
2014-01-03 15:42:07 +01:00
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
2008-05-23 22:51:11 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2013-05-05 00:48:03 +02:00
|
|
|
${CP} -n ${WRKSRC}/dact.conf ${EXAMPLESDIR} || ${TRUE}
|
2008-05-23 22:51:11 +02:00
|
|
|
.endif
|
2014-01-03 15:42:07 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2004-01-09 01:24:57 +01:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Docs/dact.txt ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2002-05-02 05:55:26 +02:00
|
|
|
.include <bsd.port.mk>
|