053fdb6a6b
(Part 2)
46 lines
1.6 KiB
Makefile
46 lines
1.6 KiB
Makefile
# New ports collection makefile for: moleskine
|
|
# Date created: 14 December 2000
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= moleskine
|
|
PORTVERSION= 0.7.9
|
|
PORTREVISION= 1
|
|
CATEGORIES= editors python gnome
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= ${PORTNAME:S/^m/M/}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A generic source code editor for the GNOME desktop
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-1.2/_gnomemodule.so:${PORTSDIR}/x11-toolkits/py-gnome \
|
|
${PYTHON_SITELIBDIR}/_gtkscintillamodule.so:${PORTSDIR}/x11-toolkits/py-gtkscintilla
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_PYTHON= yes
|
|
NO_BUILD= yes
|
|
|
|
INST_DIR= ${PREFIX}/share/gnome/Moleskine
|
|
CONF_DIR= ${PREFIX}/etc/gnome/config/Moleskine
|
|
|
|
do-install:
|
|
${MKDIR} ${INST_DIR}/Moleskine
|
|
${MKDIR} ${INST_DIR}/dialogs
|
|
${MKDIR} ${INST_DIR}/images
|
|
${MKDIR} ${CONF_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/LanguageModes ${CONF_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/Preferences ${CONF_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/dialogs/*.glade ${INST_DIR}/dialogs
|
|
${INSTALL_DATA} ${WRKSRC}/images/*.png ${INST_DIR}/images
|
|
${INSTALL_DATA} ${WRKSRC}/images/*.jpeg ${INST_DIR}/images
|
|
${INSTALL_DATA} ${WRKSRC}/images/moleskine.png ${PREFIX}/share/gnome/pixmaps
|
|
${INSTALL_DATA} ${WRKSRC}/Moleskine/*.py ${INST_DIR}/Moleskine
|
|
${INSTALL_DATA} ${WRKSRC}/moleskine.desktop ${PREFIX}/share/gnome/apps/Development
|
|
${INSTALL_SCRIPT} ${WRKSRC}/moleskine ${INST_DIR}
|
|
${LN} -sf ${INST_DIR}/moleskine ${PREFIX}/bin/moleskine
|
|
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${INST_DIR}/Moleskine
|
|
|
|
.include <bsd.port.mk>
|