aboutsummaryrefslogtreecommitdiffstats
path: root/editors/vilearn
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-04-22 21:40:09 +0800
committervs <vs@FreeBSD.org>2005-04-22 21:40:09 +0800
commit3403035082a7d36e4270d03adabdb293573eeaa2 (patch)
treea865bc5117ab91946e97f41366f77241e66a06a0 /editors/vilearn
parent20697049863ee7d2138bf059404d15fa17692858 (diff)
downloadfreebsd-ports-gnome-3403035082a7d36e4270d03adabdb293573eeaa2.tar.gz
freebsd-ports-gnome-3403035082a7d36e4270d03adabdb293573eeaa2.tar.zst
freebsd-ports-gnome-3403035082a7d36e4270d03adabdb293573eeaa2.zip
Use MAKE_ARGS
Diffstat (limited to 'editors/vilearn')
-rw-r--r--editors/vilearn/Makefile4
-rw-r--r--editors/vilearn/files/patch-aa26
2 files changed, 4 insertions, 26 deletions
diff --git a/editors/vilearn/Makefile b/editors/vilearn/Makefile
index 85e92797f226..66dadb483b58 100644
--- a/editors/vilearn/Makefile
+++ b/editors/vilearn/Makefile
@@ -20,6 +20,10 @@ EXTRACT_CMD= uncompress
EXTRACT_BEFORE_ARGS= -c
EXTRACT_AFTER_ARGS= | tail -n 1759 | sh
+MAKE_ARGS= BINDIR="${PREFIX}/bin" \
+ MANDIR="${MAN1PREFIX}/man" \
+ TUTORIALS="${DATADIR}"
+
MAN1= vilearn.1
.include <bsd.port.mk>
diff --git a/editors/vilearn/files/patch-aa b/editors/vilearn/files/patch-aa
deleted file mode 100644
index 552495ac9e1e..000000000000
--- a/editors/vilearn/files/patch-aa
+++ /dev/null
@@ -1,26 +0,0 @@
---- Makefile.orig Fri Dec 12 09:08:12 1997
-+++ Makefile Fri Dec 12 09:17:12 1997
-@@ -4,12 +4,12 @@
-
- # BINDIR is where the vilearn shell script will live. It should be in the
- # path of new users.
--BINDIR= /usr/local/bin
-+BINDIR= ${PREFIX}/bin
-
- # MANDIR is the man area where vilearn's man page will be installed. It
- # should be somewhere that the default man command will search.
-
--MANDIR= /usr/local/man
-+MANDIR= ${PREFIX}/man
-
- # SEC is the section of the manual that vilearn's man page will be
- # installed in.
-@@ -18,7 +18,7 @@
-
- # TUTORIALS is the directory where the master copies of the tutorials
- # will live.
--TUTORIALS= /usr/local/lib/vilearn
-+TUTORIALS= ${PREFIX}/share/vilearn
-
- # Shouldn't have to edit below here.
-