Page MenuHomeFreeBSD

D2227.1794125958.diff
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

D2227.1794125958.diff

Index: net/py-pynmsg/Makefile
===================================================================
--- net/py-pynmsg/Makefile
+++ net/py-pynmsg/Makefile
@@ -2,8 +2,10 @@
PORTNAME= pynmsg
PORTVERSION= 0.3.1
+PORTREVISION= 1
CATEGORIES= net python
MASTER_SITES= FARSIGHT LOCAL/truckman/farsight
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= truckman@FreeBSD.org
COMMENT= Python wrapper for net/nmsg
@@ -14,12 +16,19 @@
LIB_DEPENDS= libnmsg.so:${PORTSDIR}/net/nmsg
USE_PYTHON= distutils autoplist
+USES= python shebangfix uniquefiles:dirs
-CPPFLAGS+= -I${LOCALBASE}/include
+python_CMD= ${PYTHON_CMD}
+python_OLD_CMD= /usr/bin/env python
+SHEBANG_FILES= examples/*.py
+
+PORTEXAMPLES= *
-USES= python
+CPPFLAGS+= -I${LOCALBASE}/include
post-install:
- ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/python2.7/site-packages/_nmsg.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_nmsg.so
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 8, 8:19 AM (14 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41575761
Default Alt Text
D2227.1794125958.diff (1 KB)

Event Timeline