summaryrefslogtreecommitdiff
path: root/misc/ascii/Makefile
blob: 26ebda3d59cce384127874c6c414f2bb01a3e096 (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
# $NetBSD: Makefile,v 1.16 2016/03/07 19:59:32 nros Exp $
#

DISTNAME=	ascii-3.15
CATEGORIES=	misc
MASTER_SITES=	${HOMEPAGE}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.catb.org/~esr/ascii/
COMMENT=	ASCII character table program
LICENSE=	modified-bsd

USE_TOOLS=		gmake
USE_LIBTOOL=		yes

BUILD_TARGET= 		ascii
EGDIR=			${PREFIX}/share/examples/${PKGBASE}

SUBST_CLASSES+=		prefix
SUBST_MESSAGE.prefix=	Install PATH to ${PREFIX}
SUBST_FILES.prefix=	Makefile
SUBST_STAGE.prefix=	post-patch
SUBST_SED.prefix=	-e '/PREFIX/s,/usr,${PREFIX},'

post-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}

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