diff options
-rw-r--r-- | archivers/dact/Makefile | 17 |
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> |