diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2003-08-20 09:35:46 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2003-08-20 09:35:46 +0000 |
commit | 434431588c8fdd7f6394629eb417e3f9a393cfde (patch) | |
tree | cff31a83d5e4ac51f759e5cb474ee0eb85c478ad /devel/fnorb/Makefile | |
parent | 69e12d4a575bc86562c432b6adcbfe78dfda6cce (diff) | |
download | ports-434431588c8fdd7f6394629eb417e3f9a393cfde.tar.gz ports-434431588c8fdd7f6394629eb417e3f9a393cfde.zip |
Notes
Diffstat (limited to 'devel/fnorb/Makefile')
-rw-r--r-- | devel/fnorb/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/fnorb/Makefile b/devel/fnorb/Makefile index 430b62230534..ce1809299b6c 100644 --- a/devel/fnorb/Makefile +++ b/devel/fnorb/Makefile @@ -20,6 +20,7 @@ WRKSRC= ${WRKDIR}/Fnorb-${PORTVERSION} BUILD_WRKSRC= ${WRKSRC}/src INSTALL_WRKSRC= ${BUILD_WRKSRC} USE_PYTHON= yes +USE_REINPLACE= yes ALL_TARGET= CPIO= cpio --quiet -pdum -R @@ -27,10 +28,17 @@ FNORB_DIR= ${PREFIX}/lib/${PYTHON_VERSION}/site-packages/Fnorb FNORB_BINS= fnaming fnendian fnfeed fngen fnidl fnifr fnior fnlogger \ fnmetrics fnmkior fnoptions fnping +.include <bsd.port.pre.mk> + do-configure: @ cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ Makefile.pre.in boot +post-patch: +.if ${PYTHON_REL} >= 230 + @ ${REINPLACE_CMD} -e 's,@DEFS@,,g' ${WRKSRC}/src/Makefile.pre.in +.endif + post-build: @ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -f ${WRKSRC} @ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -f ${WRKSRC} @@ -59,4 +67,4 @@ post-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |