aboutsummaryrefslogtreecommitdiff
path: root/security/oath-toolkit/Makefile
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-07-06 20:34:03 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-07-06 20:34:03 +0000
commit85564c611343c8efb9026e4e3043ff0a91e6b444 (patch)
tree0bd07163aae4daaf536f7c1e61ad86a50bd94925 /security/oath-toolkit/Makefile
parentce843d967b5b255d63359af934ff5acb162230f7 (diff)
downloadports-85564c611343c8efb9026e4e3043ff0a91e6b444.tar.gz
ports-85564c611343c8efb9026e4e3043ff0a91e6b444.zip
- Add USES=libtool
- Replace post-patch command with configure argument - Replace two patches with post-patch command
Notes
Notes: svn path=/head/; revision=361006
Diffstat (limited to 'security/oath-toolkit/Makefile')
-rw-r--r--security/oath-toolkit/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/security/oath-toolkit/Makefile b/security/oath-toolkit/Makefile
index 055021bc7ab8..2de621305b2c 100644
--- a/security/oath-toolkit/Makefile
+++ b/security/oath-toolkit/Makefile
@@ -3,7 +3,7 @@
PORTNAME= oath-toolkit
PORTVERSION= 2.4.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -11,8 +11,9 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ale@FreeBSD.org
COMMENT= Library, tools, and PAM module for OATH authentication
-USES= gmake pathfix pkgconfig
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-html-dir=${DOCSDIR}
+USES= gmake libtool pathfix pkgconfig
USE_LDCONFIG= yes
OPTIONS_DEFINE= PSKC DOCS
@@ -31,9 +32,9 @@ DOCS= AUTHORS ChangeLog NEWS README
PORTDOCS= *
post-patch:
- @${REINPLACE_CMD} 's|@HTML_DIR@|${DOCSDIR}|' \
- ${WRKSRC}/liboath/gtk-doc/Makefile.in \
- ${WRKSRC}/libpskc/gtk-doc/Makefile.in
+ @${REINPLACE_CMD} '/^Makefile.gdoc:/s,$$(top_builddir)/configure,,' \
+ ${WRKSRC}/liboath/man/Makefile.in \
+ ${WRKSRC}/libpskc/man/Makefile.in
post-install:
.for f in ${DOCS}