aboutsummaryrefslogtreecommitdiff
path: root/japanese/Wnn7-lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/Wnn7-lib/Makefile')
-rw-r--r--japanese/Wnn7-lib/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/japanese/Wnn7-lib/Makefile b/japanese/Wnn7-lib/Makefile
index 8758da751955..ec94e50574ce 100644
--- a/japanese/Wnn7-lib/Makefile
+++ b/japanese/Wnn7-lib/Makefile
@@ -15,13 +15,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= taoka@FreeBSD.org
COMMENT= Include files and a library of Wnn7
-.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
DOCDIR= ${PREFIX}/share/doc/ja-Wnn7-lib
@@ -32,6 +26,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 libwnn7.so.1.0 ${PREFIX}/lib/libwnn7.so