summaryrefslogtreecommitdiffstats
path: root/archivers/dact
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-05-30 18:00:33 +0000
committerijliao <ijliao@FreeBSD.org>2002-05-30 18:00:33 +0000
commit66480174ffd7b4c10d0a0608e0d26772d07c86f6 (patch)
tree8d3818fd0b925262ae61f8fac49aad153b7f4e34 /archivers/dact
parentdc4eb33714e5a2885973cf47c1b3d52496c1923d (diff)
downloadFreeBSD-ports-66480174ffd7b4c10d0a0608e0d26772d07c86f6.zip
FreeBSD-ports-66480174ffd7b4c10d0a0608e0d26772d07c86f6.tar.gz
- Conditionalize dependency for archivers/bzip2
- Support install macros - Bump portrevision PR: 38704 Submitted by: Ports Fury
Diffstat (limited to 'archivers/dact')
-rw-r--r--archivers/dact/Makefile17
1 files changed, 13 insertions, 4 deletions
diff --git a/archivers/dact/Makefile b/archivers/dact/Makefile
index 5674658..575a148 100644
--- a/archivers/dact/Makefile
+++ b/archivers/dact/Makefile
@@ -8,19 +8,28 @@
PORTNAME= dact
PORTVERSION= 0.8.11
+PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= http://www.rkeene.org/devel/
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= bz2:${PORTSDIR}/archivers/bzip2 \
- mcrypt:${PORTSDIR}/security/libmcrypt
+LIB_DEPENDS= mcrypt.7:${PORTSDIR}/security/libmcrypt
+.if !exists(/usr/bin/bzip2)
+LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
+.endif
+USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-USE_GMAKE= yes
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>
OpenPOWER on IntegriCloud