|
Lines 61-66
Link Here
|
| 61 |
.endif |
61 |
.endif |
| 62 |
|
62 |
|
| 63 |
# |
63 |
# |
|
|
64 |
# The expat module |
| 65 |
# |
| 66 |
.if !defined(WITHOUT_EXPAT) |
| 67 |
SETUP_LOCAL+= Setup.expat |
| 68 |
PLIST_EXPAT= ${PKGDIR}/pkg-plist.expat |
| 69 |
LIB_DEPENDS+= expat.2:${PORTSDIR}/textproc/expat2 |
| 70 |
CFLAGS+= -I${LOCALBASE}/include |
| 71 |
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include" |
| 72 |
.endif |
| 73 |
|
| 74 |
# |
| 64 |
# Install the Tools by default. It contains scripts ranging from an IDE |
75 |
# Install the Tools by default. It contains scripts ranging from an IDE |
| 65 |
# to a web tree checker, to a collection of simple scripts that are useful |
76 |
# to a web tree checker, to a collection of simple scripts that are useful |
| 66 |
# while extending or managing Python. |
77 |
# while extending or managing Python. |
|
Lines 116-122
Link Here
|
| 116 |
${PREFIX}/lib/${PYTHON_VERSION}/${platform}/ |
127 |
${PREFIX}/lib/${PYTHON_VERSION}/${platform}/ |
| 117 |
.endfor |
128 |
.endfor |
| 118 |
.endfor |
129 |
.endfor |
| 119 |
@sort -r -o ${PLIST} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_DEMO} ${PKGDIR}/pkg-plist |
130 |
@sort -r -o ${PLIST} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_DEMO} ${PLIST_EXPAT} ${PKGDIR}/pkg-plist |
| 120 |
|
131 |
|
| 121 |
post-install: |
132 |
post-install: |
| 122 |
strip ${PREFIX}/bin/python |
133 |
strip ${PREFIX}/bin/python |