6f69d6bfe4
Linux, Solaris or other Unix systems easier. Wine-doors is essentially a package management tool for windows software on Linux systems. Most Linux desktop users are familiar with package management style application delivery, so it made sense to apply this model to windows software. WWW: http://www.wine-doors.org/ PR: ports/114630 Submitted by: ports at mcdermottroe.com
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
# New ports collection makefile for: wine-doors
|
|
# Date created: 7 July 2007
|
|
# Whom: ports@mcdermottroe.com
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wine-doors
|
|
PORTVERSION= 0.1
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= http://www.wine-doors.org/releases/
|
|
|
|
MAINTAINER= ports@mcdermottroe.com
|
|
COMMENT= Windows application management for the GNOME Desktop
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/${PYLXML_EGG}:${PORTSDIR}/devel/py-lxml \
|
|
${PYTHON_SITELIBDIR}/cairo/__init__.py:${PORTSDIR}/graphics/py-cairo \
|
|
${PYTHON_SITELIBDIR}/gtk-2.0/gtksourceview.so:${PORTSDIR}/x11-toolkits/py-gnome-desktop \
|
|
bash:${PORTSDIR}/shells/bash \
|
|
cabextract:${PORTSDIR}/archivers/cabextract \
|
|
orange:${PORTSDIR}/archivers/orange \
|
|
unzip:${PORTSDIR}/archivers/unzip \
|
|
wine:${PORTSDIR}/emulators/wine
|
|
|
|
USE_PYTHON= 2.4+
|
|
|
|
NO_BUILD= yes
|
|
|
|
SUB_FILES= preferences.xml
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/setup.py
|
|
@${REINPLACE_CMD} 's|/etc/wine-doors|${PREFIX}/etc/wine-doors|g' \
|
|
${WRKSRC}/src/preferences.py
|
|
@${GREP} -lr '^#!/bin/bash' ${WRKDIR} | ${XARGS} \
|
|
${REINPLACE_CMD} 's|^#!/bin/bash|#!${LOCALBASE}/bin/bash|'
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/etc/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKDIR}/preferences.xml ${PREFIX}/etc/${PORTNAME}
|
|
${PYTHON_CMD} ${WRKSRC}/setup.py install
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
PYLXML_EGG!= ${MAKE} -f ${PORTSDIR}/devel/py-lxml/Makefile -V PYLXML_EGG
|
|
|
|
.include <bsd.port.post.mk>
|