aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/wine-devel
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2013-10-19 04:49:04 +0800
committergerald <gerald@FreeBSD.org>2013-10-19 04:49:04 +0800
commitc70c1db72c992a6e38c55d0a4283f028fb6a9e34 (patch)
treed0e51b9b6a9b38d923198a6594455136c62fecf2 /emulators/wine-devel
parent31790bd38a01206bc778bb7e6c4e015ed2eb8284 (diff)
downloadfreebsd-ports-gnome-c70c1db72c992a6e38c55d0a4283f028fb6a9e34.tar.gz
freebsd-ports-gnome-c70c1db72c992a6e38c55d0a4283f028fb6a9e34.tar.zst
freebsd-ports-gnome-c70c1db72c992a6e38c55d0a4283f028fb6a9e34.zip
Support staging.
Diffstat (limited to 'emulators/wine-devel')
-rw-r--r--emulators/wine-devel/Makefile33
-rw-r--r--emulators/wine-devel/pkg-plist22
2 files changed, 30 insertions, 25 deletions
diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile
index a310d0f7fd8d..c5681345aedd 100644
--- a/emulators/wine-devel/Makefile
+++ b/emulators/wine-devel/Makefile
@@ -43,12 +43,6 @@ WINELIBDIR?= ${PREFIX}/lib
.if !defined(USE_LDCONFIG32)
USE_LDCONFIG= ${WINELIBDIR} ${WINELIBDIR}/wine
.endif
-MAN1= msiexec.1 notepad.1 regedit.1 regsvr32.1 widl.1 wine.1 \
- wineboot.1 winebuild.1 winecfg.1 wineconsole.1 winedbg.1 \
- winedump.1 winefile.1 winegcc.1 winemaker.1 winemine.1 \
- winepath.1 wineserver.1 wmc.1 wrc.1
-MLINKS= winegcc.1 winecpp.1 \
- winegcc.1 wineg++.1
ONLY_FOR_ARCHS= i386
USES= bison gmake
USE_BZIP2= yes
@@ -66,9 +60,8 @@ WINEMAKER_DESC= Fully support winemaker (requires Perl)
GECKO_DESC= Bundle Gecko MSI package for Wine
MONO_DESC= Bundle Mono MSI package for Wine
-PORTDATA= fonts/ generic.ppd l_intl.nls wine.inf
+PORTDATA= fonts/ l_intl.nls wine.inf
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MCUPS}
@@ -139,27 +132,17 @@ pre-build:
cd ${WRKSRC} && ${GMAKE} depend
post-install:
- @${RM} -f ${MAN1PREFIX}/man/de.UTF-8/man1/wine.1 \
- ${MAN1PREFIX}/man/de.UTF-8/man1/winemaker.1 \
- ${MAN1PREFIX}/man/de.UTF-8/man1/wineserver.1 \
- ${MAN1PREFIX}/man/fr.UTF-8/man1/wine.1 \
- ${MAN1PREFIX}/man/fr.UTF-8/man1/winemaker.1 \
- ${MAN1PREFIX}/man/fr.UTF-8/man1/wineserver.1 \
- ${MAN1PREFIX}/man/pl.UTF-8/man1/wine.1
- @-${RMDIR} -p ${MAN1PREFIX}/man/de.UTF-8/man1 \
- ${MAN1PREFIX}/man/fr.UTF-8/man1 \
- ${MAN1PREFIX}/man/pl.UTF-8/man1
- @${MV} -f ${WINELIBDIR}/libwine.so.1.0 ${WINELIBDIR}/libwine.so.1
- @${LN} -sf libwine.so.1 ${WINELIBDIR}/libwine.so
+ @${MV} -f ${STAGEDIR}${WINELIBDIR}/libwine.so.1.0 \
+ ${STAGEDIR}${WINELIBDIR}/libwine.so.1
+ @${LN} -sf libwine.so.1 ${STAGEDIR}/${WINELIBDIR}/libwine.so
.if !defined(NOPORTDOCS)
- -@${MKDIR} ${DOCSDIR}
+ -@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in README ANNOUNCE AUTHORS
- @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
- @${INSTALL_DATA} ${WRKSRC}/programs/winedbg/README ${DOCSDIR}/README.winedbg
- @${INSTALL_DATA} ${WRKSRC}/tools/winedump/README ${DOCSDIR}/README.winedump
+ @${INSTALL_DATA} ${WRKSRC}/programs/winedbg/README ${STAGEDIR}${DOCSDIR}/README.winedbg
+ @${INSTALL_DATA} ${WRKSRC}/tools/winedump/README ${STAGEDIR}${DOCSDIR}/README.winedump
.endif
- @${MKDIR} ${DESKTOPDIR}
@${ECHO}
@${CAT} ${PKGMESSAGE}
diff --git a/emulators/wine-devel/pkg-plist b/emulators/wine-devel/pkg-plist
index 1ac4754eac9b..81532793843b 100644
--- a/emulators/wine-devel/pkg-plist
+++ b/emulators/wine-devel/pkg-plist
@@ -1995,6 +1995,28 @@ lib/wine/xmllite.dll.so
lib/wine/xolehlp.dll.so
lib/wine/xpsprint.dll.so
lib/wine/xpssvcs.dll.so
+man/man1/msiexec.1.gz
+man/man1/notepad.1.gz
+man/man1/regedit.1.gz
+man/man1/regsvr32.1.gz
+man/man1/widl.1.gz
+man/man1/wine.1.gz
+man/man1/wineboot.1.gz
+man/man1/winebuild.1.gz
+man/man1/winecfg.1.gz
+man/man1/wineconsole.1.gz
+man/man1/winecpp.1.gz
+man/man1/winedbg.1.gz
+man/man1/winedump.1.gz
+man/man1/winefile.1.gz
+man/man1/wineg++.1.gz
+man/man1/winegcc.1.gz
+man/man1/winemaker.1.gz
+man/man1/winemine.1.gz
+man/man1/winepath.1.gz
+man/man1/wineserver.1.gz
+man/man1/wmc.1.gz
+man/man1/wrc.1.gz
share/applications/wine.desktop
%%PORTDOCS%%%%DOCSDIR%%/ANNOUNCE
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS