Makefile 812 B

1234567891011121314151617181920212223242526272829303132
  1. # $OpenBSD: Makefile,v 1.29 2015/03/31 09:44:48 ajacoutot Exp $
  2. COMMENT= big5/gb enhanced truetype font manager
  3. DISTNAME= ttfm-0.9.5
  4. PKGNAME= zh-${DISTNAME}
  5. REVISION= 3
  6. CATEGORIES= chinese
  7. # BSD/X11
  8. PERMIT_PACKAGE_CDROM= Yes
  9. WANTLIB= c freetype z
  10. MAKE_FLAGS= CC="${CC}" CFLAGS='${CFLAGS} `freetype-config --cflags`'
  11. NO_TEST= Yes
  12. DOCS= README USAGE
  13. SCRIPTS= gscjk.ttfm xttfm.ttfm
  14. do-install:
  15. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ttfm
  16. ${INSTALL_DATA_DIR} ${PREFIX}/share/ttfm
  17. ${INSTALL_PROGRAM} ${WRKBUILD}/ttfinfo ${PREFIX}/bin
  18. ${INSTALL_SCRIPT} ${WRKBUILD}/ttfm.sh ${PREFIX}/bin
  19. ${INSTALL_MAN} ${WRKSRC}/ttfm.sh.1 ${PREFIX}/man/man1
  20. @cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/ttfm
  21. @cd ${WRKSRC}/modules; ${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/share/ttfm
  22. .include <bsd.port.mk>