Lines 2-7
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= libosmocore |
3 |
PORTNAME= libosmocore |
4 |
PORTVERSION= 0.8.0 |
4 |
PORTVERSION= 0.8.0 |
|
|
5 |
PORTREVISION= 1 |
5 |
CATEGORIES= devel |
6 |
CATEGORIES= devel |
6 |
MASTER_SITES= http://git.osmocom.org/libosmocore/snapshot/ \ |
7 |
MASTER_SITES= http://git.osmocom.org/libosmocore/snapshot/ \ |
7 |
http://chaosophia.net/downloads/osmocom/${PORTNAME}/ |
8 |
http://chaosophia.net/downloads/osmocom/${PORTNAME}/ |
Lines 14-52
LICENSE_FILE= ${WRKSRC}/COPYING
Link Here
|
14 |
|
15 |
|
15 |
LIB_DEPENDS= libpcsclite.so:${PORTSDIR}/devel/pcsc-lite |
16 |
LIB_DEPENDS= libpcsclite.so:${PORTSDIR}/devel/pcsc-lite |
16 |
|
17 |
|
17 |
USES= gmake libtool pkgconfig execinfo |
18 |
USES= alias autoreconf execinfo gmake libtool pathfix pkgconfig |
18 |
USE_AUTOTOOLS= aclocal autoconf automake libtoolize autoheader |
19 |
PATHFIX_MAKEFILEIN=Makefile.am |
19 |
AUTOMAKE_ARGS= --gnu --add-missing --copy |
20 |
GNU_CONFIGURE= yes |
20 |
LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo |
21 |
LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo |
21 |
USE_LDCONFIG= yes |
22 |
USE_LDCONFIG= yes |
22 |
INSTALL_TARGET= install-strip |
23 |
INSTALL_TARGET= install-strip |
23 |
|
24 |
|
24 |
OPTIONS_DEFINE= DOCS |
25 |
OPTIONS_DEFINE= DOXYGEN |
25 |
DOCS_DESC= Build documentation |
26 |
DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen \ |
26 |
OPTIONS_UNSET= DOCS |
|
|
27 |
|
28 |
.include <bsd.port.options.mk> |
29 |
|
30 |
.if ${PORT_OPTIONS:MDOCS} |
31 |
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \ |
32 |
dot:${PORTSDIR}/graphics/graphviz |
27 |
dot:${PORTSDIR}/graphics/graphviz |
33 |
.endif |
28 |
DOXYGEN_CONFIGURE_ENV_OFF=ac_cv_path_DOXYGEN=false |
|
|
29 |
PORTDOCS= * |
34 |
|
30 |
|
35 |
post-patch: |
31 |
post-patch: |
36 |
.if ${PORT_OPTIONS:MDOCS} |
|
|
37 |
${CP} ${WRKSRC}/Makefile.am.orig ${WRKSRC}/Makefile.am |
38 |
.endif |
39 |
${REINPLACE_CMD} -e 's|pkgconfigdir.*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|g' \ |
40 |
${WRKSRC}/Makefile.am |
41 |
${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version |
32 |
${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version |
42 |
|
33 |
|
43 |
.if ${PORT_OPTIONS:MDOCS} |
|
|
44 |
post-install: |
45 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
46 |
.for i in codec core gsm vty |
47 |
${FIND} ${WRKSRC}/doc/${i}/html -not -type d | ${SED} \ |
48 |
's,^${WRKSRC}/doc/${i}/html,${DOCSDIR_REL}/${i}/html,' >> ${TMPPLIST} |
49 |
.endfor |
50 |
.endif |
51 |
|
52 |
.include <bsd.port.mk> |
34 |
.include <bsd.port.mk> |