37f54e0f66
- Convert to USES=libtool and bump dependent ports - Avoid USE_AUTOTOOLS - Don't use PTHREAD_LIBS - Use MAKE_CMD databases/glom: - Drop :keepla - Add INSTALL_TARGET=install-strip databases/libgda4* databases/libgda5*: - Convert to USES=libtool and bump dependent ports - USES=tar:xz - Use INSTALL_TARGET=install-strip - Use @sample databases/libgdamm: - Drop :keepla - USES=tar:bzip2 - Use INSTALL_TARGET=install-strip databases/libgdamm5: - Add INSTALL_TARGET=install-strip - Drop --enable-static (inherited from old repocopy) devel/anjuta x11-toolkits/py-gnome-extras: - Drop :keepla dns/powerdns dns/powerdns-devel: - Convert to USES=libtool - Add INSTALL_TARGET=install-strip - Disable static modules - Stop creating library symlinks with .0 suffix, not needed for dynamically opened modules mail/dovecot2: - Add USES=libtool mail/dovecot2-pigeonhole: - Drop CONFIGURE_TARGET (incorrect for Dragonfly) - Add USES=libtool and INSTALL_TARGET=install-strip math/gnumeric: - USES=libtool tar:xz Approved by: portmgr (implicit, bump unstaged ports)
35 lines
932 B
Makefile
35 lines
932 B
Makefile
# Created by: Piotr Florczyk <pf@itwf.pl>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lualdap
|
|
PORTVERSION= 1.1.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://files.luaforge.net/releases/${PORTNAME}/${PORTNAME}/LuaLDAP${PORTVERSION}/
|
|
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= pf@itwf.pl
|
|
COMMENT= LDAP support for the Lua language
|
|
|
|
USES= gmake lua
|
|
USE_OPENLDAP= yes
|
|
|
|
# the CPPFLAGS fixes builds where PREFIX != LOCALBASE
|
|
CPPFLAGS+= -I${LOCALBASE}/include/${LUA_SUBDIR}
|
|
MAKE_ARGS+= LUA_LIBDIR="${LUA_LIBDIR}" \
|
|
LUA_INC="${LUA_INCDIR}" \
|
|
OPENLDAP_LIB="-L${LOCALBASE}/lib -lldap" \
|
|
LUA_VERSION_NUM="${LUA_VER_STR}0" \
|
|
CC="${CC}"
|
|
|
|
ALL_TARGET=
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/lualdap.so.${PORTVERSION} ${STAGEDIR}${LUA_MODLIBDIR}/${PORTNAME}.so
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/us/* ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|