mestre 0c2e12bded update to 7.4.2
plist tweaks pointed out by sthen@ and bcallah@
OK bcallah@
2020-11-28 22:55:53 +00:00

38 lines
741 B
Makefile

# $OpenBSD: Makefile,v 1.23 2020/11/28 22:55:53 mestre Exp $
COMMENT= convert DOS/MAC files to UNIX (line-endings/charset)
DISTNAME = dos2unix-7.4.2
CATEGORIES= converters
HOMEPAGE= https://waterlan.home.xs4all.nl/dos2unix.html
MAINTAINER= Brian Callahan <bcallah@openbsd.org>
# BSD
PERMIT_PACKAGE= Yes
WANTLIB += c intl
MASTER_SITES= https://waterlan.home.xs4all.nl/dos2unix/
BUILD_DEPENDS= devel/gettext,-tools
LIB_DEPENDS= devel/gettext,-runtime
MAKE_FLAGS= CC="${CC}"
FAKE_FLAGS= prefix="${PREFIX}" \
docsubdir=dos2unix \
man1dir="${PREFIX}/man/man1"
USE_GMAKE= Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/Makefile
post-install:
mv ${PREFIX}/share/man/* ${PREFIX}/man/
rmdir ${PREFIX}/share/man
.include <bsd.port.mk>