summaryrefslogtreecommitdiff
path: root/devel/libvterm01/Makefile
blob: da664f09e159ddad2bfea3329ebc0944d7cd84f8 (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
33
# $NetBSD: Makefile,v 1.4 2022/07/25 11:12:23 wiz Exp $

DISTNAME=	libvterm-0.1.4
PKGNAME=	${DISTNAME:S/libvterm/libvterm01/g}
PKGREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	https://www.leonerd.org.uk/code/libvterm/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://www.leonerd.org.uk/code/libvterm/
COMMENT=	Abstract VT220/xterm/ECMA-48 emulation library
LICENSE=	mit

USE_TOOLS+=	gmake perl
USE_LIBTOOL=	yes

MAKE_FLAGS+=	PREFIX=${PREFIX}
MAKE_FLAGS+=	INCDIR=${PREFIX}/include/${PKGBASE}
MAKE_FLAGS+=	LIBDIR=${PREFIX}/lib/${PKGBASE}

# Do not install programs, in case we conflict with a
# package for a more recent version.
INSTALL_TARGET=	install-lib install-inc

PKGCONFIG_OVERRIDE+=	vterm.pc.in

INSTALLATION_DIRS+=	lib/pkgconfig

post-install:
	${MV} ${DESTDIR}${PREFIX}/lib/libvterm01/pkgconfig/vterm.pc \
	    ${DESTDIR}${PREFIX}/lib/pkgconfig/vterm01.pc

.include "../../mk/bsd.pkg.mk"