1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Support PTHREAD_CFLAGS properly

- Support install macros

PR:		29820
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
Ying-Chieh Liao 2001-08-18 09:22:52 +00:00
parent e5e1edcd73
commit 0d3389bd1e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46431

View File

@ -17,10 +17,9 @@ 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
post-patch:
@ -28,4 +27,13 @@ post-patch:
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>