diff options
author | obrien <obrien@FreeBSD.org> | 2001-02-11 14:15:03 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-02-11 14:15:03 +0000 |
commit | 66748164fe827ed6085b97cc7b49c927b3eae698 (patch) | |
tree | 3ad984d989f1fbf1983616d24632a93aefafafa3 /vietnamese | |
parent | d3bb8c81a206c1eece9a33b6b8ba736c706f46ac (diff) | |
download | FreeBSD-ports-66748164fe827ed6085b97cc7b49c927b3eae698.zip FreeBSD-ports-66748164fe827ed6085b97cc7b49c927b3eae698.tar.gz |
Use the new libviet port in building.
Diffstat (limited to 'vietnamese')
-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 94d56e4..a91f1da 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 4ec883c..a19b0de 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 93be8e3..0000000 --- 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 |