blob: 5f906845f3f460adda0bf1ec0d57205e4e618664 (
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
|
# Created by: Matthew Ranostay <mranostay@saberlogic.com>
# $FreeBSD$
PORTNAME= sabernetdcs
PORTVERSION= 2.0.3
PORTREVISION= 9
CATEGORIES= finance www
MASTER_SITES= SF/${PORTNAME}/SaberNet%20DCS/${PORTVERSION}
PKGNAMESUFFIX= -client
DISTNAME= sndcs-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= SaberNet DCS - A labor data collection system
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyro>=0:${PORTSDIR}/devel/py-pyro
USE_GNOME= pygtk2
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_BZIP2= yes
DOCSDIR= ${PREFIX}/share/doc/sndcs
DATADIR= ${PREFIX}/share/sndcs
PYDISTUTILS_PKGNAME= sndcs
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MDOCS)
EXTRA_PATCHES= ${FILESDIR}/extra-patch-setup.py
.endif
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/setup.py
do-configure:
cd ${WRKSRC} && ${CP} "${FILESDIR}/sndcs2.conf" "sndcs/config/sndcs2.conf"
post-install:
@${ECHO} " - - - - - - - - - - - - - - - - - - - - - - - - -"
@${ECHO} " SaberNet DCS Client is now installed. "
@${ECHO} " Change the settings in ${PREFIX}/etc/sndcs/sndcs2.conf "
@${ECHO} " to suit your needs. "
@${ECHO} " - - - - - - - - - - - - - - - - - - - - - - - - -"
.include <bsd.port.mk>
|