mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
29 lines
573 B
Makefile
29 lines
573 B
Makefile
COMMENT = MTProxy for Telegram
|
|
CATEGORIES = net
|
|
DIST_TUPLE = github telemt telemt 3.4.18 .
|
|
|
|
MAINTAINER = Klemens Nanni <kn@openbsd.org>
|
|
|
|
# TELEMT PL 3
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
# C1x
|
|
COMPILER = base-clang ports-gcc
|
|
COMPILER_LANGS = c
|
|
|
|
WANTLIB = ${MODCARGO_WANTLIB} m
|
|
|
|
MODULES = devel/cargo
|
|
CONFIGURE_STYLE = cargo
|
|
SEPARATE_BUILD = Yes
|
|
|
|
EXAMPLES_DIR = ${PREFIX}/share/examples/${PKGSTEM}
|
|
SUBST_VARS = EXAMPLES_DIR
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${EXAMPLES_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/config*.toml ${EXAMPLES_DIR}/
|
|
|
|
.include "crates.inc"
|
|
.include <bsd.port.mk>
|