aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/wine-gecko-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/wine-gecko-devel/Makefile')
-rw-r--r--emulators/wine-gecko-devel/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/emulators/wine-gecko-devel/Makefile b/emulators/wine-gecko-devel/Makefile
index 8bce71815f82..a9aefcc7eea6 100644
--- a/emulators/wine-gecko-devel/Makefile
+++ b/emulators/wine-gecko-devel/Makefile
@@ -1,9 +1,9 @@
PORTNAME= wine-gecko
DISTVERSION= 2.47.4
+PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://dl.winehq.org/wine/wine-gecko/${DISTVERSION}/
PKGNAMESUFFIX= -devel
-DISTNAME= wine-gecko-${DISTVERSION}-x86
EXTRACT_SUFX= .msi
EXTRACT_ONLY=
@@ -21,9 +21,17 @@ PLIST_SUB+= GECKO_VERSION="${DISTVERSION}"
DATADIR= ${PREFIX}/share/wine
PLIST_FILES= ${DATADIR}/gecko/${DISTNAME}.msi
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == i386
+DISTVERSIONSUFFIX= -x86
+.else
+DISTVERSIONSUFFIX= -x86_64
+.endif
+
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/gecko
${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.msi \
${STAGEDIR}${DATADIR}/gecko
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>