summaryrefslogtreecommitdiff
path: root/www/analog/Makefile
blob: 8d8415797f6792f765767cc23ea351b803088ea1 (plain)
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
31
32
33
34
35
36
37
# $NetBSD: Makefile,v 1.15 2000/04/01 10:50:34 tron Exp $
# FreeBSD Id: Makefile,v 1.15 1999/03/15 02:01:27 steve Exp

DISTNAME=       analog-4.1
CATEGORIES=	www
MASTER_SITES=   ${HOMEPAGE} \
		http://www.web42.com/analog/ \
		http://www.statslab.cam.ac.uk/~sret1/analog/ \
		http://ftp.sunet.se/pub/www/utilities/analog/

MAINTAINER=     tron@netbsd.org
HOMEPAGE=	http://www.analog.cx/

ALL_TARGET=	analog
MAKE_ENV+=	PREFIX=${PREFIX}

do-install:
	${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 555 \
		${PREFIX}/share/doc/analog
	${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
		${PREFIX}/lib/analog/lang
	${INSTALL} -d -o nobody -g nogroup -m 755 \
		${PREFIX}/lib/analog/images
	cd ${WRKSRC}/docs && \
		${INSTALL_DATA} * ${PREFIX}/share/doc/analog
	cd ${WRKSRC}/images && \
		${INSTALL_DATA} * ${PREFIX}/lib/analog/images
	cd ${WRKSRC}/lang && \
		${INSTALL_DATA} * ${PREFIX}/lib/analog/lang
	cd ${WRKSRC} && \
		${INSTALL_PROGRAM} analog ${PREFIX}/bin
	cd ${WRKSRC} && \
	${INSTALL_DATA} -m 644 ${WRKSRC}/analog.cfg ${PREFIX}/etc/analog.cfg
	${INSTALL_DATA} -m 644 ${WRKSRC}/analog.cfg \
	  ${PREFIX}/etc/analog.cfg.default

.include "../../mk/bsd.pkg.mk"