blob: 5f3a8b5f63adddb4b4e3d7d9935188b03f4dafd7 (
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
|
# New ports collection makefile for: pygmy
# Date created: 15 August 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pygmy
PORTVERSION= 0.5.5
CATEGORIES= mail python gnome
MASTER_SITES= http://pygmy.sourceforge.net/
MAINTAINER= sobomax@FreeBSD.org
BUILD_DEPENDS= ${PYTHON_LIBDIR}/site-packages/_gnomemodule.so:${PORTSDIR}/x11-toolkits/py-gnome
RUN_DEPENDS= ${PYTHON_LIBDIR}/site-packages/_gnomemodule.so:${PORTSDIR}/x11-toolkits/py-gnome
USE_PYTHON= yes
MAKE_ENV= PYTHON_VERSION="${PYTHON_VERSION}"
ALL_TARGET= pythonprogs
do-configure:
@${ECHO} "PYGMY_PREFIX='${PREFIX}/share'" > ${WRKSRC}/prefix.py
do-install:
${MKDIR} ${PREFIX}/share/pygmy/icons
${INSTALL_DATA} ${WRKSRC}/*.pyo ${WRKSRC}/*.pyc ${PREFIX}/share/pygmy
${INSTALL_DATA} ${WRKSRC}/icons/* ${PREFIX}/share/pygmy/icons
${INSTALL_DATA} ${WRKSRC}/pygmy ${PREFIX}/share/pygmy
@printf "#!/bin/sh\n${PYTHON_CMD} ${PREFIX}/share/pygmy/pygmy" > \
${WRKDIR}/pygmy.sh
${INSTALL_SCRIPT} ${WRKDIR}/pygmy.sh ${PREFIX}/bin/pygmy
.include <bsd.port.mk>
|