blob: 29e89d4e7ffc71916adb9af1a3ad33714ea6af0e (
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
40
41
42
43
44
45
46
47
|
# New ports collection makefile for: ved
# Date created: 31 December 2000
# Whom: George Reid <greid@ukug.uk.freebsd.org>
#
# $FreeBSD$
#
PORTNAME= ved
PORTVERSION= 1.7
CATEGORIES= editors
MASTER_SITES= ftp://ftp.berlios.de/pub/ved/
MAINTAINER= ports@FreeBSD.org
COMMENT= A small and fast screen-oriented editor
USE_REINPLACE= yes
USE_GMAKE= yes
MAN1= ved.1
PLIST_FILES= bin/ved %%DATADIR%%/ved.help
PLIST_DIRS= %%DATADIR%%
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64"
BROKEN= "Does not compile on ia64"
.endif
post-patch:
${REINPLACE_CMD} -e 's|^COPTOPT=.*$$|COPTOPT= ${CFLAGS}|g ; \
s| gcc| ${CC}|g' ${WRKSRC}/RULES/i386-freebsd-cc.rul
.for file in ved.h ved.1
${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/ved/${file}
.endfor
.for arch in alpha amd64 ia64 sparc64
cd ${WRKSRC}/RULES \
&& ${LN} -sf i386-freebsd-cc.rul ${arch}-freebsd-cc.rul
.endfor
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ved/OBJ/${ARCH}-freebsd-cc/ved \
${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ved/ved.1 ${MANPREFIX}/man/man1
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/ved/ved.help ${DATADIR}
.include <bsd.port.post.mk>
|