Edit

IABSD.fr/ports/net/telemt/Makefile

Branch :

  • Show log

    Commit

  • Author : kn
    Date : 2026-09-12 12:08:21
    Hash : 6dab953f
    Message : update to telemt 3.5.7

  • net/telemt/Makefile
  • COMMENT =		MTProxy for Telegram
    CATEGORIES =		net
    DIST_TUPLE =		github	telemt	telemt	3.5.7	.
    
    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>