2000-12-14 12:34:25 +00:00
|
|
|
# New ports collection makefile for: moleskine
|
|
|
|
# Date created: 14 December 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= moleskine
|
2001-02-27 18:09:51 +00:00
|
|
|
PORTVERSION= 0.6.1
|
2000-12-14 12:34:25 +00:00
|
|
|
CATEGORIES= editors python gnome
|
2001-02-27 18:09:51 +00:00
|
|
|
MASTER_SITES= http://www.moleskine.f2s.com/files/
|
2000-12-14 12:34:25 +00:00
|
|
|
DISTNAME= ${PORTNAME:S/^m/M/}-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${PYTHON_LIBDIR}/site-packages/_gnomemodule.so:${PORTSDIR}/x11-toolkits/py-gnome \
|
|
|
|
${PYTHON_LIBDIR}/site-packages/_gtkscintillamodule.so:${PORTSDIR}/x11-toolkits/py-gtkscintilla
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_PYTHON= yes
|
|
|
|
|
|
|
|
INST_DIR= ${PREFIX}/share/gnome/Moleskine
|
|
|
|
CONF_DIR= ${PREFIX}/etc/gnome/config/Moleskine
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${INST_DIR}/Moleskine
|
|
|
|
${MKDIR} ${INST_DIR}/dialogs
|
2001-01-15 12:03:31 +00:00
|
|
|
${MKDIR} ${INST_DIR}/images
|
2000-12-14 12:34:25 +00:00
|
|
|
${MKDIR} ${CONF_DIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/LanguageModes ${CONF_DIR}
|
2001-02-27 18:09:51 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/Preferences ${CONF_DIR}
|
2000-12-14 12:34:25 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/moleskine ${INST_DIR}
|
|
|
|
${LN} -sf ${INST_DIR}/moleskine ${PREFIX}/bin/moleskine
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Moleskine/*.py ${WRKSRC}/Moleskine/*.pyc ${INST_DIR}/Moleskine
|
2001-01-15 12:03:31 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/dialogs/*.glade ${INST_DIR}/dialogs
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/images/*.jpeg ${INST_DIR}/images
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/images/*.png ${INST_DIR}/images
|
2000-12-14 12:34:25 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|