2007-07-25 07:18:22 +00:00
|
|
|
# New ports collection makefile for: lasso
|
|
|
|
# Date created: 2007-07-16
|
|
|
|
# Whom: Gea-Suan Lin <gslin@gslin.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= lasso
|
2008-01-24 01:58:36 +00:00
|
|
|
PORTVERSION= 2.1.1
|
2008-06-06 14:17:21 +00:00
|
|
|
PORTREVISION= 1
|
2007-07-25 07:18:22 +00:00
|
|
|
CATEGORIES= security
|
2008-01-24 01:58:36 +00:00
|
|
|
MASTER_SITES= http://labs.libre-entreprise.org/frs/download.php/594/
|
2007-07-25 07:18:22 +00:00
|
|
|
|
2008-01-24 01:58:36 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2007-07-25 07:18:22 +00:00
|
|
|
COMMENT= Free Liberty Alliance Implementation
|
|
|
|
|
|
|
|
RUN_DEPENDS= xmlsec1:${PORTSDIR}/security/xmlsec1
|
|
|
|
BUILD_DEPENDS:= ${RUN_DEPENDS}
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --disable-java --disable-php4 --with-zlib
|
|
|
|
GNU_CONFIGURE= yes
|
2007-08-15 03:26:40 +00:00
|
|
|
USE_GNOME= gnomehack glib20 libxml2
|
2007-07-25 07:18:22 +00:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_OPENSSL= yes
|
2007-08-15 03:26:40 +00:00
|
|
|
USE_PYTHON_BUILD= yes
|
2007-07-25 07:18:22 +00:00
|
|
|
|
|
|
|
.ifdef(WITH_PERL)
|
|
|
|
CONFIGURE_ARGS+= --enable-perl
|
|
|
|
PLIST_SUB+= WITH_PERL=""
|
|
|
|
USE_PERL5= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-perl
|
|
|
|
PLIST_SUB+= WITH_PERL="@comment "
|
|
|
|
.endif
|
|
|
|
|
2007-08-15 03:26:40 +00:00
|
|
|
.ifdef(WITH_PHP5)
|
|
|
|
CONFIGURE_ARGS+= --enable-php5 \
|
|
|
|
--with-php5-config="${LOCALBASE}/bin/php-config"
|
|
|
|
IGNORE_WITH_PHP= 4
|
|
|
|
LDFLAGS+= "-L${LOCALBASE}/lib"
|
|
|
|
LIB_DEPENDS+= expat:${PORTSDIR}/textproc/expat2
|
|
|
|
PLIST_SUB+= WITH_PHP5=""
|
|
|
|
USE_PHP= yes
|
|
|
|
USE_PHP_BUILD= yes
|
|
|
|
.else
|
2007-07-25 07:18:22 +00:00
|
|
|
CONFIGURE_ARGS+= --disable-php5
|
|
|
|
PLIST_SUB+= WITH_PHP5="@comment "
|
2007-08-15 03:26:40 +00:00
|
|
|
.endif
|
2007-07-25 07:18:22 +00:00
|
|
|
|
|
|
|
.ifdef(WITH_PYTHON)
|
|
|
|
CONFIGURE_ARGS+= --enable-python
|
|
|
|
PLIST_SUB+= WITH_PYTHON=""
|
2007-08-15 03:26:40 +00:00
|
|
|
USE_PYTHON= yes
|
2007-07-25 07:18:22 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-python
|
|
|
|
PLIST_SUB+= WITH_PYTHON="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
2009-02-24 13:31:53 +00:00
|
|
|
${RM} -f ${PREFIX}/lib/perl5/${PERL_VERSION}/${PERL_ARCH}/perllocal.pod
|
2007-07-25 07:18:22 +00:00
|
|
|
.ifdef(NOPORTDOCS)
|
|
|
|
${RM} -rf ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|