aboutsummaryrefslogtreecommitdiffstats
path: root/mail/pygmy
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-04-22 22:21:07 +0800
committervs <vs@FreeBSD.org>2005-04-22 22:21:07 +0800
commit1ed22154047b376f947c381e5265b648926e461a (patch)
tree7adbaab05445750b68d8c34cae733a3d9ff19657 /mail/pygmy
parentc89903bd4876ffdd02e6b37ff4b73fa475e6f399 (diff)
downloadfreebsd-ports-gnome-1ed22154047b376f947c381e5265b648926e461a.tar.gz
freebsd-ports-gnome-1ed22154047b376f947c381e5265b648926e461a.tar.zst
freebsd-ports-gnome-1ed22154047b376f947c381e5265b648926e461a.zip
Use MAKE_ARGS
Diffstat (limited to 'mail/pygmy')
-rw-r--r--mail/pygmy/Makefile4
-rw-r--r--mail/pygmy/files/patch-aa18
2 files changed, 2 insertions, 20 deletions
diff --git a/mail/pygmy/Makefile b/mail/pygmy/Makefile
index 526da53c1981..c0fa89369e34 100644
--- a/mail/pygmy/Makefile
+++ b/mail/pygmy/Makefile
@@ -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
diff --git a/mail/pygmy/files/patch-aa b/mail/pygmy/files/patch-aa
deleted file mode 100644
index e10d7b9d81f6..000000000000
--- a/mail/pygmy/files/patch-aa
+++ /dev/null
@@ -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 .