openbsd-ports/www/puppet-dashboard/Makefile
jeremy d765f5df76 Bump all ruby ports not already handled.
In the upgrade from ruby 1.8.6 to 1.8.7, the PLISTs changed
due to differences in how RDoc processes files.

This also has a number of changes to the regress tests to
work with the changes to devel/ruby-rake.  It moves most of
the regress tests to use MODRUBY_REGRESS.

OK jcs@, landry@, jasper@, sthen@
2010-09-23 22:30:24 +00:00

43 lines
969 B
Makefile

# $OpenBSD: Makefile,v 1.5 2010/09/23 22:30:29 jeremy Exp $
COMMENT= overview of your Puppet ecosystem
V= 1.0.0
DISTNAME= puppet-dashboard-$V
REVISION= 0
CATEGORIES= www sysutils
EXTRACT_SUFX= .tgz
HOMEPAGE= http://www.puppetlabs.com/puppet/related-projects/dashboard/
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES= lang/ruby
MASTER_SITES= http://puppetlabs.com/downloads/dashboard/
RUN_DEPENDS= ::databases/ruby-mysql \
::devel/ruby-rake \
${MODRUBY_ICONV_DEPENDS}
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 ${PREFIX}/reductivelabs-puppet-dashboard-v${V}-0-gd5918df ${INSTDIR}
@find ${PREFIX} -type f -name "*~" -exec rm {} \;
@chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
.include <bsd.port.mk>