# New ports collection makefile for: sympa # Date created: 29 November 2003 # Whom: Autrijus Tang # # $FreeBSD$ # PORTNAME= sympa PORTVERSION?= 4.1.2 CATEGORIES= mail MASTER_SITES?= http://www.sympa.org/distribution/ MAINTAINER= autrijus@autrijus.org COMMENT?= Sympa is an electronic mailing list manager BUILD_DEPENDS+= ${SITE_PERL}/Mail/Mailer.pm:${PORTSDIR}/mail/p5-Mail-Tools \ ${SITE_PERL}/IO/Stringy.pm:${PORTSDIR}/devel/p5-IO-stringy \ ${SITE_PERL}/MIME/Tools.pm:${PORTSDIR}/mail/p5-MIME-Tools \ ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \ ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \ ${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL \ ${SITE_PERL}/Crypt/CipherSaber.pm:${PORTSDIR}/security/p5-Crypt-CipherSaber \ ${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap \ ${SITE_PERL}/${PERL_ARCH}/BerkeleyDB.pm:${PORTSDIR}/databases/p5-BerkeleyDB \ ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \ ${SITE_PERL}/${PERL_ARCH}/Locale/Msgcat.pm:${PORTSDIR}/misc/p5-Locale-Msgcat \ ${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip RUN_DEPENDS= ${BUILD_DEPENDS} DB_TYPE= .if defined(WITH_FASTCGI) .if defined(WITH_APACHE2) BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi .else BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi .endif BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/FCGI.pm:${PORTSDIR}/www/p5-FastCGI .endif .if ${DB_TYPE} == "Oracle" BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Oracle.pm:${PORTSDIR}/databases/p5-DBD-Oracle .else .if ${DB_TYPE} == "Pg" BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg .else .if ${DB_TYPE} == "Sybase" BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Sybase.pm:${PORTSDIR}/databases/p5-DBD-Sybase .else .if ${DB_TYPE} == "mysql" BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql .endif .endif .endif .endif HAS_CONFIGURE= yes USE_PERL5= yes CONFIGURE_ARGS+=--prefix=${PREFIX}/sympa \ --with-confdir=${PREFIX}/etc \ --with-initdir=${PREFIX}/etc/rc.d \ --with-etcdir=${PREFIX}/sympa/bin/etc \ ${CONFIGURE_TARGET} CONFIGURE_ENV+= lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN} MAKE_ENV?= PERL_EXTUTILS_AUTOINSTALL=--skip pre-fetch: @${ECHO} "" @${ECHO} "You may use the following build options:" @${ECHO} "" @${ECHO} " DB_TYPE=type Optional: mysql, Oracle, Pg or Sybase" @${ECHO} " WITH_FASTCGI Use FastCGI instead of plain CGI" @${ECHO} "" pre-install: @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL post-patch: ${MV} ${WRKSRC}/src/etc/script/sympa ${WRKSRC}/src/etc/script/sympa.sh @${FIND} ${WRKSRC} -name "*.orig" -a -exec ${RM} -f {} \; post-install: @PKG_PREFIX=${PREFIX} DB_TYPE=${DB_TYPE} WITH_FASTCGI=${WITH_FASTCGI} \ ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL post-deinstall: @PKG_PREFIX=${PREFIX} ${SH} ${PKGDEINSTALL} ${PKGNAME} POST-DEINSTALL .include .if ${ARCH} == "amd64" BROKEN= "Configure fails on amd64" .endif .if ${PERL_LEVEL} < 500600 BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 .else BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI .endif .include FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* update to 5.28.0bf2012-09-134-10/+10
* update lang/sbcl to 1.0.58 and switch to the new options format;bf2012-09-131-1/+1
* - update png to 1.5.10dinoex2012-06-011-1/+1
* - Convert to new option frame (mutualty exclusive options aka single)bapt2012-05-291-10/+19
* update lang/sbcl to 1.0.57, and adjust dependent portsbf2012-05-231-1/+2
* update math/maxima to 5.27.0, and adjust a dependent portbf2012-04-235-274/+242
* update lang/sbcl to 1.0.55, and adjust dependent portsbf2012-01-241-0/+1
* update to 5.26.0; replace some non-standard GNU extensions in sed(1)bf2011-12-206-10/+85
* update lang/sbcl to 1.0.54, and adjust dependent ports (this allows sbcl tobf2011-12-092-20/+30
* update lang/sbcl to 1.0.53, and adjust dependent portsbf2011-11-231-0/+1
* Remove more tags from pkg-descr files fo the form:dougb2011-10-241-2/+0
* update to 5.25.1bf2011-08-302-3/+3
* update to 5.25.0bf2011-08-053-5/+14
* Add a note about the new memory limitbf2011-04-132-0/+12
* - Update to 5.24.0bf2011-04-114-13/+35
* Update to 5.23.2bf2011-01-193-10/+79
* Sync to new bsd.autotools.mkade2010-12-041-1/+1
* Punt autoconf267->autoconf268ade2010-10-161-1/+1
* - Bump Maxima revision after lang/sbcl update.stas2010-10-161-1/+1
* Round one migration of ports from automake{19,110} to automake111ade2010-10-061-1/+1
* Bump portrevision. A rebuild is needed after rebuilding lang/sbcl,olgeni2010-09-241-1/+1
* Autotools update. Read ports/UPDATING 20100915 for details.ade2010-09-161-1/+2
* Update to 5.22.1bf2010-08-203-4/+6
* Add lisp to CATEGORIESbf2010-08-091-1/+1
* -Update to 5.22.0bf2010-08-074-22/+19
* Change my ports to use my FreeBSD.org email address.bf2010-07-08