aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-21 08:24:04 +0800
committerbapt <bapt@FreeBSD.org>2014-01-21 08:24:04 +0800
commit60e88c5d5bca88dfc7b7a3b811861546b0a4f47c (patch)
treeaacf68ad924e3222fd30819f868451a278e2c25f
parentd78cad6aed1f3d08e5334212a524f71147f21eb2 (diff)
downloadfreebsd-ports-gnome-60e88c5d5bca88dfc7b7a3b811861546b0a4f47c.tar.gz
freebsd-ports-gnome-60e88c5d5bca88dfc7b7a3b811861546b0a4f47c.tar.zst
freebsd-ports-gnome-60e88c5d5bca88dfc7b7a3b811861546b0a4f47c.zip
Support stage
-rw-r--r--devel/libdisasm/Makefile17
-rw-r--r--devel/libdisasm/pkg-plist5
2 files changed, 10 insertions, 12 deletions
diff --git a/devel/libdisasm/Makefile b/devel/libdisasm/Makefile
index d96d9d5eb707..549b1395de55 100644
--- a/devel/libdisasm/Makefile
+++ b/devel/libdisasm/Makefile
@@ -9,26 +9,19 @@ MASTER_SITES= SF/bastard/${PORTNAME}/${PORTVERSION}
MAINTAINER= bf@FreeBSD.org
COMMENT= The Bastard Disassembly Environment x86 disassembler library and CLI
+OPTIONS_DEFINE= DOCS
+
+USES= gmake
GNU_CONFIGURE= yes
-USE_GMAKE= yes
USE_LDCONFIG= yes
ONLY_FOR_ARCHS= i386 amd64
-.ifndef(NOPORTDOCS)
PORTDOCS= libdisasm.txt
-.endif
-
-MAN1= x86dis.1
-MAN3= x86_disasm.3 x86_format_insn.3 x86_init.3
-MAN7= libdisasm.7
-NO_STAGE= yes
post-install:
-.ifndef(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
diff --git a/devel/libdisasm/pkg-plist b/devel/libdisasm/pkg-plist
index 94dcdaab8b78..437e7ee8641e 100644
--- a/devel/libdisasm/pkg-plist
+++ b/devel/libdisasm/pkg-plist
@@ -4,3 +4,8 @@ lib/libdisasm.a
lib/libdisasm.la
lib/libdisasm.so
lib/libdisasm.so.0
+man/man1/x86dis.1.gz
+man/man3/x86_disasm.3.gz
+man/man3/x86_format_insn.3.gz
+man/man3/x86_init.3.gz
+man/man7/libdisasm.7.gz