summaryrefslogtreecommitdiff
path: root/misc/terminfo-db/Makefile
blob: 91242c6ba0644a3dd7b106150a7609eb57578120 (plain)
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

PORTNAME=	terminfo
PORTVERSION=	20201128
DISTVERSIONSUFFIX=	.src
CATEGORIES=	misc
MASTER_SITES=	ftp://ftp.invisible-island.net/ncurses/current/ \
		https://invisible-mirror.net/archives/ncurses/current/
PKGNAMESUFFIX=	-db
EXTRACT_SUFX=	.gz

MAINTAINER=	bapt@FreeBSD.org
COMMENT=	Terminal Description database

LICENSE=	MIT

BUILD_DEPENDS=	tic:devel/ncurses

EXTRACT_CMD=	${GZIP_CMD}
EXTRACT_BEFORE_ARGS=	-dc
EXTRACT_AFTER_ARGS=	> ${WRKSRC}/${PORTNAME}.src

NO_WRKSUBDIR=	yes

do-build:
	${MKDIR} ${WRKSRC}/${PORTNAME}
	tic -sx -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.src

do-install:
	${MKDIR} ${STAGEDIR}${DATADIR}
	cd ${WRKSRC}/${PORTNAME}; ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}

.include <bsd.port.mk>