# $FreeBSD$ PORTNAME= cowlib PORTVERSION= 1.0.0 CATEGORIES= devel MAINTAINER= olgeni@FreeBSD.org COMMENT= Erlang support library for manipulating Web protocols BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang PLIST_SUB= VERSION="${PORTVERSION}" USES= gmake USE_GITHUB= yes GH_ACCOUNT= ninenines GH_PROJECT= cowlib GH_COMMIT= d544a49 GH_TAGNAME= ${PORTVERSION} do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/cowlib-${PORTVERSION} @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/cowlib-${PORTVERSION}/ebin @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/cowlib-${PORTVERSION}/include @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/cowlib-${PORTVERSION}/src ${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/cowlib-${PORTVERSION}/ebin ${INSTALL_DATA} ${WRKSRC}/include/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/cowlib-${PORTVERSION}/include ${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/cowlib-${PORTVERSION}/src .include