blob: 44890e6ae14bd401196ddf0649efd30b0fb3eaad (
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
|
# New ports collection makefile for: rsmb
# Date created: 9 Nov 2009
# Whom: Andrew Stevenson <andrew@ugh.net.au>
#
# $FreeBSD$
#
PORTNAME= rsmb
PORTVERSION= 1.1.0
CATEGORIES= net linux
MASTER_SITES= #
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= andrew@ugh.net.au
COMMENT= Really Small Message Broker, an MQTT supporting server
NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_ZIP= yes
USE_LINUX= yes
LINUX_OSRELEASE=2.6.16
IA32_BINARY_PORT= yes
RESTRICTED= \nPlease visit http://www.alphaworks.ibm.com/tech/rsmb/download
RESTRICTED+= \nto register for an account, agree to the license and download
RESTRICTED+= \n${DISTFILES}.
RESTRICTED+= \nMove the file to ${DISTDIR} and restart the build.\n\n
USE_RC_SUBR= rsmbd
PLIST_SUB= PORTVERSION=${PORTVERSION}
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
DISTFILE_INSTRUCTIONS= ${RESTRICTED}
.endif
pre-fetch:
.if defined(DISTFILE_INSTRUCTIONS)
@${PRINTF} "${DISTFILE_INSTRUCTIONS}"
@${FALSE}
.endif
do-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/gettingstarted.htm ${DOCSDIR}
.endif
${MKDIR} ${PREFIX}/libexec/rsmb
${INSTALL_PROGRAM} ${WRKSRC}/broker.redhat ${PREFIX}/libexec/rsmb/broker
${INSTALL_DATA} ${WRKSRC}/Messages.${PORTVERSION} ${PREFIX}/libexec/rsmb/
${INSTALL_DATA} ${FILESDIR}/broker.cfg ${PREFIX}/etc/broker.cfg.dist
.include <bsd.port.post.mk>
|