2010-08-31 04:15:44 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2010/08/31 08:15:45 ajacoutot Exp $
|
2010-03-25 17:54:08 -04:00
|
|
|
|
|
|
|
COMMENT= overview of your Puppet ecosystem
|
|
|
|
|
2010-05-26 16:00:02 -04:00
|
|
|
V= 1.0.0
|
2010-03-25 17:54:08 -04:00
|
|
|
DISTNAME= puppet-dashboard-$V
|
|
|
|
CATEGORIES= www sysutils
|
2010-05-26 16:00:02 -04:00
|
|
|
EXTRACT_SUFX= .tgz
|
2010-03-25 17:54:08 -04:00
|
|
|
|
2010-04-12 12:25:54 -04:00
|
|
|
HOMEPAGE= http://www.puppetlabs.com/puppet/related-projects/dashboard/
|
2010-03-25 17:54:08 -04:00
|
|
|
|
|
|
|
# GPLv3
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
|
|
|
MODULES= lang/ruby
|
|
|
|
|
2010-05-26 16:00:02 -04:00
|
|
|
MASTER_SITES= http://puppetlabs.com/downloads/dashboard/
|
2010-03-25 17:54:08 -04:00
|
|
|
|
|
|
|
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}
|
2010-05-26 16:00:02 -04:00
|
|
|
@mv ${PREFIX}/reductivelabs-puppet-dashboard-v${V}-0-gd5918df ${INSTDIR}
|
2010-03-25 17:54:08 -04:00
|
|
|
@find ${PREFIX} -type f -name "*~" -exec rm {} \;
|
|
|
|
@chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|