diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-12-30 18:52:17 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-12-30 18:52:17 +0000 |
commit | 2c0a6c05c4e40baedd3476e050485b0f3ea1cc99 (patch) | |
tree | 32cd4e777da02106ee34bede089730d45d67dae4 /www/retawq/Makefile | |
parent | b892dcdb05237c63b7b92152893e8e3423a7811b (diff) |
add retawq 0.0.5
An interactive, multi-threaded web browser for text terminals
Notes
Notes:
svn path=/head/; revision=52418
Diffstat (limited to 'www/retawq/Makefile')
-rw-r--r-- | www/retawq/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/www/retawq/Makefile b/www/retawq/Makefile new file mode 100644 index 000000000000..55e451f287cd --- /dev/null +++ b/www/retawq/Makefile @@ -0,0 +1,37 @@ +# ex:ts=8 +# Ports collection makefile for: retawq +# Date created: Dec 30, 2001 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= retawq +PORTVERSION= 0.0.5 +CATEGORIES= www +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org + +LIB_DEPENDS= intl:${PORTSDIR}/devel/gettext + +CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -lintl +USE_GMAKE= yes +MAKE_ENV= LDFLAGS="${LDFLAGS}" +ALL_TARGET= # empty + +post-patch: + @${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g ; \ + s,%%LOCALBASE%%,${LOCALBASE},g ; \ + s,%%PREFIX%%,${PREFIX},g ; \ + s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/retawq ${PREFIX}/bin +.for lang in de fr + ${INSTALL_DATA} ${WRKSRC}/i18n/${lang}.mo ${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo +.endfor + +.include <bsd.port.mk> |