diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-08-18 09:22:52 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-08-18 09:22:52 +0000 |
commit | 77fcbacf0fdc5680ed94726c7ccf04fcb2b1f2ca (patch) | |
tree | 30429424b580c144d0f4d33879329a69c568c8b5 /ftp | |
parent | 2bacd519e13aa7560b20f92bf64b84e068020f02 (diff) | |
download | FreeBSD-ports-77fcbacf0fdc5680ed94726c7ccf04fcb2b1f2ca.zip FreeBSD-ports-77fcbacf0fdc5680ed94726c7ccf04fcb2b1f2ca.tar.gz |
- Support PTHREAD_CFLAGS properly
- Support install macros
PR: 29820
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'ftp')
-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 36eceed..f042cda 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> |