openbsd-ports/www/puppet-dashboard/Makefile
jasper 6a8b16b81c import puppet-dashboard 0.2.1
The Puppet Dashboard is a Puppet web interface that provides node
management and reporting tools. Nodes can be exported in YAML format,
allowing the dashboard to be used as an external node classification
tool.

ok bernd@
2010-03-25 21:54:08 +00:00

42 lines
927 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2010/03/25 21:54:08 jasper Exp $
COMMENT= overview of your Puppet ecosystem
V= 0.2.1
DISTNAME= puppet-dashboard-$V
CATEGORIES= www sysutils
HOMEPAGE= http://projects.reductivelabs.com/projects/dashboard
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES= lang/ruby
# Upstream only has stupid git tarballs.
MASTER_SITES= http://www.phil.uu.nl/~lievisse/distfiles/
RUN_DEPENDS= ::databases/ruby-mysql \
::devel/ruby-rake \
::lang/ruby,-iconv
PKG_ARCH= *
EXTRACT_ONLY=
NO_BUILD= Yes
NO_REGRESS= Yes
PREFIX= /var/www
INSTDIR= ${PREFIX}/puppet-dashboard
SUBST_VARS= INSTDIR V
do-install:
@cd ${PREFIX} && tar zxf ${FULLDISTDIR}/${DISTFILES}
@mv ${INSTDIR}-${V} ${INSTDIR}
@find ${PREFIX} -type f -name "*~" -exec rm {} \;
@chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
.include <bsd.port.mk>