blob: 071bbfbf4c9c2c031920fcac8b00b041765613bd (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# New ports collection makefile for: analog
# http://www.analog.cx/
# Version required: 4.*
# Date created: October 21st 1996
# Whom: jfitz
#
# $FreeBSD$
#
DISTNAME= analog-4.04
CATEGORIES= www
MASTER_SITES= http://www.analog.cx/ \
http://brendanr.simplenet.com/analog/ \
http://www.magma.ca/~brendanr/analog/ \
http://www.monash.edu.au/mirror/analog/ \
http://analog.gsp.com/ \
http://analog.technomancer.com/ \
ftp://ftp.netcasting.net/pub/packages/analog/ \
ftp://download.netvision.net.il/pub/mirrors/analog/ \
ftp://mabuse.phil.uni-passau.de/pub/mirrors/analog/
MAINTAINER= ache@freebsd.org
Y2K= http://www.analog.cx/
MAKE_FLAGS= -DPREFIX=${PREFIX} -f
ALL_TARGET= analog
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}/www/data/images
cd ${WRKSRC}/images && \
${INSTALL_DATA} * ${PREFIX}/www/data/images
cd ${WRKSRC}/lang && \
${INSTALL_DATA} * ${PREFIX}/lib/analog/lang
cd ${WRKSRC} && \
${INSTALL_PROGRAM} analog ${PREFIX}/bin
cd ${WRKSRC} && \
for file in analog.cfg ; do \
if [ ! -f ${PREFIX}/etc/$$file ] ; then \
${INSTALL_DATA} -m 644 $$file ${PREFIX}/etc/$$file ; \
fi ; \
${INSTALL_DATA} -m 644 $$file ${PREFIX}/etc/$$file-dist ; \
done
.if !defined(NOPORTDOCS)
cd ${WRKSRC}/docs && \
${INSTALL_DATA} * ${PREFIX}/share/doc/analog
.endif
.include <bsd.port.mk>
|