-
Notifications
You must be signed in to change notification settings - Fork 564
/
Makefile
50 lines (34 loc) · 1015 Bytes
/
Makefile
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
# New ports collection makefile for: opensips
#
# $OpenBSD$
#
# $Id$
#
COMMENT= "OpenSIPS"
PORTNAME= opensips
PORTVERSION= 3.2.8
CATEGORIES= net
MASTER_SITES= https://opensips.org/pub/opensips/3.2.8/
MAINTAINER= bogdan@opensips.org
MAN8=opensips.8
MAN5=opensips.cfg.5
# MANCOMPRESSED must not be defined in openbsd (defined==yes)
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_GMAKE= yes
# we override the DISTFILE NAME
DISTNAME= ${PORTNAME}-${PORTVERSION}
DISTFILES= ${DISTNAME}_src.tar.gz
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
# build by default mysql and jabber
MAKE_ENV= include_modules="mysql jabber"
# depends on mysql and libexpat because of the above modules
BUILD_DEPENDS= :expat-1.*:textproc/expat \
:mysql-client-3.23.*:databases/mysql
LIB_DEPENDS= expat.2:expat-1.*:textproc/expat \
lib/mysql/mysqlclient.10:mysql-client-3.23.*:databases/mysql
pre-fetch:
.include <bsd.port.mk>