blob: cc025e4f7b37b409dc000668e5f1d1e17d84ead0 (
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# Created by: Paul Dlug <paul@aps.org>
PORTNAME= radmind
PORTVERSION= 1.15.4
PORTREVISION= 2021062801
CATEGORIES= sysutils
MASTER_SITES= https://github.com/voretaq7/${PORTNAME}/releases/download/${PORTNAME}-${PORTVERSION}/
MAINTAINER= mikeg@bsd-box.net
COMMENT= Utility for administering filesystem changes
LICENSE= Michigan
LICENSE_NAME= University of Michigan License
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= gmake ssl
USE_RC_SUBR= radmind
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-radminddir=${RADMIND_BASE_DIR}
CONFLICTS_INSTALL= schilyutils # bin/fsdiff
MAKE_JOBS_UNSAFE= yes
SUB_FILES+= pkg-install pkg-message
SUB_LIST= RADMIND_BASE_DIR=${RADMIND_BASE_DIR} RADMINUSER=${RADMINUSER}
USERS= ${RADMINUSER}
GROUPS= ${RADMINUSER}
PLIST_SUB= RADMIND_BASE_DIR=${RADMIND_BASE_DIR:S@/@@} RADMINUSER=${RADMINUSER}
OPTIONS_DEFINE= DOCS
DOCS= COPYRIGHT SPEC README.md
RADMIND_BASE_DIR?= ${DESTDIR}/var/radmind
RADMINUSER= radmind
.include <bsd.port.options.mk>
post-install:
# Ugly hack to remove generated man pages
${RM} -r ${WRKSRC}/tmp
# Port's Docs (Copyright & wire protocol info)
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/cert
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/client
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/command
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/file
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/postapply
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/preapply
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/special
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/tmp
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/tmp/file
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/tmp/transcript
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/transcript
${CP} ${FILESDIR}/config.sample ${STAGEDIR}${RADMIND_BASE_DIR}/config.sample
.include <bsd.port.mk>
|