blob: edc15c50ba067c46b663b3c756c517e067afd695 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Created by: Franz Klammer <klammer@webonaut.com>
# $FreeBSD$
PORTNAME= gtstarter
PORTVERSION= 0.4.6.3
PORTREVISION= 6
CATEGORIES= x11 gnome
MASTER_SITES= http://webonaut.com/distfiles/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Start gnome-terminal from a list of configured profiles (incl. Applet)
USE_BZIP2= yes
USE_PYTHON= yes
USE_GNOME= pygnome2 pygnomeextras gnomeprefix
NO_STAGE= yes
do-build:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \
${WRKSRC}/*.py ${WRKSRC}/*.server
@${FIND} ${WRKSRC} -name '*.bak' -delete
@${FIND} ${WRKSRC} -name '*.orig' -delete
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
do-install:
${MKDIR} ${PREFIX}/libexec/${PORTNAME}
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} \
${PREFIX}/libexec/${PORTNAME}/
@${INSTALL_SCRIPT} ${WRKSRC}/*.py* \
${PREFIX}/libexec/${PORTNAME}/
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop \
${PREFIX}/share/applications/
@${INSTALL_DATA} ${WRKSRC}/*.server \
${PREFIX}/libdata/bonobo/servers/
@${LN} -sf ${PREFIX}/libexec/${PORTNAME}/${PORTNAME} \
${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>
|