Install into ${PREFIX}, not /usr/local.

PR:	12214
Submitted by:	n_hibma
This commit is contained in:
Chris Piazza 1999-06-25 19:23:45 +00:00
parent 89e2682619
commit da58517f0a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=19766
3 changed files with 7 additions and 7 deletions

View File

@ -3,7 +3,7 @@
# Date created: Dec 4 1997
# Whom: frankch@waru.life.nthu.edu.tw
#
# $Id: Makefile,v 1.1.1.1 1997/12/21 21:57:36 vanilla Exp $
# $Id: Makefile,v 1.2 1997/12/24 07:24:10 vanilla Exp $
#
DISTNAME= babel-1.6
@ -14,6 +14,6 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= frankch@waru.life.nthu.edu.tw
post-install:
@ ${CAT} ${PKGDIR}/MESSAGE
@ ${CAT} ${PKGDIR}/MESSAGE | ${SED} -e 's:/usr/local:${PREFIX}:'
.include <bsd.port.mk>

View File

@ -1,8 +1,8 @@
--- Makefile.orig Tue Jan 21 23:53:05 1997
+++ Makefile Sat Dec 20 05:12:51 1997
--- Makefile.orig Tue Jan 21 07:53:05 1997
+++ Makefile Fri Jun 25 12:17:39 1999
@@ -1,6 +1,6 @@
-CFLAGS = -O
+DEST = /usr/local/share/babel
+DEST = ${PREFIX}/share/babel
-LIBFLAGS = -O -DLIBRARY
+LIBFLAGS = -DLIBRARY
@ -14,7 +14,7 @@
install: $(PROGRAM)
- install -s $(PROGRAM) $(DEST)
+ install -s $(PROGRAM) /usr/local/bin/$(PROGRAM)
+ install -s $(PROGRAM) ${PREFIX}/bin/$(PROGRAM)
+ install -d -o bin -g bin $(DEST)
+ install -c -o bin -g bin README.1ST $(DEST)
+ install -c -o bin -g bin element.lis new.lis $(DEST)

View File

@ -2,5 +2,5 @@
* Please set the env variable BABEL_DIR to *
* /usr/local/share/babel before running babel. *
* For example, put the next line in your .cshrc file: *
* setenv BABEL_DIR /usr/loacl/share/babel *
* setenv BABEL_DIR /usr/local/share/babel *
*********************************************************