aboutsummaryrefslogtreecommitdiffstats
path: root/www/retawq/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-12-31 02:52:17 +0800
committerijliao <ijliao@FreeBSD.org>2001-12-31 02:52:17 +0800
commit00f81ddd4c014089ff84138e82b4a7a784d9757e (patch)
treed5ec5d5452697c7b69343b22b55d0b54640ff261 /www/retawq/Makefile
parent102c316cba633c35fc0f3b594d1896a3655d0fa6 (diff)
downloadfreebsd-ports-gnome-00f81ddd4c014089ff84138e82b4a7a784d9757e.tar.gz
freebsd-ports-gnome-00f81ddd4c014089ff84138e82b4a7a784d9757e.tar.zst
freebsd-ports-gnome-00f81ddd4c014089ff84138e82b4a7a784d9757e.zip
add retawq 0.0.5
An interactive, multi-threaded web browser for text terminals
Diffstat (limited to 'www/retawq/Makefile')
-rw-r--r--www/retawq/Makefile37
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>