aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-26 16:44:28 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-26 16:44:28 +0800
commit748451deebf95b2e458483be56a38903e8f88f64 (patch)
tree001f08ccb0afcb2718f938e10ea0ca5fef930ead /sysutils
parent4c6baa5baab387651981431b46ffa9df385644c4 (diff)
downloadfreebsd-ports-gnome-748451deebf95b2e458483be56a38903e8f88f64.tar.gz
freebsd-ports-gnome-748451deebf95b2e458483be56a38903e8f88f64.tar.zst
freebsd-ports-gnome-748451deebf95b2e458483be56a38903e8f88f64.zip
Support staging
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/pmt/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/sysutils/pmt/Makefile b/sysutils/pmt/Makefile
index 44d3060d49f8..bb84bb6cbcf8 100644
--- a/sysutils/pmt/Makefile
+++ b/sysutils/pmt/Makefile
@@ -8,19 +8,20 @@ MASTER_SITES= http://hansmi.ch/download/pmt/ \
LOCAL/glarkin
MAINTAINER= ports@FreeBSD.org
-COMMENT= A small collection of filters which can be added to UNIX pipes
+COMMENT= Small collection of filters which can be added to UNIX pipes
USE_BZIP2= yes
USE_GMAKE= yes
PLIST_FILES= bin/pmt
-NO_STAGE= yes
-do-install:
- @${CP} ${WRKSRC}/pmt ${PREFIX}/bin
-
.include <bsd.port.pre.mk>
+
.if ${OSVERSION} >= 800071
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-config.mak
.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/pmt ${STAGEDIR}${PREFIX}/bin
+
.include <bsd.port.post.mk>