Use MAKE_ARGS
This commit is contained in:
parent
4f46ec8738
commit
ddf981dbd2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133940
2 changed files with 2 additions and 20 deletions
|
@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-1.2/_gnomemodule.so:${PORTSDIR}/x11-toolki
|
|||
|
||||
USE_PYTHON= yes
|
||||
|
||||
MAKE_ENV= PYTHON_VERSION="${PYTHON_VERSION}"
|
||||
MAKE_ARGS= PREFIX="${PREFIX}" PYTHON="${LOCALBASE}/bin/${PYTHON_VERSION}"
|
||||
ALL_TARGET= pythonprogs
|
||||
|
||||
do-configure:
|
||||
|
@ -34,7 +34,7 @@ do-install:
|
|||
.endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/icons/*.xpm ${PREFIX}/share/pygmy/icons
|
||||
${INSTALL_DATA} ${WRKSRC}/pygmy ${PREFIX}/share/pygmy
|
||||
@printf "#!/bin/sh\nexec ${PYTHON_CMD} ${PREFIX}/share/pygmy/pygmy" > \
|
||||
@${PRINTF} "#!/bin/sh\nexec ${PYTHON_CMD} ${PREFIX}/share/pygmy/pygmy" > \
|
||||
${WRKDIR}/pygmy.sh
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/pygmy.sh ${PREFIX}/bin/pygmy
|
||||
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- Makefile.orig Fri May 18 18:26:45 2001
|
||||
+++ Makefile Sun May 20 09:28:32 2001
|
||||
@@ -1,10 +1,10 @@
|
||||
# $Id: Makefile,v 1.19 2001/05/12 11:50:11 kjetilja Exp $
|
||||
|
||||
# Installation prefix -- modify to your preferences
|
||||
-PREFIX=/usr/local
|
||||
+PREFIX?=/usr/local
|
||||
|
||||
# NOTE: Normally nothing below this point need to be changed
|
||||
-PYTHON=/usr/bin/env python
|
||||
+PYTHON=${LOCALBASE}/bin/$(PYTHON_VERSION)
|
||||
PYTHONLIBPATH=`$(PYTHON) -c "import sys; print sys.modules['site'].__file__[:-8]"`
|
||||
COMPILEPROG=compileall.py
|
||||
COMPILEPROGOPT=-l .
|
Loading…
Reference in a new issue