aboutsummaryrefslogtreecommitdiff
path: root/japanese/Wnn6-lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/Wnn6-lib/Makefile')
-rw-r--r--japanese/Wnn6-lib/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/japanese/Wnn6-lib/Makefile b/japanese/Wnn6-lib/Makefile
index 6098756e685b..ad99568f65c1 100644
--- a/japanese/Wnn6-lib/Makefile
+++ b/japanese/Wnn6-lib/Makefile
@@ -14,13 +14,7 @@ DISTNAME= Wnn6-SDK
MAINTAINER= taoka@FreeBSD.org
COMMENT= Include files and a library of Wnn6
-.include <bsd.port.pre.mk>
-
-.if ${XFREE86_VERSION} == 3
-BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake
-.else
-BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake-4
-.endif
+BUILD_DEPENDS= imake:${X_IMAKE_PORT}
WRKSRC= ${WRKDIR}/src/contrib/im/Xsi
DOCDIR= ${PREFIX}/share/doc/ja-Wnn6-lib
@@ -31,6 +25,8 @@ INSTALLS_SHLIB= yes
do-build:
( cd ${WRKSRC} ; make World -f Makefile.ini )
+.include <bsd.port.pre.mk>
+
post-install:
.if ${PORTOBJFORMAT} == "aout"
${LN} -sf libwnn6.so.1.0 ${PREFIX}/lib/libwnn6.so