diff options
Diffstat (limited to 'ports-mgmt/tinderbox-devel/Makefile')
-rw-r--r-- | ports-mgmt/tinderbox-devel/Makefile | 112 |
1 files changed, 0 insertions, 112 deletions
diff --git a/ports-mgmt/tinderbox-devel/Makefile b/ports-mgmt/tinderbox-devel/Makefile deleted file mode 100644 index 426ec518a8b3..000000000000 --- a/ports-mgmt/tinderbox-devel/Makefile +++ /dev/null @@ -1,112 +0,0 @@ -# Ports collection makefile for: misc/tinderbox -# Whom: Edwin Groothuis <edwin@mavetju.org> -# Date created: 31 december 2005 -# -# $FreeBSD$ - -PORTNAME= tinderbox -#DISTVERSION= ${PORTVERSION}-${PORTREVISION} -PORTVERSION= 3.0.0 -PORTREVISION= 2 -CATEGORIES= ports-mgmt -MASTER_SITES= http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/ -#DIST_SUBDIR= tinderbox - -MAINTAINER= itetcu@FreeBSD.org -COMMENT= Port build tinderbox system - -OPTIONS= PGSQL "With pgsql" Off \ - MYSQL "With mysql" On \ - CSUP "Use csup for updates" On \ - CVSUP "Use cvsup for updates" Off \ - WEBUI "Install web interface" On \ - APACHE "Use Apache for web interface" On \ - LIGHTTPD "Use LightHTTPD for web interface" Off - -NO_BUILD= yes -WANT_PERL= yes -SUB_FILES= pkg-message - -MAN1= tc-configCcache.1 tc-configDistfile.1 tc-configGet.1 \ - tc-configJail.1 tc-configTinderd.1 tc-init.1 - -.include <bsd.port.pre.mk> - -.if !defined(WITH_PGSQL) && defined(WITHOUT_MYSQL) -IGNORE= is useless without a database. Please (re)run 'make config' and choose one of PGSQL and MYSQL -.endif - -.if defined(WITH_WEBUI) -RUN_DEPENDS+= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB -WANT_PHP_WEB= yes -USE_PHP= session -PLIST_SUB+= WEBUI="" -.else -PLIST_SUB+= WEBUI="@comment " -.endif - -.if defined(WITH_PGSQL) -USE_PGSQL= yes -.if defined(WITH_WEBUI) -USE_PHP+= pgsql -.endif -RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg -.endif - -.if !defined(WITHOUT_MYSQL) -.if defined(WITH_WEBUI) -USE_PHP+= mysql -.endif -USE_MYSQL= yes -IGNORE_WITH_MYSQL= 323 40 -RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql${MYSQL_VER:S/323//} -.endif - -.if ! (${OSVERSION} > 700014 || ( ${OSVERSION} >= 601101 && ${OSVERSION} < 700000 )) -.if !defined(WITHOUT_CSUP) -RUN_DEPENDS+= csup:${PORTSDIR}/net/csup -.endif -.endif - -.if defined(WITH_CVSUP) -RUN_DEPENDS+= cvsup:${PORTSDIR}/net/cvsup-without-gui -.endif - -.if !defined(WITHOUT_APACHE) && defined(WITH_WEBUI) -USE_APACHE= 1.3+ -.elif defined(WITH_LIGHTTPD) && defined(WITH_WEBUI) -RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd -.endif - -pre-everything:: -.if (!defined(WITHOUT_APACHE) || defined(WITH_LIGHTTPD)) && !defined(WITH_WEBUI) - @${ECHO_CMD} "It doesn't make sense to depend on Apache or LightHTTPD if not using either web interface." - @${FALSE} -.endif - -post-extract: -.if !defined(WITH_WEBUI) - @${RM} -R ${WRKSRC}/webui -.endif - -post-patch: - ${RM} ${WRKSRC}/lib/Tinderbox/TinderboxDS.pm.orig \ - ${WRKSRC}/lib/tc_command.pl.orig \ - ${WRKSRC}/sql/schema.pgsql.pre.orig \ - ${WRKSRC}/sql/genschema.orig - -do-install: - @${MKDIR} ${PREFIX}/tinderbox/scripts - @${ECHO_CMD} "Installing man pages ..." - cd ${WRKSRC}/man/man1 && ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1 && \ - cd ${WRKSRC} && ${RM} -r ${WRKSRC}/man - @${ECHO_CMD} "Installing rc script ..." - ${INSTALL_SCRIPT} ${WRKSRC}/etc/rc.d/tinderd.sh ${PREFIX}/etc/rc.d/${PORTNAME} - @${ECHO_CMD} "Installing tinderbox ..." - ${CP} -R ${WRKSRC}/* ${PREFIX}/tinderbox/scripts - @${ECHO_CMD} "All Done" - -post-install: - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> |