Use MAKE_ARGS

This commit is contained in:
Volker Stolz 2005-04-22 09:24:02 +00:00
parent 5acd77daff
commit 97c1ddeba2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133922
2 changed files with 2 additions and 14 deletions

View file

@ -14,6 +14,8 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Enhanced tftpd(8) from Yale University and cisco Systems
NO_WRKSUBDIR=
MAKE_ARGS= ETCDIR=${PREFIX}/etc BINDIR=${PREFIX}/libexec MANDIR=${PREFIX}/man/man
MAN8= tftpd.8
MANCOMPRESSED= yes
PLIST_FILES= libexec/tftpd

View file

@ -1,14 +0,0 @@
--- Makefile.orig Thu Oct 6 19:41:10 1994
+++ Makefile Fri Aug 27 13:05:53 1999
@@ -4,8 +4,9 @@
PROG= tftpd
MAN8= tftpd.8
-ETCDIR?=${DESTDIR}/etc
-BINDIR?=${DESTDIR}/usr/libexec
+ETCDIR=${PREFIX}/etc
+BINDIR=${PREFIX}/libexec
+MANDIR=${PREFIX}/man/man
CFLAGS+=-DCONFIGFILE='"${ETCDIR}/tftpd.conf"'