aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_authn_otp/Makefile
blob: 9ea185b783887a92c8bc55638a92daadbb7e3701 (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
44
# Created by: Alexander Hausner <alex@hugo.bmg.gv.at>
# $FreeBSD$

PORTNAME=   mod_authn_otp
PORTVERSION=    1.1.6
CATEGORIES= www
MASTER_SITES=   http://mod-authn-otp.googlecode.com/files/ \
        http://alex.bmg.gv.at/programs/
PKGNAMEPREFIX=  ${APACHE_PKGNAMEPREFIX}
DIST_SUBDIR=    apache2

MAINTAINER= alex@hugo.bmg.gv.at
COMMENT=    Apache module for one-time password authentication

LICENSE=    APACHE20

BROKEN=     Unfetchable (google code has gone away)
DEPRECATED= Unfetchable for more than six months (google code has gone away)
EXPIRATION_DATE=    2017-04-30

USES=       ssl
GNU_CONFIGURE=  yes
USE_APACHE= 22+

CPPFLAGS+=  -I${OPENSSLINC}
CFLAGS+=    -I${OPENSSLINC}
LDFLAGS+=   -L${OPENSSLLIB}

PORTEXAMPLES=   users.sample

OPTIONS_DEFINE= EXAMPLES

post-configure:
    @${REINPLACE_CMD} 's|CFLAGS =|CFLAGS ?=|' \
        ${WRKSRC}/Makefile

pre-install:
    @${MKDIR} ${STAGEDIR}/${PREFIX}/${APACHEMODDIR}

post-install:
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/users.sample ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>