aboutsummaryrefslogtreecommitdiff
path: root/emulators/wine-doors/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-03-14 08:45:27 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-03-14 08:45:27 +0000
commita0ccdf2927b2c70132d99e94cb04cf17fca4236b (patch)
tree89067d515e3246f9b5abbe891fce781104cdc505 /emulators/wine-doors/Makefile
parentf054e410d022a9333615cbde2901a25bc7ae1c90 (diff)
downloadports-a0ccdf2927b2c70132d99e94cb04cf17fca4236b.tar.gz
ports-a0ccdf2927b2c70132d99e94cb04cf17fca4236b.zip
Notes
Diffstat (limited to 'emulators/wine-doors/Makefile')
-rw-r--r--emulators/wine-doors/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/emulators/wine-doors/Makefile b/emulators/wine-doors/Makefile
index 25ad26161995..f3dc01c4e119 100644
--- a/emulators/wine-doors/Makefile
+++ b/emulators/wine-doors/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= wine-doors
-PORTVERSION= 0.1
+PORTVERSION= 0.1.2
CATEGORIES= emulators
MASTER_SITES= http://www.wine-doors.org/releases/
@@ -29,8 +29,7 @@ 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' \
+ @${REINPLACE_CMD} 's|/etc/${PORTNAME}|${PREFIX}/etc/${PORTNAME}|g' \
${WRKSRC}/src/preferences.py
@${GREP} -lr '^#!/bin/bash' ${WRKDIR} | ${XARGS} \
${REINPLACE_CMD} 's|^#!/bin/bash|#!${LOCALBASE}/bin/bash|'
@@ -38,7 +37,7 @@ post-patch:
do-install:
${MKDIR} ${PREFIX}/etc/${PORTNAME}
${INSTALL_DATA} ${WRKDIR}/preferences.xml ${PREFIX}/etc/${PORTNAME}
- ${PYTHON_CMD} ${WRKSRC}/setup.py install
+ ${PYTHON_CMD} ${WRKSRC}/setup.py install --prefix=${PREFIX}
.include <bsd.port.pre.mk>