blob: df9843d184b1f05512608ee5aab56ddc19522672 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# $NetBSD: Makefile,v 1.5 2003/05/05 19:05:17 jmmv Exp $
#
DISTNAME= ${BASENAME}-src-${VER}
PKGNAME= ${BASENAME}-${VER}
PKGREVISION= 1
WRKSRC= ${WRKDIR}/${DISTNAME}
CATEGORIES= net
MASTER_SITES=
MAINTAINER= marc@informatik.uni-bremen.de
HOMEPAGE= http://www.spread.org/
COMMENT= Group communication system providing a number of messaging services
INTERACTIVE_STAGE= fetch
_FETCH_MESSAGE= \
${ECHO} '======================================================='; \
${ECHO} 'Distfile has to be manually fetched from'; \
${ECHO} ' http://www.cnds.jhu.edu/download/download_spread.cgi'; \
${ECHO} '======================================================='
BASENAME= spread
VER= 3.17.0
USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
BUILD_DEPENDS+= perl-[0-9]*:../../lang/perl5:build
LDFLAGS += -lutil
SPREAD_USER= spread
SPREAD_GROUP= spread
FILES_SUBST+= SPREAD_USER=${SPREAD_USER}
FILES_SUBST+= SPREAD_GROUP=${SPREAD_GROUP}
BUILD_DEFS+= SPREAD_USER SPREAD_GROUP
INCLUDEDIR= ${PREFIX}/include/spread
DOCSDIR= ${PREFIX}/share/doc/spread
EXAMPLEDIR= ${PREFIX}/share/examples/spread
RUNDIR= /var/run/spread
RCD_SCRIPTS= spread
PKG_GROUPS= ${SPREAD_USER}
PKG_USERS= ${SPREAD_USER}:${SPREAD_GROUP}
CONF_FILES= ${EXAMPLEDIR}/spread.access_ip.sample ${PKG_SYSCONFBASE}/spread.access_ip
CONF_FILES+= ${EXAMPLEDIR}/spread.conf.sample ${PKG_SYSCONFBASE}/spread.conf
pre-install:
${INSTALL_DATA_DIR} ${INCLUDEDIR}
post-install:
${INSTALL_DATA_DIR} ${DOCSDIR}
${INSTALL_DATA_DIR} ${EXAMPLEDIR}
${INSTALL_DATA} ${WRKSRC}/sample.spread.conf ${EXAMPLEDIR}/spread.conf.sample
${INSTALL_DATA} ${WRKSRC}/sample.spread.access_ip ${EXAMPLEDIR}/spread.access_ip.sample
${INSTALL_DATA} ${WRKSRC}/Readme.txt ${DOCSDIR}/Readme.txt
${INSTALL_DATA} ${WRKSRC}/license.txt ${DOCSDIR}/LICENSE
${INSTALL_DATA} ${WRKSRC}/Short_Buffer_Handling.txt ${DOCSDIR}/Short_Buffer_Handling.txt
${INSTALL} -d -o ${SPREAD_USER} -g ${SPREAD_GROUP} -m 0750 ${RUNDIR}
.include "../../mk/pthread.buildlink2.mk"
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"
|