summaryrefslogtreecommitdiff
path: root/editors/ve/Makefile
blob: 6f10e8f634da09def847a5fffa9a983551e564d4 (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
# $NetBSD: Makefile,v 1.9 2021/04/21 08:08:07 wiz Exp $

DISTNAME=	ve-1.0
CATEGORIES=	editors
MASTER_SITES+=	# ftp://freebsd.csie.nctu.edu.tw/pub/taiwan/NTU/woju/source/
EXTRACT_SUFX=	.tgz

MAINTAINER=	rxg@NetBSD.org
HOMEPAGE=	https://github.com/clamtestbbs/ve
COMMENT=	NTHU-CS Maple BBS 2.36 BBS-like editor

INSTALLATION_DIRS=	bin

BUILDLINK_TRANSFORM.SunOS+=	rm:-lcompat

post-patch:
	${SED} "s,/usr/local,${PREFIX},g" ${WRKSRC}/edit.c > ${WRKSRC}/edit.c.done
	${MV} ${WRKSRC}/edit.c.done ${WRKSRC}/edit.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/ve ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/ve
	${INSTALL_DATA} ${WRKSRC}/ve.hlp ${DESTDIR}${PREFIX}/share/ve

.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"