aboutsummaryrefslogtreecommitdiff
path: root/archivers/dact
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-30 18:00:33 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-30 18:00:33 +0000
commita11c6021ce42cd2f178d73c20829d4d8d655a4b5 (patch)
tree292bd9cd1a3d38a063c0210fae91492690185f8c /archivers/dact
parent37ed332e418730a3a5dff5fad96aa7ad9786778d (diff)
downloadports-a11c6021ce42cd2f178d73c20829d4d8d655a4b5.tar.gz
ports-a11c6021ce42cd2f178d73c20829d4d8d655a4b5.zip
- Conditionalize dependency for archivers/bzip2
- Support install macros - Bump portrevision PR: 38704 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=60312
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 56746580e186..575a1482f6a5 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>