Makefile 565 B

12345678910111213141516171819202122232425262728293031
  1. # $OpenBSD: Makefile,v 1.7 2016/03/20 16:12:24 naddy Exp $
  2. COMMENT= convert Big5 encoded files to PDF
  3. DISTNAME= bg5pdf-1.0.0
  4. PKGNAME= zh-${DISTNAME}
  5. REVISION= 12
  6. CATEGORIES= fonts chinese print
  7. # GPL + Aladdin license
  8. PERMIT_PACKAGE_CDROM= No
  9. PERMIT_PACKAGE_FTP= Yes
  10. WANTLIB += pdf z
  11. MODULES= lang/python
  12. RUN_DEPENDS= fonts/zh-taipeifonts
  13. LIB_DEPENDS= print/pdflib
  14. CONFIGURE_STYLE=none
  15. WRKDIST= ${WRKDIR}/bg5pdf
  16. NO_TEST= Yes
  17. pre-configure:
  18. ${SUBST_CMD} ${WRKSRC}/Makefile
  19. sed -i "s|/usr/bin/python|${MODPY_BIN}|" ${WRKSRC}/bg5pdf
  20. .include <bsd.port.mk>