Skip to content

Commit

Permalink
Use the new libviet port in building.
Browse files Browse the repository at this point in the history
  • Loading branch information
obrien authored and obrien committed Feb 11, 2001
1 parent 0738797 commit d920f68
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
8 changes: 7 additions & 1 deletion vietnamese/vn7to8/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,15 @@ EXTRACT_SUFX= .tar.Z

MAINTAINER= [email protected]

CFLAGS+= -I../../include
BUILD_DEPENDS= ${LOCALBASE}/lib/libviqr.a:${PORTSDIR}/vietnamese/libviet

CFLAGS+= -I${PREFIX}/include/viet
MAN1= vn7to8.1 vn8to7.1 vn80to81.1

post-extract:
@ ${MV} ${WRKDIR}/lib ${WRKDIR}/DONT.lib
@ ${MV} ${WRKDIR}/include ${WRKDIR}/DONT.include

post-install:
@${INSTALL_MAN} ${FILESDIR}/vn7to8.1 ${PREFIX}/man/man1
@${INSTALL_MAN} ${FILESDIR}/vn80to81.1 ${PREFIX}/man/man1
Expand Down
12 changes: 8 additions & 4 deletions vietnamese/vn7to8/files/patch-01
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
--- Makefile.orig Mon Sep 14 15:49:45 1992
+++ Makefile Wed Dec 4 02:54:53 1996
@@ -6,7 +6,7 @@
+++ Makefile Sun Feb 11 14:13:39 2001
@@ -4,9 +4,9 @@

SHELL = /bin/sh
CC = cc
VNLIBDIR= ../lib
VNINCDIR= ../include
-VNLIBDIR= ../lib
-VNINCDIR= ../include
-BINDIR = /local/usr/bin
+VNLIBDIR= $(PREFIX)/lib
+VNINCDIR= $(PREFIX)/include/viet
+BINDIR = ${PREFIX}/bin
LIBS = $(VNLIBDIR)/libviqr.a $(VNLIBDIR)/libvntype.a

Expand Down
11 changes: 0 additions & 11 deletions vietnamese/vn7to8/files/patch-02

This file was deleted.

0 comments on commit d920f68

Please sign in to comment.