diff options
author | nork <nork@FreeBSD.org> | 2004-09-04 04:43:04 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2004-09-04 04:43:04 +0800 |
commit | 27d3f0ff84c764dcbf3da5ebb011a4ad43f3a240 (patch) | |
tree | 29a7b5dd875a641e85a4acc108e79bfc90b84493 /x11-toolkits | |
parent | fb7d4e80bc108af99e8736412b028980d4bca7d1 (diff) | |
download | freebsd-ports-gnome-27d3f0ff84c764dcbf3da5ebb011a4ad43f3a240.tar.gz freebsd-ports-gnome-27d3f0ff84c764dcbf3da5ebb011a4ad43f3a240.tar.zst freebsd-ports-gnome-27d3f0ff84c764dcbf3da5ebb011a4ad43f3a240.zip |
Utilize X_WINDOW_SYSTEM.
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/Xaw3d/Makefile | 12 | ||||
-rw-r--r-- | x11-toolkits/Xaw3d/pkg-plist | 1 |
2 files changed, 6 insertions, 7 deletions
diff --git a/x11-toolkits/Xaw3d/Makefile b/x11-toolkits/Xaw3d/Makefile index 45d1b4f34eb7..7581a5c34410 100644 --- a/x11-toolkits/Xaw3d/Makefile +++ b/x11-toolkits/Xaw3d/Makefile @@ -17,10 +17,10 @@ COMMENT= A 3-D Athena Widget set that looks like Motif WRKSRC= ${WRKDIR}/xc/lib/Xaw3d USE_IMAKE= yes INSTALLS_SHLIB= yes -.if exists(${X11BASE}/bin/XFree86) -PLIST_SUB= XAWLINK="" -.else -PLIST_SUB= XAWLINK="@comment " + +.include <bsd.port.pre.mk> +.if ${X_WINDOW_SYSTEM:L} == xfree86-3 +PLIST_FILES= lib/libXaw3d.so.6 .endif post-extract: @@ -37,9 +37,9 @@ post-configure: post-install: ${MKDIR} ${PREFIX}/share/doc/Xaw3d ${CP} ${WRKSRC}/README.XAW3D ${PREFIX}/share/doc/Xaw3d -.if exists(${X11BASE}/bin/XFree86) +.if ${X_WINDOW_SYSTEM:L} == xfree86-3 ${LN} -sf libXaw3d.so.${XAWVER} ${X11BASE}/lib/libXaw3d.so.6 .endif @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/x11-toolkits/Xaw3d/pkg-plist b/x11-toolkits/Xaw3d/pkg-plist index 1b8b2f885248..334738d56bcb 100644 --- a/x11-toolkits/Xaw3d/pkg-plist +++ b/x11-toolkits/Xaw3d/pkg-plist @@ -2,7 +2,6 @@ lib/libXaw3d.a lib/libXaw3d.so lib/libXaw3d.so.%%XAWVER%% -%%XAWLINK%%lib/libXaw3d.so.6 include/X11/Xaw3d/AllWidgets.h include/X11/Xaw3d/AsciiSink.h include/X11/Xaw3d/AsciiSinkP.h |