diff options
author | Marcelo Araujo <araujo@FreeBSD.org> | 2007-10-29 10:07:27 +0000 |
---|---|---|
committer | Marcelo Araujo <araujo@FreeBSD.org> | 2007-10-29 10:07:27 +0000 |
commit | 10990a435ba4a554d15fe9548c500543db5fc838 (patch) | |
tree | 1c6400333859123cb7bf1d7e891385e9800e7965 /net-mgmt/ocsinventory-ng/Makefile | |
parent | 568afb5372094e6fb8105ec37afeb9660d9e729b (diff) |
Notes
Diffstat (limited to 'net-mgmt/ocsinventory-ng/Makefile')
-rw-r--r-- | net-mgmt/ocsinventory-ng/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/net-mgmt/ocsinventory-ng/Makefile b/net-mgmt/ocsinventory-ng/Makefile new file mode 100644 index 000000000000..4e050452aa6b --- /dev/null +++ b/net-mgmt/ocsinventory-ng/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: ocsinventory-ng +# Date created: 28 Sep 2007 +# Whom: araujo +# +# $FreeBSD$ + +PORTNAME= ocsinventory-ng +PORTVERSION= 1.01 +CATEGORIES= net-mgmt +MASTER_SITES= SF +MASTER_SITE_SUBDIR= ocsinventory +DISTNAME= OCSNG_LINUX_SERVER_${PORTVERSION} + +MAINTAINER= araujo@FreeBSD.org +COMMENT= Open Computer and Software Inventory Next Generation + +RUN_DEPENDS= ${PORTSDIR}/www/mod_perl \ + ${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple \ + ${SITE_PERL}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \ + ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ + ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql50 \ + ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI \ + ${SITE_PERL}/Net/IP.pm:${PORTSDIR}/net-mgmt/p5-Net-IP \ + ${SITE_PERL}/SOAP/Lite.pm:${PORTSDIR}/net/p5-SOAP-Lite + +USE_APACHE= 1.3+ +USE_MYSQL= yes +WANT_PHP_WEB= yes +DEFAULT_PHP_VER= 5 +IGNORE_WITH_PHP= 3 +USE_PHP= mysql pcre zlib session xml gd zip +NO_BUILD= yes +WRKSRC= ${WRKDIR}/${DISTNAME} + +do-install: + @${MKDIR} ${DATADIR} + @(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "Apache dtd ipdiscover-util ocs-errors ocsreports" ${DATADIR}/) + @${INSTALL_SCRIPT} ${WRKSRC}/setup.sh ${DATADIR}/ +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ +.endif + +.include <bsd.port.mk> |