blob: c4f69834fbeb5364d054d02075ca54441b418bdc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $FreeBSD$
PORTNAME= oath-toolkit
PORTVERSION= 1.12.6
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ale@FreeBSD.org
COMMENT= Library, tools, and PAM module for OATH authentication
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GMAKE= yes
USE_GNOME= gnomehack
GNU_CONFIGURE= yes
MAN1= oathtool.1
DOCS= AUTHORS ChangeLog NEWS README
PORTDOCS= *
post-patch:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} 's|install-data-am: install-data-local|install-data-am:|' \
${WRKSRC}/liboath/gtk-doc/Makefile.in
.else
@${REINPLACE_CMD} 's|@HTML_DIR@|${DOCSDIR}|' \
${WRKSRC}/liboath/gtk-doc/Makefile.in
.endif
.if !defined(NOPORTDOCS)
post-install:
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
${MKDIR} ${DOCSDIR}/pam_oath
${INSTALL_DATA} ${WRKSRC}/pam_oath/README ${DOCSDIR}/pam_oath/
.endif
.include <bsd.port.mk>
|