aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2004-03-01 06:45:09 +0800
committergerald <gerald@FreeBSD.org>2004-03-01 06:45:09 +0800
commit3ab931d7e7ba2b1af375fc1f1fd56d9abe2c359d (patch)
treecc758afa19ef95d1f7cc34b15a9646d29b27af59 /emulators
parent5d66329fa6b413d6237c10ed242f23b3d72ce64a (diff)
downloadfreebsd-ports-gnome-3ab931d7e7ba2b1af375fc1f1fd56d9abe2c359d.tar.gz
freebsd-ports-gnome-3ab931d7e7ba2b1af375fc1f1fd56d9abe2c359d.tar.zst
freebsd-ports-gnome-3ab931d7e7ba2b1af375fc1f1fd56d9abe2c359d.zip
Fix the NOPORTDOCS case for installation and packaging. Use DOCSDIR.
Submitted by: Piotr Smyrak <piotr.smyrak@heron.pl>
Diffstat (limited to 'emulators')
-rw-r--r--emulators/wine-devel/Makefile10
-rw-r--r--emulators/wine-devel/pkg-plist16
-rw-r--r--emulators/wine/Makefile10
-rw-r--r--emulators/wine/pkg-plist16
4 files changed, 24 insertions, 28 deletions
diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile
index 6b1256b54a6b..d10cfb311bc7 100644
--- a/emulators/wine-devel/Makefile
+++ b/emulators/wine-devel/Makefile
@@ -63,16 +63,14 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/documentation/wine.man ${PREFIX}/man/man1/wine.1
${INSTALL_MAN} ${WRKSRC}/documentation/wine.conf.man ${PREFIX}/man/man5/wine.conf.5
.if !defined(NOPORTDOCS)
- -@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
+ -@${MKDIR} ${DOCSDIR}
.for i in README ANNOUNCE AUTHORS LICENSE
- @${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.for i in wcmd winedbg
- ${INSTALL_DATA} ${WRKSRC}/programs/${i}/README \
- ${PREFIX}/share/doc/${PORTNAME}/README.${i}
+ ${INSTALL_DATA} ${WRKSRC}/programs/${i}/README ${DOCSDIR}/README.${i}
.endfor
- ${INSTALL_DATA} ${WRKSRC}/tools/winedump/README \
- ${PREFIX}/share/doc/${PORTNAME}/README.winedump
+ ${INSTALL_DATA} ${WRKSRC}/tools/winedump/README ${DOCSDIR}/README.winedump
.endif
${INSTALL_SCRIPT} ${WRKSRC}/tools/bug_report.pl ${PREFIX}/lib/wine
${INSTALL_DATA} ${WRKSRC}/winedefault.reg ${PREFIX}/lib/wine
diff --git a/emulators/wine-devel/pkg-plist b/emulators/wine-devel/pkg-plist
index c7766beb03df..f029e3193f77 100644
--- a/emulators/wine-devel/pkg-plist
+++ b/emulators/wine-devel/pkg-plist
@@ -611,14 +611,14 @@ lib/wine/ws2_32.dll.so
lib/wine/wsock32.dll.so
lib/wine/x11drv.dll.so
share/aclocal/wine.m4
-%%DOCSDIR%%/ANNOUNCE
-%%DOCSDIR%%/AUTHORS
-%%DOCSDIR%%/LICENSE
-%%DOCSDIR%%/README
-%%DOCSDIR%%/README.wcmd
-%%DOCSDIR%%/README.winedbg
-%%DOCSDIR%%/README.winedump
-%%PORTDOCS%%@dirrm share/doc/wine
+%%PORTDOCS%%%%DOCSDIR%%/ANNOUNCE
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.wcmd
+%%PORTDOCS%%%%DOCSDIR%%/README.winedbg
+%%PORTDOCS%%%%DOCSDIR%%/README.winedump
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/wine
@dirrm include/wine/msvcrt/sys
@dirrm include/wine/msvcrt
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index 6b1256b54a6b..d10cfb311bc7 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -63,16 +63,14 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/documentation/wine.man ${PREFIX}/man/man1/wine.1
${INSTALL_MAN} ${WRKSRC}/documentation/wine.conf.man ${PREFIX}/man/man5/wine.conf.5
.if !defined(NOPORTDOCS)
- -@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
+ -@${MKDIR} ${DOCSDIR}
.for i in README ANNOUNCE AUTHORS LICENSE
- @${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.for i in wcmd winedbg
- ${INSTALL_DATA} ${WRKSRC}/programs/${i}/README \
- ${PREFIX}/share/doc/${PORTNAME}/README.${i}
+ ${INSTALL_DATA} ${WRKSRC}/programs/${i}/README ${DOCSDIR}/README.${i}
.endfor
- ${INSTALL_DATA} ${WRKSRC}/tools/winedump/README \
- ${PREFIX}/share/doc/${PORTNAME}/README.winedump
+ ${INSTALL_DATA} ${WRKSRC}/tools/winedump/README ${DOCSDIR}/README.winedump
.endif
${INSTALL_SCRIPT} ${WRKSRC}/tools/bug_report.pl ${PREFIX}/lib/wine
${INSTALL_DATA} ${WRKSRC}/winedefault.reg ${PREFIX}/lib/wine
diff --git a/emulators/wine/pkg-plist b/emulators/wine/pkg-plist
index c7766beb03df..f029e3193f77 100644
--- a/emulators/wine/pkg-plist
+++ b/emulators/wine/pkg-plist
@@ -611,14 +611,14 @@ lib/wine/ws2_32.dll.so
lib/wine/wsock32.dll.so
lib/wine/x11drv.dll.so
share/aclocal/wine.m4
-%%DOCSDIR%%/ANNOUNCE
-%%DOCSDIR%%/AUTHORS
-%%DOCSDIR%%/LICENSE
-%%DOCSDIR%%/README
-%%DOCSDIR%%/README.wcmd
-%%DOCSDIR%%/README.winedbg
-%%DOCSDIR%%/README.winedump
-%%PORTDOCS%%@dirrm share/doc/wine
+%%PORTDOCS%%%%DOCSDIR%%/ANNOUNCE
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.wcmd
+%%PORTDOCS%%%%DOCSDIR%%/README.winedbg
+%%PORTDOCS%%%%DOCSDIR%%/README.winedump
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/wine
@dirrm include/wine/msvcrt/sys
@dirrm include/wine/msvcrt