Edit

IABSD.fr/ports/converters/dos2unix/Makefile

Branch :

  • Show log

    Commit

  • Author : fcambus
    Date : 2026-05-29 21:11:44
    Hash : 01707269
    Message : Update dos2unix to 7.5.6.

  • converters/dos2unix/Makefile
  • COMMENT=	convert DOS/MAC files to UNIX (line-endings/charset)
    
    DISTNAME =	dos2unix-7.5.6
    
    CATEGORIES=	converters
    
    HOMEPAGE=	https://waterlander.net/dos2unix/
    
    # BSD
    PERMIT_PACKAGE=	Yes
    
    WANTLIB += c intl
    
    SITES=		https://waterlander.net/dos2unix/files/
    
    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>