ports/65412: [Patch] port: editors/wily use DOCSDIR instead of hardcoded path
Serge Gagnon
gagnon_s at sympatico.ca
Sat Apr 10 21:30:21 UTC 2004
>Number: 65412
>Category: ports
>Synopsis: [Patch] port: editors/wily use DOCSDIR instead of hardcoded path
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Apr 10 14:30:20 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Serge Gagnon
>Release: FreeBSD 4.9-STABLE i386
>Organization:
me
>Environment:
System: FreeBSD quenix.dnsalias.org 4.9-STABLE FreeBSD 4.9-STABLE #0: Sat Apr 3 11:12:30 EST 2004 root@:/usr/obj/usr/src/sys/OCEAN i386
>Description:
- Use of DOCSDIR instead of hardcoded path in Makefile and
pkg-plist
>How-To-Repeat:
>Fix:
--- patch-Makefile begins here ---
--- Makefile.orig Sun Apr 11 05:13:48 2004
+++ Makefile Sun Apr 11 05:28:17 2004
@@ -28,8 +28,6 @@
${RM} ${WRKSRC}/tools/win/config.cache
cd ${WRKSRC}/tools/win; ./configure
-WILYDOCDIR= ${PREFIX}/share/doc/wily
-WILYTUTEDIR= ${WILYDOCDIR}/tute
WILYDOCFILES= index.html intro.html download.html credits.html FAQ.html \
onepage.html user.html idioms.html C.html python.html \
hack.html AcmeVsWily.html Tcl.html \
@@ -44,9 +42,9 @@
post-install:
${STRIP_CMD} ${PREFIX}/bin/wily
.if !defined(NOPORTDOCS)
- ${MKDIR} ${WILYDOCDIR} ${WILYTUTEDIR}
+ ${MKDIR} ${DOCSDIR} ${DOCSDIR}/tute
set -e; for f in ${WILYDOCFILES}; do \
- ${INSTALL_DATA} ${WRKSRC}/Doc/$${f} ${WILYDOCDIR}/$${f}; \
+ ${INSTALL_DATA} ${WRKSRC}/Doc/$${f} ${DOCSDIR}/$${f}; \
done
.endif
@${CAT} ${PKGMESSAGE}
--- patch-Makefile ends here ---
--- patch-pkg-plist begins here ---
--- pkg-plist.orig Sun Apr 11 05:10:43 2004
+++ pkg-plist Sun Apr 11 05:22:39 2004
@@ -5,37 +5,37 @@
bin/wily
bin/win
bin/wreplace
-share/doc/wily/index.html
-share/doc/wily/intro.html
-share/doc/wily/download.html
-share/doc/wily/credits.html
-share/doc/wily/FAQ.html
-share/doc/wily/onepage.html
-share/doc/wily/user.html
-share/doc/wily/idioms.html
-share/doc/wily/C.html
-share/doc/wily/python.html
-share/doc/wily/hack.html
-share/doc/wily/AcmeVsWily.html
-share/doc/wily/Tcl.html
-share/doc/wily/pythonpaper.html
-share/doc/wily/winmanager.html
-share/doc/wily/auug.html
-share/doc/wily/one.html
-share/doc/wily/example.gif
-share/doc/wily/thumb.gif
-share/doc/wily/cartoon.gif
-share/doc/wily/FAQ.txt
-share/doc/wily/Tcl.txt
-share/doc/wily/changes.txt
-share/doc/wily/perl.txt
-share/doc/wily/Credits
-share/doc/wily/fonts
-share/doc/wily/mouse
-share/doc/wily/tute/findword
-share/doc/wily/tute/script
-share/doc/wily/tute/start
-share/doc/wily/tute/hello.c
-share/doc/wily/tute/send_to_gary
- at dirrm share/doc/wily/tute
- at dirrm share/doc/wily
+%%DOCSDIR%%/index.html
+%%DOCSDIR%%/intro.html
+%%DOCSDIR%%/download.html
+%%DOCSDIR%%/credits.html
+%%DOCSDIR%%/FAQ.html
+%%DOCSDIR%%/onepage.html
+%%DOCSDIR%%/user.html
+%%DOCSDIR%%/idioms.html
+%%DOCSDIR%%/C.html
+%%DOCSDIR%%/python.html
+%%DOCSDIR%%/hack.html
+%%DOCSDIR%%/AcmeVsWily.html
+%%DOCSDIR%%/Tcl.html
+%%DOCSDIR%%/pythonpaper.html
+%%DOCSDIR%%/winmanager.html
+%%DOCSDIR%%/auug.html
+%%DOCSDIR%%/one.html
+%%DOCSDIR%%/example.gif
+%%DOCSDIR%%/thumb.gif
+%%DOCSDIR%%/cartoon.gif
+%%DOCSDIR%%/FAQ.txt
+%%DOCSDIR%%/Tcl.txt
+%%DOCSDIR%%/changes.txt
+%%DOCSDIR%%/perl.txt
+%%DOCSDIR%%/Credits
+%%DOCSDIR%%/fonts
+%%DOCSDIR%%/mouse
+%%DOCSDIR%%/tute/findword
+%%DOCSDIR%%/tute/script
+%%DOCSDIR%%/tute/start
+%%DOCSDIR%%/tute/hello.c
+%%DOCSDIR%%/tute/send_to_gary
+ at dirrm %%DOCSDIR%%/tute
+ at dirrm %%DOCSDIR%%
--- patch-pkg-plist ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list