39 lines
760 B
Makefile
39 lines
760 B
Makefile
# $OpenBSD: Makefile,v 1.2 2012/09/06 22:35:31 sthen Exp $
|
|
|
|
COMMENT= convert DOS/MAC files to UNIX (line-endings/charset)
|
|
|
|
DISTNAME= dos2unix-6.0.2
|
|
|
|
CATEGORIES= converters
|
|
|
|
HOMEPAGE= http://waterlan.home.xs4all.nl/dos2unix.html
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB += c
|
|
|
|
MASTER_SITES= http://waterlan.home.xs4all.nl/dos2unix/
|
|
|
|
MODULES= devel/gettext
|
|
|
|
MAKE_FLAGS= CC="${CC}"
|
|
FAKE_FLAGS= prefix="${PREFIX}" \
|
|
docsubdir=dos2unix \
|
|
man1dir="${PREFIX}/man/man1"
|
|
|
|
USE_GMAKE= Yes
|
|
NO_REGRESS= Yes
|
|
|
|
do-configure:
|
|
perl -pi -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/Makefile
|
|
|
|
post-install:
|
|
mv ${PREFIX}/share/man/* ${PREFIX}/man/
|
|
rmdir ${PREFIX}/share/man
|
|
|
|
.include <bsd.port.mk>
|