freebsd-ports/www/mod_authn_otp/Makefile
Mathieu Arnold a288d12a6b This version works with apache 2.4.
Sponsored by:	Absolight
2014-08-25 17:14:02 +00:00

37 lines
801 B
Makefile

# 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
GNU_CONFIGURE= yes
USE_APACHE= 22+
PORTEXAMPLES= users.sample
OPTIONS_DEFINE= EXAMPLES
.include <bsd.port.options.mk>
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>