# New ports collection makefile for: sqwebmail # Date created: 23 Sep 2000 # Whom: Neil Blakey-Milner # # $FreeBSD$ # PORTNAME= sqwebmail PORTVERSION= 3.2.0 CATEGORIES= mail www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= courier MAINTAINER= nbm@FreeBSD.org # # User-serviceable variables # # [ There's no need to add trailing ``/''s ] # # set CGIBINDIR to where you'd like the cgi to be placed # set CGIBINSUBDIR to subdirectory of CGIBINDIR, if necessary # set WEBDATADIR to where you'd like web pages to be placed # set WEBDATASUBDIR to where you'd like web pages to be placed # set IMAGEURL to where on the web server URL the images are found # CGIBINDIR?= ${PREFIX}/www/cgi-bin.default CGIBINSUBDIR?= sqwebmail WEBDATADIR?= ${PREFIX}/www/data.default WEBDATASUBDIR?= sqwebmail IMAGEURL?= ${WEBDATASUBDIR} # # set WITHOUT_CACHEDIR to disable the cache dir (can't set it with WITH_LDAP) # set CACHEOWNER to who you'd like to own the cache files # set CACHEDIR to where you'd like your cache directory to be # set WITH_LDAP for LDAP authentication and addressbook support # set WITH_VCHKPW for vpopmail authentication # set WITH_ISPELL to provide spell-checking # set WITH_MIMETYPES to enable the search for a mime.types file # set VCHKPW to the home of the vpopmail user, if necessary # CACHEDIR?= /var/sqwebmail/cache CACHEOWNER?= bin VCHKPWLOC?= ${LOCALBASE}/vpopmail # End of user variables HAS_CONFIGURE= YES CONFIGURE_ARGS= \ --enable-cgibindir=${CGIBINDIR}/${CGIBINSUBDIR} \ --enable-imagedir=${WEBDATADIR}/${WEBDATASUBDIR} \ --without-authmysql \ --libexecdir=${PREFIX}/libexec/sqwebmail \ --mandir=${PREFIX}/share/sqwebmail \ --prefix=${PREFIX}/share/sqwebmail \ --enable-imageurl=/${IMAGEURL}/ .if defined(WITHOUT_CACHEDIR) PLIST_SUB+= CACHE="@comment " CONFIGURE_ARGS+= --without-cachedir .else PLIST_SUB+= CACHE="" CONFIGURE_ARGS+= --with-cachedir=${CACHEDIR} \ --with-cacheowner=${CACHEOWNER} .endif .if defined(WITH_LDAP) LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap CONFIGURE_ARGS+= --with-authldap CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" .else CONFIGURE_ARGS+= --without-authldap .endif .if defined(WITH_VCHKPW) BUILD_DEPENDS+= ${VCHKPWLOC}/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail RUN_DEPENDS+= ${VCHKPWLOC}/bin/vchkpw:${PORTSDIR}/mail/vpopmail CONFIGURE_ARGS+= --with-authvchkpw PLIST_SUB+= VPOPMAILFLAG="" .else CONFIGURE_ARGS+= --without-authvchkpw PLIST_SUB+= VPOPMAILFLAG="@comment " .endif .if defined(WITH_MYSQL) CONFIGURE_ARGS+= --with-authmysql PLIST_SUB+= MYSQLFLAG="" .else CONFIGURE_ARGS+= --without-authmysql PLIST_SUB+= MYSQLFLAG="@comment " .endif .if defined(WITH_POSTGRESQL) CONFIGURE_ARGS+= --with-authpgsql PLIST_SUB+= PGSQLFLAG="" .else CONFIGURE_ARGS+= --without-authpgsql PLIST_SUB+= PGSQLFLAG="@comment " .endif .if defined(WITH_ISPELL) BUILD_DEPENDS+= ${LOCALBASE}/bin/ispell:${PORTSDIR}/textproc/ispell RUN_DEPENDS+= ${LOCALBASE}/bin/ispell:${PORTSDIR}/textproc/ispell CONFIGURE_ARGS+= --with-ispell=${LOCALBASE}/bin/ispell .else CONFIGURE_ARGS+= --without-ispell .endif .if !defined(WITH_MIMETYPES) CONFIGURE_ARGS+= --disable-mimetypes .endif MANPREFIX= ${PREFIX}/share/sqwebmail MAN1= maildirmake.1 MAN8= makeuserdb.8 userdb.8 userdbpw.8 authlib.8 MLINKS= authlib.8 authcram.8 \ authlib.8 authdaemon.8 \ authlib.8 authdaemond.8 \ authlib.8 authldap.8 \ authlib.8 authpam.8 \ authlib.8 authpwd.8 \ authlib.8 authshadow.8 \ authlib.8 authuserdb.8 \ authlib.8 authvchkpw.8 \ makeuserdb.8 pw2userdb.8 \ makeuserdb.8 vchkpw2userdb.8 CONFIGURE_ARGS+= ${CONFIGURE_TARGET} .include ce39d9494db8ef61ac9adec66ed17686b52a'>iozone21
Commit message (Expand)AuthorAgeFilesLines
* - Pass maintainership to submittertabthorpe2009-02-171-1/+1
* - Add SHA256pav2005-11-241-0/+1
* Use PLIST_FILESvs2005-06-042-2/+1
* Add SIZE.trevor2004-01-281-0/+1
* - Add CONFLICTS, because of the same item in pkg-plistkrion2003-10-111-0/+2
* De-pkg-comment.knu2003-02-212-1/+1
* gzcat -> ${GZCAT}arved2002-11-191-1/+1
* o Rollback PORTCOMMENT modifications while this feature's implementationlioux2002-11-112-2/+1
* Use PORTCOMMENT in the Makefile, and whack the pkg-comment.adamw2002-11-072-1/+2
* Fix build on current.kris2002-06-161-2/+2
* To ports@freebsd.org.obrien2002-05-091-1/+1
* Set LATEST_LINK to "iozone21" to avoid conflict with the package nameknu2002-01-201-0/+2