aboutsummaryrefslogtreecommitdiff
path: root/x11/gtstarter/Makefile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-04-16 06:00:27 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-04-16 06:00:27 +0000
commit8a3b79e2e1f91d5ead573cac4071f32a8f0a9832 (patch)
tree408a3461f0005e240f808958dc317b2ecc3be157 /x11/gtstarter/Makefile
parentfd807c001b0ef347f2bb055486a43d17797ac227 (diff)
downloadports-8a3b79e2e1f91d5ead573cac4071f32a8f0a9832.tar.gz
ports-8a3b79e2e1f91d5ead573cac4071f32a8f0a9832.zip
Notes
Diffstat (limited to 'x11/gtstarter/Makefile')
-rw-r--r--x11/gtstarter/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/x11/gtstarter/Makefile b/x11/gtstarter/Makefile
new file mode 100644
index 000000000000..802e957a3fe4
--- /dev/null
+++ b/x11/gtstarter/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: gtstarter
+# Date created: 15 April 2004
+# Whom: Franz Klammer <klammer@webonaut.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gtstarter
+PORTVERSION= 0.1
+CATEGORIES= x11 gnome
+MASTER_SITES= http://webonaut.com/distfiles/${PORTNAME}/
+
+MAINTAINER= klammer@webonaut.com
+COMMENT= Start gnome-terminal with a specified profile
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_REINPLACE= yes
+USE_PYTHON= yes
+USE_GNOME= pygnome2
+
+do-build:
+ @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' \
+ ${WRKSRC}/*.py
+ @${FIND} ${WRKSRC} -name '*.bak' -delete
+ @${FIND} ${WRKSRC} -name '*.orig' -delete
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
+ @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
+
+do-install:
+ ${MKDIR} ${X11BASE}/libexec/${PORTNAME}
+ @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} \
+ ${X11BASE}/libexec/${PORTNAME}/
+ @${INSTALL_DATA} ${WRKSRC}/*.py* \
+ ${X11BASE}/libexec/${PORTNAME}/
+ @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop \
+ ${X11BASE}/share/gnome/applications/
+ @${LN} -sf ${X11BASE}/libexec/${PORTNAME}/${PORTNAME} \
+ ${X11BASE}/bin/${PORTNAME}
+
+.include <bsd.port.mk>