Makefile 746 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.12 2016/11/07 23:26:05 jca Exp $
  2. COMMENT= detect character set and encoding of text files
  3. DISTNAME= enca-1.19
  4. SHARED_LIBS += enca 0.0 # 5.1
  5. CATEGORIES= converters textproc
  6. HOMEPAGE= http://cihar.com/software/enca/
  7. # GPLv2
  8. PERMIT_PACKAGE_CDROM= Yes
  9. MASTER_SITES= http://dl.cihar.com/enca/
  10. WANTLIB += c m recode
  11. MODULES= devel/gettext
  12. BUILD_DEPENDS= converters/p5-Unicode-Map8
  13. LIB_DEPENDS= converters/recode
  14. SEPARATE_BUILD= Yes
  15. USE_GMAKE= Yes
  16. CONFIGURE_STYLE= gnu
  17. CONFIGURE_ARGS+= --disable-rpath \
  18. --with-libiconv-prefix=${LOCALBASE} \
  19. --with-librecode=${LOCALBASE}
  20. CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
  21. LDFLAGS="-L${LOCALBASE}/lib"
  22. .include <bsd.port.mk>