Lines 6-15
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= adns |
8 |
PORTNAME= adns |
9 |
PORTVERSION= 1.1.0 |
9 |
PORTVERSION= 1.2.0 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= dns python |
10 |
CATEGORIES= dns python |
12 |
MASTER_SITES= http://dustman.net/andy/python/adns-python/${PORTVERSION}/ |
11 |
MASTER_SITES= http://adns-python.googlecode.com/files/ \ |
|
|
12 |
http://dustman.net/andy/python/adns-python/${PORTVERSION}/ |
13 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
13 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
14 |
DISTNAME= adns-python-${PORTVERSION} |
14 |
DISTNAME= adns-python-${PORTVERSION} |
15 |
|
15 |
|
Lines 25-31
Link Here
|
25 |
post-patch: |
25 |
post-patch: |
26 |
@${REINPLACE_CMD} -e 's|^\(include_dirs = \).*$$|\1\["${LOCALBASE}/include"\]|g' \ |
26 |
@${REINPLACE_CMD} -e 's|^\(include_dirs = \).*$$|\1\["${LOCALBASE}/include"\]|g' \ |
27 |
-e 's|^\(library_dirs = \).*$$|\1\["${LOCALBASE}/lib"\]|g' \ |
27 |
-e 's|^\(library_dirs = \).*$$|\1\["${LOCALBASE}/lib"\]|g' \ |
28 |
-e 's|\(extra_objects=.*\)$$|\1define_macros=[("adns__rrt_typemask","adns_rrt_typemask")],|g' \ |
|
|
29 |
${WRKSRC}/setup.py |
28 |
${WRKSRC}/setup.py |
30 |
|
29 |
|
31 |
.include <bsd.port.mk> |
30 |
.include <bsd.port.mk> |