aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ltrace
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/ltrace')
-rw-r--r--sysutils/ltrace/Makefile10
-rw-r--r--sysutils/ltrace/pkg-plist1
2 files changed, 3 insertions, 8 deletions
diff --git a/sysutils/ltrace/Makefile b/sysutils/ltrace/Makefile
index f9456c213c6c..e75fbaf67d77 100644
--- a/sysutils/ltrace/Makefile
+++ b/sysutils/ltrace/Makefile
@@ -15,20 +15,14 @@ LICENSE= GPLv2
GNU_CONFIGURE= yes
ONLY_FOR_ARCHS= amd64
-MAN1= ${PORTNAME}.1
-
OPTIONS_DEFINE= DOCS
PORTDOCS= BUGS COPYING ChangeLog README TODO
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/sysutils/ltrace/pkg-plist b/sysutils/ltrace/pkg-plist
index f878007bfba0..59ad430c1a3d 100644
--- a/sysutils/ltrace/pkg-plist
+++ b/sysutils/ltrace/pkg-plist
@@ -1,2 +1,3 @@
bin/ltrace
etc/ltrace.conf
+man/man1/ltrace.1.gz