blob: 8e7cbad227682166272611385dd90b90f16b9ffd (
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
|
# $NetBSD: Makefile,v 1.20 2017/01/02 02:20:08 schmonz Exp $
#
DISTNAME= cvm-0.97
CATEGORIES= security
MASTER_SITES= ${HOMEPAGE}
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://untroubled.org/cvm/
COMMENT= Credential Validation Modules
LICENSE= gnu-gpl-v2
MAKE_JOBS_SAFE= no
DEPENDS+= daemontools-[0-9]*:../../sysutils/daemontools
DJB_RESTRICTED= NO
DJB_MAKE_TARGETS= NO
INSTALL_ENV+= install_prefix=${DESTDIR:Q}
USE_LIBTOOL= yes
SUBST_CLASSES+= paths
SUBST_STAGE.paths= do-configure
SUBST_FILES.paths= qmail-init.c
SUBST_SED.paths= -e 's|/var/qmail|${QMAILDIR}|g'
SUBST_MESSAGE.paths= Fixing paths.
SUBST_CLASSES+= shlibs
SUBST_STAGE.shlibs= do-configure
SUBST_FILES.shlibs= INSTHIER
SUBST_SED.shlibs= -e 's|@CVM_LIB_EXT@|${CVM_LIB_EXT}|g'
SUBST_MESSAGE.shlibs= Fixing shlibs.
RCD_SCRIPTS= cvm
PKG_GROUPS+= cvmlog
PKG_USERS+= cvmlog:cvmlog
BUILD_DEFS+= QMAILDIR
PLIST_SUBST+= CVM_LIB_EXT=${CVM_LIB_EXT:Q}
DJB_CONFIG_CMDS= \
${ECHO} ${DJB_CONFIG_PREFIX}/include > conf-include; \
${ECHO} ${DJB_CONFIG_PREFIX}/lib > conf-lib;
.include "../../mk/bsd.prefs.mk"
.if ${_OPSYS_SHLIB_TYPE} == "dylib"
CVM_LIB_EXT=dylib
.else
CVM_LIB_EXT=so
.endif
LDFLAGS.SunOS+= -lsocket -lnsl
.include "../../devel/bglibs/buildlink3.mk"
.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"
|