1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/security/pam_ocra/Makefile
Bartek Rutkowski fac501788f security/pam_ocra: update 1.1 -> 1.2
- Include upstream accepted Clang 3.6.0 fixes by Dimitry Andric <dim@FreeBSD.org>

PR:		198113
Submitted by:	Stefan Grundmann <sg2342@googlemail.com>
2015-03-05 12:43:55 +00:00

42 lines
909 B
Makefile

# Created by: Stefan Grundmann
# $FreeBSD$
PORTNAME= pam_ocra
PORTVERSION= 1.2
CATEGORIES= security
MAINTAINER= sg2342@googlemail.com
COMMENT= RFC6287 (OCRA) PAM module
LICENSE= BSD2CLAUSE
USES= uidfix
USE_GITHUB= yes
GH_ACCOUNT= sg2342
GH_PROJECT= pam_ocra
GH_COMMIT= 0e47902
PLIST_FILES= lib/pam_ocra.so \
lib/pam_ocra.so.0 \
sbin/ocra_tool \
man/man8/pam_ocra.8.gz \
man/man8/ocra_tool.8.gz
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 1000015
WITH_OPENSSL_PORT= yes
CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
.endif
# we need to .include bsd.openssl.mk manually here.because USE_OPENSSL only
# works when it is defined before bsd.port{.pre}.mk is .included.
# This makes it currently impossible to combine this macro with OSVERSION to
# conditionally select WITH_OPENSSL_PORT for OSVERSIONS before 1000015.
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
.include <bsd.port.post.mk>