diff options
Diffstat (limited to 'ftp/axel')
-rw-r--r-- | ftp/axel/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/ftp/axel/Makefile b/ftp/axel/Makefile index 36eceed994ca..f042cda8bec5 100644 --- a/ftp/axel/Makefile +++ b/ftp/axel/Makefile @@ -17,15 +17,23 @@ LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt \ intl:${PORTSDIR}/devel/gettext USE_GMAKE= yes -CFLAGS+= -I${LOCALBASE}/include +CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} MAKE_ENV= LFLAGS="-L${LOCALBASE}/lib -lgnugetopt -lintl" -MANCOMPRESSED= no -MAN1= axel.1 +MAN1= axel.1 post-patch: @${PERL} -pi -e "s,-pthread,${PTHREAD_LIBS},g ; \ s,^(CFLAGS = -O3),#\1,g ; \ s,gcc,${CC},g" ${WRKSRC}/Makefile +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/axel ${PREFIX}/bin/axel + ${INSTALL_DATA} ${WRKSRC}/axelrc.example ${PREFIX}/etc/axelrc + ${INSTALL_MAN} ${WRKSRC}/axel.1 ${PREFIX}/man/man1/axel.1 +.for lang in de nl + ${INSTALL_DATA} ${WRKSRC}/${lang}.mo \ + ${PREFIX}/share/locale/${lang}/LC_MESSAGES/axel.mo +.endfor + .include <bsd.port.mk> |