freebsd-ports/misc/nagios-base-logos/Makefile
Dmitry Sivachenko 7b3c24e395 Utilize NAGIOSWWWDIR variable, just like port of nagios-2.0.r1 does.
Pointed out by:		Kristof Meers <kristof.meers@psy.kuleuven.be>
2006-01-09 16:52:55 +00:00

30 lines
705 B
Makefile

# New ports collection makefile for: nagios-base-logos
# Date created: 4 April 2005
# Whom: Dmirty Sivachenko <demon@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= nagios-base-logos
PORTVERSION= 1.0
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=nagios
DISTNAME= imagepak-base
MAINTAINER= demon@FreeBSD.org
COMMENT= A collection of basic OS and device logos for Nagios
NO_BUILD=yes
NAGIOSWWWDIR?= www/nagios
NAGIOS_LOGOS_DIR= ${PREFIX}/${NAGIOSWWWDIR}/images/logos
PLIST_SUB= NAGIOSWWWDIR=${NAGIOSWWWDIR}
do-install:
${MKDIR} ${NAGIOS_LOGOS_DIR}
cd ${WRKDIR}/base && ${FIND} . | ${CPIO} -pdm \
-R ${SHAREOWN}:${SHAREGRP} ${NAGIOS_LOGOS_DIR}
.include <bsd.port.mk>