blob: ee5787af3050bf9fa6705683be406cd96f2d9d74 (
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
|
# $FreeBSD$
PORTNAME= nanomsg
DISTVERSION= 0.8-beta
CATEGORIES= net
MAINTAINER= crest@bultmann.eu
COMMENT= Socket library that provides several common communication patterns
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GITHUB= yes
GH_ACCOUNT= nanomsg
USES= autoreconf libtool pathfix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
.if defined(BATCH) || defined(PACKAGE_BUILDING)
CONFIGURE_ARGS+= --disable-silent-rules
.endif
CONFIGURE_ARGS+= --datadir=${PREFIX}/libdata
OPTIONS_DEFINE= DOCS MANPAGES
OPTIONS_DEFAULT= DOCS MANPAGES
OPTIONS_SUB= yes
DOCS_DESC= Build and/or install HTML documentation
MANPAGES_BUILD_DEPENDS+= asciidoc:${PORTSDIR}/textproc/asciidoc \
xmlto:${PORTSDIR}/textproc/xmlto
.include <bsd.port.options.mk>
# Avoid duplication
.if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MMANPAGES}
CONFIGURE_ARGS+= --enable-doc
BUILD_DEPENDS+= asciidoc:${PORTSDIR}/textproc/asciidoc \
xmlto:${PORTSDIR}/textproc/xmlto
.endif
post-extract:
${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$$(datadir)/pkgconfig|' \
${WRKSRC}/Makefile.am
.include <bsd.port.mk>
|