summaryrefslogtreecommitdiff
path: root/www/mgstat/Makefile
blob: ffe96ac2e8a9a551c9eb103ad27b84bb99cf6f3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# New ports collection makefile for:	mgstat
# Date created:		11 May 2001
# Whom:			jeh@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=	mgstat
PORTVERSION=	0.11
CATEGORIES=	www
MASTER_SITES=	http://wizard.ae.krakow.pl/~mike/download/

MAINTAINER=	ports@FreeBSD.org

LIB_DEPENDS=	gd.2:${PORTSDIR}/graphics/gd

HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX}

MGDOCDIR=	${PREFIX}/share/doc/mgstat

post-install:
.if !defined(NOPORTDOCS)
	@if ! [ -d ${MGDOCDIR} ]; then ${MKDIR} ${MGDOCDIR}; fi
	${INSTALL_DATA} ${WRKSRC}/Copyright ${MGDOCDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${MGDOCDIR}
	${INSTALL_DATA} ${WRKSRC}/USAGE ${MGDOCDIR}
.endif

.include <bsd.port.mk>