aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-09-17 17:01:37 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-09-17 17:01:37 +0800
commit2acc232f552cfcdc0000c468409c0802d32d7f38 (patch)
tree450488ff67a5cfb411a2cd74fd7b6879b2717df6 /devel
parent33abd7a71036971ecc1985f244728cdda6b21a4c (diff)
downloadfreebsd-ports-gnome-2acc232f552cfcdc0000c468409c0802d32d7f38.tar.gz
freebsd-ports-gnome-2acc232f552cfcdc0000c468409c0802d32d7f38.tar.zst
freebsd-ports-gnome-2acc232f552cfcdc0000c468409c0802d32d7f38.zip
- Pet portlint
- Add LICENSE - Switch to options helpers
Diffstat (limited to 'devel')
-rw-r--r--devel/libdisasm/Makefile19
1 files changed, 12 insertions, 7 deletions
diff --git a/devel/libdisasm/Makefile b/devel/libdisasm/Makefile
index 44aa553dc634..416acbd4b4ea 100644
--- a/devel/libdisasm/Makefile
+++ b/devel/libdisasm/Makefile
@@ -3,26 +3,31 @@
PORTNAME= libdisasm
PORTVERSION= 0.23
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= SF/bastard/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= The Bastard Disassembly Environment x86 disassembler library and CLI
+COMMENT= Bastard Disassembly Environment x86 disassembler library and CLI
-OPTIONS_DEFINE= DOCS
+LICENSE= ART10
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+ONLY_FOR_ARCHS= i386 amd64
USES= gmake libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-ONLY_FOR_ARCHS= i386 amd64
PORTDOCS= libdisasm.txt
+OPTIONS_DEFINE= DOCS
+
post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdisasm.so
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for i in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
-.endfor
+ ${INSTALL_DATA} ${WRKSRC}/doc/libdisasm.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>