aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/diffstat/Makefile
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-08-14 12:13:47 +0800
committerclsung <clsung@FreeBSD.org>2006-08-14 12:13:47 +0800
commit1c72cceb65d57112cf270648e553433930cc363f (patch)
tree48e972775c16c34356e227c7ef72d8c83f604c49 /textproc/diffstat/Makefile
parent918e52cbfcd793f87eb48a98be585fa9dded8e7a (diff)
downloadfreebsd-ports-gnome-1c72cceb65d57112cf270648e553433930cc363f.tar.gz
freebsd-ports-gnome-1c72cceb65d57112cf270648e553433930cc363f.tar.zst
freebsd-ports-gnome-1c72cceb65d57112cf270648e553433930cc363f.zip
- Respect DESTDIR
- Use MAN1PREFIX PR: ports/101870 Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org>
Diffstat (limited to 'textproc/diffstat/Makefile')
-rw-r--r--textproc/diffstat/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/textproc/diffstat/Makefile b/textproc/diffstat/Makefile
index de9b13f99fdc..e5807aaf2859 100644
--- a/textproc/diffstat/Makefile
+++ b/textproc/diffstat/Makefile
@@ -14,8 +14,6 @@ EXTRACT_SUFX= .tgz
MAINTAINER= clsung@FreeBSD.org
COMMENT= Makes a histogram summarizing "diff" output
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
GNU_CONFIGURE= yes
MAKEFILE= makefile
@@ -23,7 +21,7 @@ MAN1= diffstat.1
PLIST_FILES= bin/diffstat
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/diffstat ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/diffstat ${TARGETDIR}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
.include <bsd.port.mk>