diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2001-02-11 14:15:03 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-02-11 14:15:03 +0000 |
commit | b03bca912cc7f9544e8da92771777aaa85bcc9c4 (patch) | |
tree | 601697df48c17a0456009ec06e3628ec6cb9e900 /vietnamese/vnelvis | |
parent | 1f94382923741eaada6eeab1fc5fe10276a03422 (diff) | |
download | ports-b03bca912cc7f9544e8da92771777aaa85bcc9c4.tar.gz ports-b03bca912cc7f9544e8da92771777aaa85bcc9c4.zip |
Notes
Diffstat (limited to 'vietnamese/vnelvis')
-rw-r--r-- | vietnamese/vnelvis/Makefile | 7 | ||||
-rw-r--r-- | vietnamese/vnelvis/files/patch-01 | 13 | ||||
-rw-r--r-- | vietnamese/vnelvis/files/patch-02 | 11 |
3 files changed, 17 insertions, 14 deletions
diff --git a/vietnamese/vnelvis/Makefile b/vietnamese/vnelvis/Makefile index 94d56e4229f3..a91f1da557a3 100644 --- a/vietnamese/vnelvis/Makefile +++ b/vietnamese/vnelvis/Makefile @@ -16,12 +16,15 @@ EXTRACT_SUFX= .tar.Z MAINTAINER= obrien@FreeBSD.org -CFLAGS+= -I../../include +BUILD_DEPENDS= ${LOCALBASE}/lib/libviqr.a:${PORTSDIR}/vietnamese/libviet + +CFLAGS+= -I${PREFIX}/include/viet MAN1= vnelvis.1 vnvi.1 post-extract: @ cd ${WRKSRC} ; make clean - @ cd ${WRKSRC}/../lib ; make clean + @ ${MV} ${WRKDIR}/lib ${WRKDIR}/DONT.lib + @ ${MV} ${WRKDIR}/include ${WRKDIR}/DONT.include post-install: ${INSTALL_MAN} ${WRKSRC}/vnelvis.1V ${PREFIX}/man/man1/vnelvis.1 diff --git a/vietnamese/vnelvis/files/patch-01 b/vietnamese/vnelvis/files/patch-01 index 4ec883ce04af..a19b0dedb33d 100644 --- a/vietnamese/vnelvis/files/patch-01 +++ b/vietnamese/vnelvis/files/patch-01 @@ -1,5 +1,16 @@ --- Makefile.orig Tue May 19 11:57:57 1992 -+++ Makefile Thu Dec 5 00:36:53 1996 ++++ Makefile Sat Feb 10 19:55:12 2001 +@@ -1,8 +1,8 @@ + # + # TriChlor VN libraries and includes + # +-VNLIBDIR = ../lib +-VNINCDIR = ../include ++VNLIBDIR = $(PREFIX)/lib ++VNINCDIR = $(PREFIX)/include/viet + + # combined Makefile for ELVIS - a clone of `vi` + # @@ -115,7 +115,7 @@ EXTRA= EXTRA2= diff --git a/vietnamese/vnelvis/files/patch-02 b/vietnamese/vnelvis/files/patch-02 deleted file mode 100644 index 93be8e39d8e3..000000000000 --- a/vietnamese/vnelvis/files/patch-02 +++ /dev/null @@ -1,11 +0,0 @@ ---- ../lib/vntype/Makefile.orig Tue Jan 5 22:18:07 1993 -+++ ../lib/vntype/Makefile Wed Dec 4 04:07:32 1996 -@@ -15,7 +15,7 @@ - #FLAGS = -DNOANSI_C - CFLAGS = $(FLAGS) $(INC) - CC = cc --CPP = /lib/cpp -+CPP = cpp - - .c.o: - $(CC) $(CFLAGS) -c $*.c |