Lines 1-6
Link Here
|
1 |
PORTNAME= metronome |
1 |
PORTNAME= metronome |
2 |
DISTVERSION= 0.9.0 |
2 |
DISTVERSION= 0.9.0 |
3 |
PORTREVISION= 20 |
3 |
PORTREVISION= 21 |
4 |
CATEGORIES= net-mgmt dns |
4 |
CATEGORIES= net-mgmt dns |
5 |
|
5 |
|
6 |
MAINTAINER= krion@FreeBSD.org |
6 |
MAINTAINER= krion@FreeBSD.org |
Lines 13-33
LICENSE_FILE= ${WRKSRC}/LICENSE
Link Here
|
13 |
LIB_DEPENDS= libboost_thread.so:devel/boost-libs |
13 |
LIB_DEPENDS= libboost_thread.so:devel/boost-libs |
14 |
|
14 |
|
15 |
USES= autoreconf:build compiler:c++11-lang eigen:3 libtool:build \ |
15 |
USES= autoreconf:build compiler:c++11-lang eigen:3 libtool:build \ |
16 |
localbase:ldflags pathfix pkgconfig |
16 |
localbase:ldflags pathfix pkgconfig |
17 |
USE_CXXSTD= c++14 |
17 |
USE_CXXSTD= c++14 |
18 |
USE_GITHUB= yes |
18 |
USE_GITHUB= yes |
19 |
GH_ACCOUNT= ahupowerdns |
19 |
GH_ACCOUNT= ahupowerdns |
20 |
USE_LDCONFIG= yes |
20 |
USE_LDCONFIG= yes |
|
|
21 |
USE_RC_SUBR= metronome |
21 |
|
22 |
|
22 |
GNU_CONFIGURE= yes |
23 |
GNU_CONFIGURE= yes |
23 |
|
24 |
|
24 |
INSTALL_TARGET= install-strip |
25 |
INSTALL_TARGET= install-strip |
25 |
|
26 |
|
26 |
SUB_FILES= pkg-message |
27 |
SUB_FILES= pkg-message |
|
|
28 |
SUB_LIST+= METRONOME_DBDIR=${METRONOME_DBDIR} \ |
29 |
METRONOME_USER=${METRONOME_USER} |
27 |
|
30 |
|
|
|
31 |
METRONOME_USER?= _metronome |
32 |
USERS= ${METRONOME_USER} |
33 |
GROUPS= ${METRONOME_USER} |
34 |
|
35 |
PLIST_SUB+= METRONOME_DBDIR=${METRONOME_DBDIR} \ |
36 |
METRONOME_USER=${METRONOME_USER} |
28 |
OPTIONS_DEFINE= DOCS |
37 |
OPTIONS_DEFINE= DOCS |
29 |
|
38 |
|
|
|
39 |
METRONOME_DBDIR?= /var/db/metronome |
40 |
|
30 |
pre-configure: |
41 |
pre-configure: |
31 |
(cd ${WRKSRC}; ./bootstrap ) |
42 |
(cd ${WRKSRC}; ./bootstrap ) |
32 |
|
43 |
|
|
|
44 |
post-install: |
45 |
${MKDIR} ${STAGEDIR}${METRONOME_DBDIR} |
46 |
|
33 |
.include <bsd.port.mk> |
47 |
.include <bsd.port.mk> |