aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/wine-gecko
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2011-05-26 05:14:16 +0800
committergerald <gerald@FreeBSD.org>2011-05-26 05:14:16 +0800
commit547829af17fcab20fc9bfcf34c716cde00d35f79 (patch)
tree76ddf57cd5a7f1c97ce13a488a49a1edafca56f7 /emulators/wine-gecko
parent5f2255de9a57d93f060ad4d95d32beb80f952ed3 (diff)
downloadfreebsd-ports-gnome-547829af17fcab20fc9bfcf34c716cde00d35f79.tar.gz
freebsd-ports-gnome-547829af17fcab20fc9bfcf34c716cde00d35f79.tar.zst
freebsd-ports-gnome-547829af17fcab20fc9bfcf34c716cde00d35f79.zip
Adjust the directory structure to work with the main wine port.
Replace pkg-plist by PLIST_FILES. Submitted by: Pan Tsu <inyaoo@gmail.com> Approved by: David Naylor <naylor.b.david@gmail.com> (maintainer)
Diffstat (limited to 'emulators/wine-gecko')
-rw-r--r--emulators/wine-gecko/Makefile7
-rw-r--r--emulators/wine-gecko/pkg-plist4
2 files changed, 5 insertions, 6 deletions
diff --git a/emulators/wine-gecko/Makefile b/emulators/wine-gecko/Makefile
index 866104a6b033..071fe2f93df0 100644
--- a/emulators/wine-gecko/Makefile
+++ b/emulators/wine-gecko/Makefile
@@ -18,12 +18,15 @@ COMMENT= Gecko Layout Engine for Wine (HTML support)
NO_BUILD= yes
PLIST_SUB+= GECKO_VERSION="${DISTVERSION}"
+DATADIR= ${PREFIX}/share/wine
+PLIST_FILES= %%DATADIR%%/gecko/wine_gecko-%%GECKO_VERSION%%-x86.msi
+PLIST_DIRSTRY= %%DATADIR%%/gecko %%DATADIR%%
LICENSE= MPL GPLv2 GPLv3 LGPL21 LGPL3
LICENSE_COMB= multi
do-install:
- ${MKDIR} ${DATADIR}/wine/gecko
- ${INSTALL_DATA} ${DISTDIR}/wine_gecko-${DISTVERSION}-x86.msi ${DATADIR}/wine/gecko
+ ${MKDIR} ${DATADIR}/gecko
+ ${INSTALL_DATA} ${DISTDIR}/wine_gecko-${DISTVERSION}-x86.msi ${DATADIR}/gecko
.include <bsd.port.mk>
diff --git a/emulators/wine-gecko/pkg-plist b/emulators/wine-gecko/pkg-plist
deleted file mode 100644
index 0229a0fa0cef..000000000000
--- a/emulators/wine-gecko/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-%%DATADIR%%/wine/gecko/wine_gecko-%%GECKO_VERSION%%-x86.msi
-@dirrm %%DATADIR%%/wine/gecko
-@dirrmtry %%DATADIR%%/wine
-@dirrmtry %%DATADIR%%