aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-03-13 22:47:16 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-03-13 22:47:16 +0800
commit5bb61efe0565787aa29c5afe48eecb61d2d8453d (patch)
tree71131d78e2882f15fce3c6612d5c37ab95abe1b9
parent0b14b63020777ddaaa46d202e0a3fc31cddbc3d8 (diff)
downloadfreebsd-ports-gnome-5bb61efe0565787aa29c5afe48eecb61d2d8453d.tar.gz
freebsd-ports-gnome-5bb61efe0565787aa29c5afe48eecb61d2d8453d.tar.zst
freebsd-ports-gnome-5bb61efe0565787aa29c5afe48eecb61d2d8453d.zip
Support staging
-rw-r--r--net/ltm/Makefile21
-rw-r--r--net/ltm/pkg-plist3
2 files changed, 13 insertions, 11 deletions
diff --git a/net/ltm/Makefile b/net/ltm/Makefile
index 1ae15d537a39..5aa4a021567d 100644
--- a/net/ltm/Makefile
+++ b/net/ltm/Makefile
@@ -11,15 +11,14 @@ COMMENT= Statseeker Real Time LAN Analyser
NO_BUILD= yes
-MAN1= ltm.1 ltm-client.1 ltm-mkprotodb.1
-MANCOMPRESSED= yes
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-s: .IGNORE
-
do-install:
- @(tar -cf - -C ${WRKSRC} . | tar -xf - -C ${PREFIX})
-
-.include <bsd.port.post.mk>
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/ltm-client ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/ltm-mkprotodb ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/etc/protocols.cfg ${STAGEDIR}${PREFIX}/etc
+ ${INSTALL_DATA} ${WRKSRC}/etc/protocols.db ${STAGEDIR}${PREFIX}/etc
+.for f in ltm-client ltm-mkprotodb ltm
+ ${INSTALL_MAN} ${WRKSRC}/man/man1/${f}.1.gz \
+ ${STAGEDIR}${MANPREFIX}/man/man1
+.endfor
+
+.include <bsd.port.mk>
diff --git a/net/ltm/pkg-plist b/net/ltm/pkg-plist
index b6f48fd3d70c..4dee0596015c 100644
--- a/net/ltm/pkg-plist
+++ b/net/ltm/pkg-plist
@@ -2,3 +2,6 @@ bin/ltm-client
bin/ltm-mkprotodb
etc/protocols.cfg
etc/protocols.db
+man/man1/ltm-client.1.gz
+man/man1/ltm-mkprotodb.1.gz
+man/man1/ltm.1.gz