Makefile 678 B

1234567891011121314151617181920212223242526272829303132
  1. # $OpenBSD: Makefile,v 1.32 2016/06/05 11:02:25 sthen Exp $
  2. COMMENT = Network Kanji code conversion Filter
  3. VERSION = 2.1.1
  4. DISTNAME = nkf-${VERSION}
  5. PKGNAME = ja-nkf-${VERSION}
  6. EPOCH = 0
  7. REVISION = 3
  8. CATEGORIES = japanese textproc
  9. HOMEPAGE = https://nkf.osdn.jp/
  10. MASTER_SITES = ${MASTER_SITE_OSDN_JP:=nkf/48945/}
  11. MAINTAINER = Marc Espie <espie@openbsd.org>
  12. # BSD
  13. PERMIT_PACKAGE_CDROM = Yes
  14. WANTLIB = c perl
  15. WRKSRC = ${WRKDIST}/NKF.mod
  16. CONFIGURE_STYLE = perl
  17. post-build:
  18. cd ${WRKDIST} && ${CC} -o nkf ${CFLAGS} nkf.c utf8tbl.c
  19. post-install:
  20. ${INSTALL_PROGRAM} ${WRKDIST}/nkf ${PREFIX}/bin
  21. ${INSTALL_MAN} ${WRKDIST}/nkf.1 ${PREFIX}/man/man1
  22. .include <bsd.port.mk>