Makefile 787 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.40 2017/04/18 17:10:05 jca Exp $
  2. COMMENT= convert files between character sets and usages
  3. DISTNAME= recode-3.6
  4. REVISION = 10
  5. SHARED_LIBS += recode 0.0 # .0.0
  6. CATEGORIES= converters textproc
  7. HOMEPAGE= http://recode.progiciels-bpi.ca
  8. MODULES= devel/gettext \
  9. lang/python
  10. # (L)GPLv2
  11. PERMIT_PACKAGE_CDROM= Yes
  12. WANTLIB= c
  13. # moved to https://github.com/pinard/Recode/
  14. MASTER_SITES= ${MASTER_SITE_GNU:=recode/}
  15. MODPY_RUNDEP= No
  16. CONFIGURE_STYLE= gnu
  17. CONFIGURE_ARGS= --without-included-gettext
  18. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  19. LDFLAGS="-L${LOCALBASE}/lib"
  20. post-extract:
  21. @cd ${WRKSRC}/lib && cp -p error.c ../src
  22. post-test:
  23. @cd ${WRKBUILD}/tests && ${MAKE_PROGRAM} PYTHON=${MODPY_BIN} bigtest
  24. .include <bsd.port.mk>