26 lines
515 B
Makefile

# $OpenBSD: Makefile,v 1.13 2019/07/12 21:02:24 sthen Exp $
COMMENT= encoder/decoder tool for the Usenet yEnc encoding format
DISTNAME= yencode-0.46
REVISION= 3
CATEGORIES= news
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=yencode/}
LIB_DEPENDS= devel/gettext,-runtime
WANTLIB= c iconv intl
# GPL
PERMIT_PACKAGE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-libiconv-prefix="${LOCALBASE}"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
NO_TEST= Yes
.include <bsd.port.mk>