diff options
author | pav <pav@FreeBSD.org> | 2006-06-10 12:51:06 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-06-10 12:51:06 +0000 |
commit | 57d3aaf089c14c756646b8c63cde594d157de273 (patch) | |
tree | 1f2f20cd62116befc4244db09273599ac3f62600 /x11-toolkits | |
parent | cb927a031726caa5b37c3700acf8cd49a856ec2c (diff) | |
download | FreeBSD-ports-57d3aaf089c14c756646b8c63cde594d157de273.zip FreeBSD-ports-57d3aaf089c14c756646b8c63cde594d157de273.tar.gz |
- Use SUB_FILES, DOCSDIR
PR: ports/98027
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/Xaw3d/Makefile | 9 | ||||
-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 f119442..885fb34 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 5410437..6bfd4a6 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%% ******************************************************************* |