svn commit: r422301 - head/devel/libdisasm
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat Sep 17 09:01:39 UTC 2016
Author: amdmi3
Date: Sat Sep 17 09:01:37 2016
New Revision: 422301
URL: https://svnweb.freebsd.org/changeset/ports/422301
Log:
- Pet portlint
- Add LICENSE
- Switch to options helpers
Modified:
head/devel/libdisasm/Makefile
Modified: head/devel/libdisasm/Makefile
==============================================================================
--- head/devel/libdisasm/Makefile Sat Sep 17 08:29:41 2016 (r422300)
+++ head/devel/libdisasm/Makefile Sat Sep 17 09:01:37 2016 (r422301)
@@ -3,26 +3,31 @@
PORTNAME= libdisasm
PORTVERSION= 0.23
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= SF/bastard/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports at 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>
More information about the svn-ports-head
mailing list