# New ports collection makefile for: oops # Date created: 15 August 2000 # Whom: Sergey Osokin aka oZZ # # $FreeBSD$ # PORTNAME= oops PORTVERSION= ${OOPSVERSION} PORTREVISION= 6 CATEGORIES= www MASTER_SITES= http://oops-cache.org/ \ ftp://kucha.ru/pub/misc/oops/ DISTNAME= ${PORTNAME}-${OOPSVERSION} MAINTAINER= marck@FreeBSD.org COMMENT= A caching web proxy server BUILD_DEPENDS+= gawk:${PORTSDIR}/lang/gawk OOPSVERSION= 1.5.24 USE_SUBMAKE= yes USE_AUTOTOOLS= autoconf:262 CONFIGURE_ARGS?=--sbindir=${PREFIX}/sbin \ --sysconfdir=${PREFIX}/etc/oops \ --localstatedir=${OOPSVAR} \ --libdir=${PREFIX}/libexec/oops \ --enable-oops-user=oops \ --enable-large-files CONFIGURE_ENV+= CFLAGS="${CFLAGS} -fPIC" \ CXXFLAGS="${CXXFLAGS} -fPIC" \ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ PTHREAD_LIBS="${PTHREAD_LIBS}" OOPSVAR= /var/run/oops OOPSLOG= /var/log/oops .if !defined(NO_INSTALL_MANPAGES) MAN8= oops.8 oopsctl.8 .endif USE_RC_SUBR= oops PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message OPTIONS= GIGABASE "GigaBase storage" on \ DB4 "Berkeley DB v4 storage" off \ MYSQL "MySQL auth support" off \ PGSQL "PostgreSQL auth support" off \ PCRE "PCRE support" off .include .if !defined(WITHOUT_GIGABASE) .if defined (WITH_DB4) BROKEN= Only one DB storage can be used (First) .endif LIB_DEPENDS+= gigabase_r.2:${PORTSDIR}/databases/gigabase CONFIGURE_ARGS+= --without-DB .endif .if defined(WITH_DB4) .if defined(WITHOUT_GIGABASE) LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4 CONFIGURE_ARGS+= --without-GB .else BROKEN= Only one DB storage can be used .endif .endif .if defined(WITH_MYSQL) USE_MYSQL= YES CONFIGURE_ARGS+= --with-MYSQL=${PREFIX} .endif .if defined(WITH_PGSQL) USE_PGSQL= YES CONFIGURE_ARGS+= --with-PGSQL=${PREFIX}/pgsql .endif .if defined(WITH_PCRE) LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre CONFIGURE_ARGS+= --with-regexp=pcre .endif pre-configure: @cd ${WRKSRC} && ${AUTOHEADER} pre-install: @PKG_PREFIX=${PREFIX} BATCH=${BATCH} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL post-install: .if !defined(NO_INSTALL_MANPAGES) @${INSTALL_MAN} ${WRKSRC}/doc/oops.8 ${PREFIX}/man/man8 @${INSTALL_MAN} ${WRKSRC}/doc/oopsctl.8 ${PREFIX}/man/man8 .endif @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL @${MKDIR} -m 750 ${OOPSVAR} @${CHOWN} oops ${OOPSVAR} @${MKDIR} -m 750 ${OOPSLOG} @${CHOWN} oops ${OOPSLOG} ${INSTALL_SCRIPT} ${WRKDIR}/oops ${PREFIX}/etc/rc.d @${CAT} ${PKGMESSAGE} post-clean: @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc .include FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.mat2016-04-011-12/+12
* Some OCD cleanups on some of the perl@ ports.adamw2015-03-131-18/+18
* - Update to 0.19wen2014-12-072-7/+8
* Change the way Perl modules are installed, update the default Perl to 5.18.mat2014-11-262-2/+1
* Cleanup plistbapt2014-10-201-13/+0
* - Add LICENSEsunpoet2014-03-011-12/+5
* Support STAGEDIR.vanilla2013-11-032-35/+33
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* - Use single space after WWW:sunpoet2013-08-291-1/+1
* - Convert to new perl frameworkmat2013-08-031-1/+2
* For perl@ owned ports:eadler2013-03-291-6/+2
* Cleanup supporting perl version 5.8 and 5.10,az2012-12-171-7/+0
* - Fix RUN_DEPENDSsunpoet2012-04-201-2/+1