1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/security/cvm/Makefile
Marcelo Araujo ce49aa314d - Update to 0.97.
- Take maintainership.
2017-03-26 04:49:02 +00:00

58 lines
1.5 KiB
Makefile

# Created by: Sergei Kolobov <sergei@FreeBSD.org>
# $FreeBSD$
PORTNAME= cvm
PORTVERSION= 0.97
CATEGORIES= security
MASTER_SITES= http://untroubled.org/${PORTNAME}/ \
http://untroubled.org/${PORTNAME}/archive/
MAINTAINER= araujo@FreeBSD.org
COMMENT= Credential Validation Modules
LICENSE= GPLv2
LIB_DEPENDS= libbg.so:devel/bglibs
CONFLICTS= bglibs-1.00*
USES= libtool:build localbase:ldflags
BGLIBS_INC= ${LOCALBASE}/include/bglibs
BGLIBS_LIB= ${LOCALBASE}/lib/bglibs
USE_LDCONFIG= yes
DOCS= NEWS README TODO *.html
ALL_TARGET= all
OPTIONS_DEFINE= DOCS VCHKPW
OPTIONS_SUB= yes
VCHKPW_DESC= Compile cvm-vchkpw
VCHKPW_ALL_TARGET= cvm-vchkpw
VCHKPW_BUILD_DEPENDS= ${LOCALBASE}/vpopmail/lib/libvpopmail.a:mail/vpopmail
do-configure:
${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home
${ECHO_CMD} "${STAGEDIR}${PREFIX}/bin" > ${WRKSRC}/conf-bin
${ECHO_CMD} "${STAGEDIR}${PREFIX}/include" > ${WRKSRC}/conf-include
${ECHO_CMD} "${STAGEDIR}${PREFIX}/lib" > ${WRKSRC}/conf-lib
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${BGLIBS_INC}" > ${WRKSRC}/conf-bgincs
${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs
post-install:
.for l in command local module qmail sasl sql udp v1client v2client
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}-${l}.so*
.endfor
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>