aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-06-10 12:51:06 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-06-10 12:51:06 +0000
commit3ecfbafa4d73baa94ece9617fc36eb1f9a9c0f63 (patch)
tree39a86921046b773a045314bcc0e5e8ef18d8a1d8 /x11-toolkits
parent0c9fd72e090a4db0ea36d49d9be83799414443d1 (diff)
downloadports-3ecfbafa4d73baa94ece9617fc36eb1f9a9c0f63.tar.gz
ports-3ecfbafa4d73baa94ece9617fc36eb1f9a9c0f63.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/Xaw3d/Makefile9
-rw-r--r--x11-toolkits/Xaw3d/files/pkg-message.in (renamed from x11-toolkits/Xaw3d/pkg-message)2
2 files changed, 5 insertions, 6 deletions
diff --git a/x11-toolkits/Xaw3d/Makefile b/x11-toolkits/Xaw3d/Makefile
index f11944265b49..885fb346e771 100644
--- a/x11-toolkits/Xaw3d/Makefile
+++ b/x11-toolkits/Xaw3d/Makefile
@@ -18,8 +18,8 @@ WRKSRC= ${WRKDIR}/xc/lib/Xaw3d
USE_IMAKE= yes
INSTALLS_SHLIB= yes
-MSG_FILE= ${PKGDIR}/pkg-message
-PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
+SUB_LIST= XAWVER="${XAWVER}"
.include <bsd.port.pre.mk>
.if ${X_WINDOW_SYSTEM:L} == xfree86-3
@@ -29,7 +29,6 @@ PLIST_FILES= lib/libXaw3d.so.6
post-extract:
${MKDIR} ${WRKSRC}/X11/Xaw3d
cd ${WRKSRC}/X11/Xaw3d; ${LN} -sf ../../*.h .
- ${SED} 's|%%XAWVER%%|${XAWVER}|g' ${MSG_FILE} > ${PKGMESSAGE}
# Workaround a bug in egcs on FreeBSD/Alpha.
.if ${MACHINE_ARCH} == "alpha"
@@ -39,8 +38,8 @@ post-configure:
.endif
post-install:
- ${MKDIR} ${PREFIX}/share/doc/Xaw3d
- ${CP} ${WRKSRC}/README.XAW3D ${PREFIX}/share/doc/Xaw3d
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.XAW3D ${DOCSDIR}
.if ${X_WINDOW_SYSTEM:L} == xfree86-3
${LN} -sf libXaw3d.so.${XAWVER} ${X11BASE}/lib/libXaw3d.so.6
.endif
diff --git a/x11-toolkits/Xaw3d/pkg-message b/x11-toolkits/Xaw3d/files/pkg-message.in
index 541043796346..6bfd4a6fdef1 100644
--- a/x11-toolkits/Xaw3d/pkg-message
+++ b/x11-toolkits/Xaw3d/files/pkg-message.in
@@ -2,7 +2,7 @@
If you want Xaw3d to replace the default Athena Widget Set
so most X applications will get a 3-D look, do this (as root):
-cd /usr/X11R6/lib
+cd %%X11BASE%%/lib
mv libXaw.so.%%XAWVER%% libXaw2d.so.%%XAWVER%%
ln -s libXaw3d.so.%%XAWVER%% libXaw.so.%%XAWVER%%
*******************************************************************