freebsd-ports/comms/minicom/Makefile
Felix Palmen 7d1faa7179 bsd.sites.mk: Update all ports using USE_GITLAB
Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is
backwards-compatible (accepting any commit hash as before), but also
understands an actual tag name. Moving to tag names where appropriate is
left to individual ports' maintainers.

Approved by:		portmgr (tcberner, mentor)
Differential Revision:	https://reviews.freebsd.org/D37077
2023-07-12 20:56:04 +02:00

49 lines
1.3 KiB
Makefile

PORTNAME= minicom
PORTVERSION= 2.8
CATEGORIES= comms
MAINTAINER= jailbird@fdf.net
COMMENT= MS-DOS Telix serial communication program "workalike"
WWW= https://salsa.debian.org/minicom-team/minicom/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= lrz:comms/lrzsz
USES= cpe iconv localbase ncurses
CPE_VENDOR= minicom_project
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-dfl-baud=57600 \
--enable-dfl-port=/dev/cuau0 \
--enable-lock-dir=/var/spool/lock \
--sysconfdir=${PREFIX}/etc/minicom
LIBS+= ${ICONV_LIB} -lncurses
USE_GITLAB= yes
GL_SITE= https://salsa.debian.org/
GL_ACCOUNT= minicom-team
GL_TAGNAME= 1fb24b4f8e22e5580da9e8d453d8e5c3a18aed6c
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
post-patch:
${REINPLACE_CMD} -e "s@/usr/local/bin/@${LOCALBASE}/bin/@; \
s@/sz@/lsz@;s@/sb@/lsb@;s@/sx@/lsx@;s@/rz@/lrz@; \
s@/rb@/lrb@;s@/rx@/lrx@" ${WRKSRC}/src/rwconf.c
post-install:
${MKDIR} ${STAGEDIR}${ETCDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}/
(umask 022 && cd ${WRKSRC} && ${TAR} --exclude '*/Makefile*' \
--exclude '*.orig' -chf - extras doc | ${TAR} -xf - -C \
${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>