diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2014-05-24 18:10:10 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2014-05-24 18:10:10 +0000 |
commit | 70d842709f450d50df44c8c32fc083525e1a6f0e (patch) | |
tree | 9fecf390c43c14c1e4f169f7f8b58eceaa0b045d /japanese/kterm/Makefile | |
parent | 6de9270814a5a8241dc90bd039fd6e77e29c4ac3 (diff) | |
download | ports-70d842709f450d50df44c8c32fc083525e1a6f0e.tar.gz ports-70d842709f450d50df44c8c32fc083525e1a6f0e.zip |
Notes
Diffstat (limited to 'japanese/kterm/Makefile')
-rw-r--r-- | japanese/kterm/Makefile | 74 |
1 files changed, 30 insertions, 44 deletions
diff --git a/japanese/kterm/Makefile b/japanese/kterm/Makefile index 50044ac8f89a..72e1ad1da46a 100644 --- a/japanese/kterm/Makefile +++ b/japanese/kterm/Makefile @@ -39,74 +39,60 @@ BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf USES= imake USE_XORG= xaw CFLAGS+= -Wno-return-type - -MAN1= kterm.1 -MANLANG= "" ja - -.if !defined(NOPORTDOCS) PORTDOCS= README.kt README.wallpaper.ja dot.termcap -.endif OPTIONS_DEFINE= TEKTRONIXEMU VGAFONT OPTIONS_DEFAULT= DEFAULT OPTIONS_SINGLE= SCROLLBAR OPTIONS_SINGLE_SCROLLBAR= DEFAULT XAW3DLIB NEXTAWLIB +OPTIONS_SUB= yes -XAW3DLIB_DESC= with Xaw3d scrollbar -NEXTAWLIB_DESC= with neXtaw scrollbar -TEKTRONIXEMU_DESC= Tektronix emulation -VGAFONT_DESC= install VGA font +XAW3DLIB_DESC= with Xaw3d scrollbar +LIB_DEPENDS_XAW3DLIB= libXaw3d.so:${PORTSDIR}/x11-toolkits/Xaw3d +EXTRA_PATCHES_XAW3DLIB= ${PATCHDIR}/extra-patch-Xaw3d -NKFCMD= ${LOCALBASE}/bin/nkf +NEXTAWLIB_DESC= with neXtaw scrollbar +LIB_DEPENDS_NEXTAWLIB= libneXtaw.so:${PORTSDIR}/x11-toolkits/neXtaw +EXTRA_PATCHES_NEXTAWLIB=${PATCHDIR}/extra-patch-neXtaw -NO_STAGE= yes -.include <bsd.port.pre.mk> +TEKTRONIXEMU_DESC= Tektronix emulation +EXTRA_PATCHES_TEKTRONIXEMU=${PATCHDIR}/extra-patch-Tektronix -.if ${PORT_OPTIONS:MXAW3DLIB} -LIB_DEPENDS+= Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-Xaw3d -.endif -.if ${PORT_OPTIONS:MNEXTAWLIB} -LIB_DEPENDS+= neXtaw:${PORTSDIR}/x11-toolkits/neXtaw -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-neXtaw -.endif +VGAFONT_DESC= install VGA font +BUILD_DEPENDS_VGAFONT= \ + ${LOCALBASE}/bin/mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \ + ${LOCALBASE}/bin/mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale \ + ${LOCALBASE}/bin/bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf -.if ${PORT_OPTIONS:MTEKTRONIXEMU} -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-Tektronix -.endif +NKFCMD= ${LOCALBASE}/bin/nkf + +.include <bsd.port.options.mk> .if ${PORT_OPTIONS:MVGAFONT} -PLIST_SUB= VGAFONT="" post-extract: ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \ - ${DISTDIR}/${DIST_SUBDIR}/pcemu1.01alpha.tar.gz \ - ${EXTRACT_AFTER_ARGS} -C ${WRKDIR} pcemu1.01alpha/vga.bdf + ${DISTDIR}/${DIST_SUBDIR}/pcemu1.01alpha.tar.gz \ + ${EXTRACT_AFTER_ARGS} -C ${WRKDIR} pcemu1.01alpha/vga.bdf cd ${WRKDIR}/pcemu1.01alpha && \ - ${LOCALBASE}/bin/bdftopcf vga.bdf | ${GZIP_CMD} > vga.pcf.gz + ${LOCALBASE}/bin/bdftopcf vga.bdf | ${GZIP_CMD} > vga.pcf.gz post-install-vgafont: - ${MKDIR} ${PREFIX}/lib/X11/fonts/misc + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/fonts/misc ${INSTALL_DATA} ${WRKDIR}/pcemu1.01alpha/vga.pcf.gz \ - ${PREFIX}/lib/X11/fonts/misc - ${LOCALBASE}/bin/mkfontdir ${PREFIX}/lib/X11/fonts/misc + ${STAGEDIR}${PREFIX}/lib/X11/fonts/misc post-install: post-install-vgafont -.else -PLIST_SUB= VGAFONT="@comment " .endif post-build: ${NKFCMD} -e -u ${WRKSRC}/kterm.jman \ - | ${GZIP_CMD} > ${WRKSRC}/${MAN1}.gz + | ${GZIP_CMD} > ${WRKSRC}/kterm.1.gz post-install: - ${INSTALL_MAN} ${WRKSRC}/${MAN1}.gz ${MANPREFIX}/man/ja/man1 -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/kterm.1.gz ${STAGEDIR}${MANPREFIX}/man/ja/man1 + ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} \ - ${WRKSRC}/README.kt \ - ${DISTDIR}/${DIST_SUBDIR}/README.wallpaper.ja \ - ${FILESDIR}/dot.termcap \ - ${DOCSDIR}/README.wallpaper.ja \ - ${DOCSDIR} -.endif + ${WRKSRC}/README.kt \ + ${DISTDIR}/${DIST_SUBDIR}/README.wallpaper.ja \ + ${FILESDIR}/dot.termcap \ + ${STAGEDIR}${DOCSDIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |