svn commit: r313747 - in head/devel: libdasm py-pydasm
Ruslan Mahmatkhanov
rm at FreeBSD.org
Sat Mar 9 19:10:09 UTC 2013
Author: rm
Date: Sat Mar 9 19:10:07 2013
New Revision: 313747
URL: http://svnweb.freebsd.org/changeset/ports/313747
Log:
- update MASTER_SITES and pkg-descr:WWW
while here (for both ports):
- trim Makefile header
- remove indefinite article from COMMENT
- convert to optionsng
PR: 176710
Reported by: John Marino <draco at marino.st>
Submitted by: antoine (maintainer)
Modified:
head/devel/libdasm/Makefile
head/devel/libdasm/pkg-descr
head/devel/py-pydasm/Makefile
head/devel/py-pydasm/pkg-descr
Modified: head/devel/libdasm/Makefile
==============================================================================
--- head/devel/libdasm/Makefile Sat Mar 9 18:59:20 2013 (r313746)
+++ head/devel/libdasm/Makefile Sat Mar 9 19:10:07 2013 (r313747)
@@ -1,31 +1,27 @@
-# New ports collection makefile for: libdasm
-# Date created: 28 March 2006
-# Whom: Antoine Brodin <antoine.brodin at laposte.net>
-#
+# Created by: Antoine Brodin <antoine at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= libdasm
PORTVERSION= 1.5
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= http://www.klake.org/~jt/misc/
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= antoine at FreeBSD.org
-COMMENT= A simple x86 disassembly library
+COMMENT= Simple x86 disassembly library
USE_LDCONFIG= yes
PORTDOCS= HISTORY.txt README.txt
-.if !defined(WITHOUT_EXAMPLES)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MEXAMPLES}
PLIST_SUB+= EXAMPLES=""
.else
PLIST_SUB+= EXAMPLES="@comment "
.endif
-.include <bsd.port.pre.mk>
-
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CFLAGS+= -fPIC -DPIC
.endif
@@ -38,17 +34,17 @@ post-patch:
${WRKSRC}/examples/Makefile
post-install:
-.if !defined(WITHOUT_EXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/README.txt ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/das.c ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/simple.c ${EXAMPLESDIR}
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@for f in ${PORTDOCS}; do \
${INSTALL_DATA} ${WRKSRC}/$${f} ${DOCSDIR}; \
done
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/devel/libdasm/pkg-descr
==============================================================================
--- head/devel/libdasm/pkg-descr Sat Mar 9 18:59:20 2013 (r313746)
+++ head/devel/libdasm/pkg-descr Sat Mar 9 19:10:07 2013 (r313747)
@@ -2,4 +2,4 @@ libdasm is a C-library that tries to pro
way to disassemble Intel x86 raw opcode bytes (machine code). It
can parse and print out opcodes in AT&T and Intel syntax.
-WWW: http://www.nologin.net/main.pl?action=codeView&codeId=49&
+WWW: http://code.google.com/p/libdasm/
Modified: head/devel/py-pydasm/Makefile
==============================================================================
--- head/devel/py-pydasm/Makefile Sat Mar 9 18:59:20 2013 (r313746)
+++ head/devel/py-pydasm/Makefile Sat Mar 9 19:10:07 2013 (r313747)
@@ -1,30 +1,29 @@
-# New ports collection makefile for: pydasm
-# Date created: 23 March 2006
-# Whom: antoine.brodin at laposte.net
-#
+# Created by: Antoine Brodin <antoine at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= pydasm
PORTVERSION= 1.5
CATEGORIES= devel python
-MASTER_SITES= http://www.klake.org/~jt/misc/
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= libdasm-${PORTVERSION}
MAINTAINER= antoine at FreeBSD.org
-COMMENT= A python interface to libdasm
+COMMENT= Python interface to libdasm
WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME}
USE_PYTHON= yes
USE_PYDISTUTILS=yes
+PROJECTHOST= libdasm
+
+.include <bsd.port.options.mk>
post-install:
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/das.py ${EXAMPLESDIR}
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
.endif
Modified: head/devel/py-pydasm/pkg-descr
==============================================================================
--- head/devel/py-pydasm/pkg-descr Sat Mar 9 18:59:20 2013 (r313746)
+++ head/devel/py-pydasm/pkg-descr Sat Mar 9 19:10:07 2013 (r313747)
@@ -1,4 +1,4 @@
pydasm is a python interface to libdasm, the best x86 disassembling
library out there.
-WWW: http://dkbza.org/pydasm.html
+WWW: http://code.google.com/p/libdasm/
More information about the svn-ports-head
mailing list