aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-03-22 17:27:45 +0800
committerahze <ahze@FreeBSD.org>2005-03-22 17:27:45 +0800
commit21024b2c77586ee04ec746a84e74982cef8422e3 (patch)
treec172079d5844bd0ff2fe579c6fd09bfa7f350f24 /x11
parentc01ada16d1c20b83ea9fffdb65c0ad111cb04d41 (diff)
downloadfreebsd-ports-gnome-21024b2c77586ee04ec746a84e74982cef8422e3.tar.gz
freebsd-ports-gnome-21024b2c77586ee04ec746a84e74982cef8422e3.tar.zst
freebsd-ports-gnome-21024b2c77586ee04ec746a84e74982cef8422e3.zip
- s/X11BASE/PREFIX/ to respect PREFIX
- Add USE_GNOME=gnomeprefix to create/remove gnome directories. PR: 79116 Submitted by: maintainer Approved by: portmgr (krion)
Diffstat (limited to 'x11')
-rw-r--r--x11/gtstarter/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/x11/gtstarter/Makefile b/x11/gtstarter/Makefile
index 7160aed8224a..885468daa1c2 100644
--- a/x11/gtstarter/Makefile
+++ b/x11/gtstarter/Makefile
@@ -18,26 +18,26 @@ USE_BZIP2= yes
USE_X_PREFIX= yes
USE_REINPLACE= yes
USE_PYTHON= yes
-USE_GNOME= pygnome2
+USE_GNOME= pygnome2 gnomeprefix
do-build:
- @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' \
+ @${REINPLACE_CMD} -e 's|/usr/X11R6|${PREFIX}|g' \
${WRKSRC}/*.py
@${FIND} ${WRKSRC} -name '*.bak' -delete
@${FIND} ${WRKSRC} -name '*.orig' -delete
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
do-install:
- ${MKDIR} ${X11BASE}/libexec/${PORTNAME}
+ ${MKDIR} ${PREFIX}/libexec/${PORTNAME}
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} \
- ${X11BASE}/libexec/${PORTNAME}/
+ ${PREFIX}/libexec/${PORTNAME}/
@${INSTALL_SCRIPT} ${WRKSRC}/*.py* \
- ${X11BASE}/libexec/${PORTNAME}/
+ ${PREFIX}/libexec/${PORTNAME}/
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop \
- ${X11BASE}/share/gnome/applications/
+ ${PREFIX}/share/gnome/applications/
@${INSTALL_DATA} ${WRKSRC}/*.server \
- ${X11BASE}/libdata/bonobo/servers/
- @${LN} -sf ${X11BASE}/libexec/${PORTNAME}/${PORTNAME} \
- ${X11BASE}/bin/${PORTNAME}
+ ${PREFIX}/libdata/bonobo/servers/
+ @${LN} -sf ${PREFIX}/libexec/${PORTNAME}/${PORTNAME} \
+ ${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>