2000-08-15 08:15:35 +00:00
|
|
|
# New ports collection makefile for: pygmy
|
|
|
|
# Date created: 15 August 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pygmy
|
2002-07-14 13:37:03 +00:00
|
|
|
PORTVERSION= 0.6.0
|
2000-08-15 08:15:35 +00:00
|
|
|
CATEGORIES= mail python gnome
|
2000-10-02 06:50:44 +00:00
|
|
|
MASTER_SITES= http://pygmy.sourceforge.net/
|
2000-08-15 08:15:35 +00:00
|
|
|
|
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
|
|
|
|
2002-08-28 18:03:59 +00:00
|
|
|
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-1.2/_gnomemodule.so:${PORTSDIR}/x11-toolkits/py-gnome
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-1.2/_gnomemodule.so:${PORTSDIR}/x11-toolkits/py-gnome \
|
2001-10-25 15:14:40 +00:00
|
|
|
gpg:${PORTSDIR}/security/gnupg
|
2000-08-15 08:15:35 +00:00
|
|
|
|
2000-09-21 15:00:54 +00:00
|
|
|
USE_PYTHON= yes
|
|
|
|
|
|
|
|
MAKE_ENV= PYTHON_VERSION="${PYTHON_VERSION}"
|
2000-08-15 08:15:35 +00:00
|
|
|
ALL_TARGET= pythonprogs
|
|
|
|
|
|
|
|
do-configure:
|
2002-01-29 11:48:57 +00:00
|
|
|
@${ECHO_CMD} "PYGMY_PREFIX='${PREFIX}/share'" > ${WRKSRC}/prefix.py
|
|
|
|
@${ECHO_CMD} "PYGMY_ICONDIR='${PREFIX}/share/pygmy/icons'" >> ${WRKSRC}/prefix.py
|
2000-08-15 08:15:35 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PREFIX}/share/pygmy/icons
|
2001-05-04 21:25:07 +00:00
|
|
|
.for ext in py pyc pyo
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.${ext} ${PREFIX}/share/pygmy
|
|
|
|
.endfor
|
2001-05-11 17:24:10 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/icons/*.xpm ${PREFIX}/share/pygmy/icons
|
2001-03-16 18:14:37 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/pygmy ${PREFIX}/share/pygmy
|
2001-05-28 14:57:42 +00:00
|
|
|
@printf "#!/bin/sh\nexec ${PYTHON_CMD} ${PREFIX}/share/pygmy/pygmy" > \
|
2001-03-16 18:14:37 +00:00
|
|
|
${WRKDIR}/pygmy.sh
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/pygmy.sh ${PREFIX}/bin/pygmy
|
2000-08-15 08:15:35 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|