summaryrefslogtreecommitdiff
path: root/editors/vilearn
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-04-22 13:40:09 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-04-22 13:40:09 +0000
commit23729bfd5083ab14f937bca077217f720e35414a (patch)
tree3fcfba3c5ae93cca83427a611da6519229b77512 /editors/vilearn
parentUse MAKE_ARGS & PLIST_FILES/PORTDOCS (diff)
Use MAKE_ARGS
Notes
Notes: svn path=/head/; revision=133936
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.
-