Makefile 544 B

12345678910111213141516171819202122232425262728293031
  1. # $OpenBSD: Makefile,v 1.11 2016/10/01 11:54:14 naddy Exp $
  2. COMMENT= simplified-traditional chinese translate tool
  3. DISTNAME= cconv-0.6.2
  4. REVISION= 4
  5. CATEGORIES= chinese converters
  6. SHARED_LIBS= cconv 0.0
  7. HOMEPAGE= https://github.com/xiaoyjy/cconv
  8. # GPLv2+
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB= c iconv
  11. MASTER_SITES= ${MASTER_SITE_GOOGLECODE:=cconv/}
  12. LIB_DEPENDS= converters/libiconv
  13. CONFIGURE_STYLE=gnu
  14. FAKE_FLAGS= includedir=${PREFIX}/include/cconv/
  15. post-patch:
  16. @sed -i 's:UTF-TW:UTF8-TW:g' ${WRKSRC}/main.c
  17. .include <bsd.port.mk>