[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / ports / converters / enca

File: [local] / ports / converters / enca / Makefile (download)

Revision 1.16, Wed Sep 20 09:53:44 2023 UTC (8 months, 1 week ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, HEAD
Changes since 1.15: +1 -1 lines

->SITES, no fetch changes

COMMENT=		detect character set and encoding of text files

DISTNAME=		enca-1.19
SHARED_LIBS +=  enca                 0.0      # 5.1
CATEGORIES=		converters textproc
REVISION=		0

HOMEPAGE=		http://cihar.com/software/enca/

# GPLv2
PERMIT_PACKAGE=	Yes

WANTLIB =  c iconv intl m recode

SITES=			http://dl.cihar.com/enca/


BUILD_DEPENDS=		converters/p5-Unicode-Map8
LIB_DEPENDS=		converters/recode

SEPARATE_BUILD=		Yes
USE_GMAKE=		Yes
CONFIGURE_STYLE=	gnu
CONFIGURE_ARGS+=	--disable-rpath \
			--with-libiconv-prefix=${LOCALBASE} \
			--with-librecode=${LOCALBASE}
CONFIGURE_ENV+=		CPPFLAGS="-I${LOCALBASE}/include" \
			LDFLAGS="-L${LOCALBASE}/lib"

.include <bsd.port.mk>