svn commit: r347044 - head/devel/py-InlineEgg
Antoine Brodin
antoine at FreeBSD.org
Tue Mar 4 17:12:44 UTC 2014
Author: antoine
Date: Tue Mar 4 17:12:43 2014
New Revision: 347044
URL: http://svnweb.freebsd.org/changeset/ports/347044
QAT: https://qat.redports.org/buildarchive/r347044/
Log:
- Stage support
- Use OPTIONS
- Use PYDISTUTILS_AUTOPLIST, shebangfix, dos2unix
- Update WWW and MASTER_SITES
Deleted:
head/devel/py-InlineEgg/pkg-plist
Modified:
head/devel/py-InlineEgg/Makefile
head/devel/py-InlineEgg/pkg-descr
Modified: head/devel/py-InlineEgg/Makefile
==============================================================================
--- head/devel/py-InlineEgg/Makefile Tue Mar 4 16:42:12 2014 (r347043)
+++ head/devel/py-InlineEgg/Makefile Tue Mar 4 17:12:43 2014 (r347044)
@@ -3,34 +3,31 @@
PORTNAME= InlineEgg
PORTVERSION= 1.08
+PORTREVISION= 1
CATEGORIES= devel security python
-MASTER_SITES= http://oss.corest.com/repo/
+MASTER_SITES= http://corelabs.coresecurity.com/index.php?module=Wiki&action=attachment&type=tool&page=InlineEgg&file=
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sbz at FreeBSD.org
COMMENT= Python module for writing inline assembler programs
+FETCH_BEFORE_ARGS=-o ${DISTFILES}
+USES= dos2unix shebangfix
+SHEBANG_FILES= examples/*.py
+python_CMD= ${PYTHON_CMD}
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
-EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}
-
-.if !defined(NOPORTDOCS)
-DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}
PORTDOCS= InlineEgg.html Changelog README
-.endif
+PORTEXAMPLES= *
+
+OPTIONS_DEFINE= DOCS EXAMPLES
-NO_STAGE= yes
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
-.endif
-.if !defined(NOPORTEXAMPLES)
- ${MKDIR} ${EXAMPLESDIR}
- ${CP} ${WRKSRC}/examples/* ${EXAMPLESDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
Modified: head/devel/py-InlineEgg/pkg-descr
==============================================================================
--- head/devel/py-InlineEgg/pkg-descr Tue Mar 4 16:42:12 2014 (r347043)
+++ head/devel/py-InlineEgg/pkg-descr Tue Mar 4 17:12:43 2014 (r347044)
@@ -5,4 +5,4 @@ to remember how to use complex tools lik
is done the easy way: in Python. InlineEgg is oriented - but not limited -
to developing shellcode (sometimes called eggs) for use in exploits.
-WWW: http://oss.corest.com/projects/inlineegg.html
+WWW: http://corelabs.coresecurity.com/index.php?module=Wiki&action=view&type=tool&name=InlineEgg
More information about the svn-ports-all
mailing list