1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/mail/pygmy/Makefile

40 lines
1.2 KiB
Makefile
Raw Normal View History

# 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
CATEGORIES= mail python gnome
2000-10-02 06:50:44 +00:00
MASTER_SITES= http://pygmy.sourceforge.net/
MAINTAINER= sobomax@FreeBSD.org
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-09-21 15:00:54 +00:00
USE_PYTHON= yes
MAKE_ENV= PYTHON_VERSION="${PYTHON_VERSION}"
ALL_TARGET= pythonprogs
do-configure:
@${ECHO_CMD} "PYGMY_PREFIX='${PREFIX}/share'" > ${WRKSRC}/prefix.py
@${ECHO_CMD} "PYGMY_ICONDIR='${PREFIX}/share/pygmy/icons'" >> ${WRKSRC}/prefix.py
do-install:
${MKDIR} ${PREFIX}/share/pygmy/icons
.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
@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
.include <bsd.port.mk>