aboutsummaryrefslogtreecommitdiffstats
path: root/editors/ved/Makefile
blob: f33a0073fb423ff77e46fbb88d8cf6f94797b621 (plain) (blame)
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
34
35
36
37
38
39
# New ports collection makefile for:   ved
# Date created:        31 December 2000
# Whom:                George Reid <greid@ukug.uk.freebsd.org>
#
# $FreeBSD$
#

PORTNAME=   ved
PORTVERSION=    1.5
CATEGORIES= editors
MASTER_SITES=   ftp://ftp.fokus.gmd.de/pub/unix/ved/

MAINTAINER= greid@ukug.uk.freebsd.org
COMMENT=    A small and fast screen-oriented editor.

USE_GMAKE=  yes

MAN1=       ved.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500113
BROKEN=         "Does not compile"
.endif

post-patch:
.for F in ved.h ved.1
    ${SED} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/ved/$F \
        > ${WRKSRC}/ved/foo
    ${MV} ${WRKSRC}/ved/foo ${WRKSRC}/ved/$F
.endfor

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/ved/OBJ/${ARCH}-freebsd-cc/ved \
        ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/ved/ved.1 ${PREFIX}/man/man1
    ${INSTALL_DATA} ${WRKSRC}/ved/ved.help ${PREFIX}/share

.include <bsd.port.post.mk>