diff options
author | tg <tg@FreeBSD.org> | 2001-03-01 20:24:24 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2001-03-01 20:24:24 +0800 |
commit | 0d4eb737b027cbe0d49dfc783d032ddef4b6359d (patch) | |
tree | ba6c25cc4172d920e429409ce398d3adf144df57 /x11-toolkits/py-tkinter/Makefile | |
parent | facc47bf74a02699a46691cac6475e826d86dfbe (diff) | |
download | freebsd-ports-gnome-0d4eb737b027cbe0d49dfc783d032ddef4b6359d.tar.gz freebsd-ports-gnome-0d4eb737b027cbe0d49dfc783d032ddef4b6359d.tar.zst freebsd-ports-gnome-0d4eb737b027cbe0d49dfc783d032ddef4b6359d.zip |
Use the py-distutils for building and installing.
Diffstat (limited to 'x11-toolkits/py-tkinter/Makefile')
-rw-r--r-- | x11-toolkits/py-tkinter/Makefile | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/x11-toolkits/py-tkinter/Makefile b/x11-toolkits/py-tkinter/Makefile index 0c1e5dcd1350..cca76405fb7a 100644 --- a/x11-toolkits/py-tkinter/Makefile +++ b/x11-toolkits/py-tkinter/Makefile @@ -15,24 +15,20 @@ DISTFILES= ${PYTHON_DISTFILE} MAINTAINER= tg@FreeBSD.org +BUILD_DEPENDS= ${PYDISTUTILS} LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83 DIST_SUBDIR= python USE_PYTHON= yes WRKSRC= ${PYTHON_WRKSRC}/Modules -CONFIGURE_ENV= PYTHON=${PYTHON_CMD} -ALL_TARGET= sharedmods -MAKE_FLAGS= OPT="${CFLAGS}" post-extract: - @${CP} ${FILESDIR}/Setup ${WRKSRC} - @${CP} ${PYTHON_LIBDIR}/config/Makefile.pre.in ${WRKSRC} + @${CP} ${FILESDIR}/setup.py ${WRKSRC} -do-configure: - @(cd ${WRKSRC}; \ - ${SETENV} ${CONFIGURE_ENV} ${MAKE} -f Makefile.pre.in boot) +do-build: + @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py build) do-install: - ${INSTALL_DATA} ${WRKSRC}/_tkinter.so ${PYTHON_SITELIBDIR} + @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py install) .include <bsd.port.mk> |