blob: bac87c7892e3b53c56789673c56513ab2c05ee0b (
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
|
# $NetBSD: Makefile,v 1.10 2022/11/21 18:20:44 jperkin Exp $
#
DISTNAME= ser-0.8.14_src
PKGNAME= ser-0.8.14
PKGREVISION= 4
CATEGORIES= net comms
MASTER_SITES= ftp://ftp.berlios.de/pub/ser/0.8.14/src/
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= http://www.iptel.org/ser/
COMMENT= SIP express router
LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_TOOLS+= flex gmake yacc
PKG_SYSCONFSUBDIR= ser
EGDIR= share/examples/ser
CONF_FILES= ${PREFIX}/${EGDIR}/ser.cfg ${PKG_SYSCONFDIR}/ser.cfg
REQD_DIRS= ${PREFIX}/${EGDIR}
MAKE_ENV+= BUILDLINK_PREFIX.pthread=${BUILDLINK_PREFIX.pthread:Q}
MAKE_ENV+= cfg-prefix=${PREFIX}/share/examples
MAKE_ENV+= EGDIR=${EGDIR:Q}
INSTALL_ENV+= BASEDIR=${DESTDIR}
BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-O2 rm:-Wl,-E
CHECK_PORTABILITY_SKIP+= scripts/sc
INSTALLATION_DIRS+= ${EGDIR}
.include "options.mk"
# modules/*/README will be installed.
post-extract:
${RUN}cd ${WRKSRC}/modules/mediaproxy && ${MV} Readme README;
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|