aboutsummaryrefslogtreecommitdiffstats
path: root/www/retawq/Makefile
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2002-11-23 23:33:50 +0800
committernork <nork@FreeBSD.org>2002-11-23 23:33:50 +0800
commit7670018754aaeafac1fc1b6194468e7d67eafd84 (patch)
tree67cb05e46a97c4e5478f7b2c75e3496e1f9abd49 /www/retawq/Makefile
parent4a4b76437cf44df292528e9734383c4253567ad9 (diff)
downloadfreebsd-ports-gnome-7670018754aaeafac1fc1b6194468e7d67eafd84.tar.gz
freebsd-ports-gnome-7670018754aaeafac1fc1b6194468e7d67eafd84.tar.zst
freebsd-ports-gnome-7670018754aaeafac1fc1b6194468e7d67eafd84.zip
Update to 0.1.2
PR: ports/45632 Submitted by: Ports Fury
Diffstat (limited to 'www/retawq/Makefile')
-rw-r--r--www/retawq/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/www/retawq/Makefile b/www/retawq/Makefile
index 8a125060e2fd..89a89f7c89f7 100644
--- a/www/retawq/Makefile
+++ b/www/retawq/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= retawq
-PORTVERSION= 0.1.1
+PORTVERSION= 0.1.2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,12 +16,19 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
-USE_GMAKE= yes
-MAKE_ENV= THREAD_CFLAGS="${PTHREAD_CFLAGS}" THREAD_LIBS="${PTHREAD_LIBS}"
-ALL_TARGET= build_binary
+USE_REINPLACE= yes
+HAS_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+CONFIGURE_ARGS= --path-archprefix=${PREFIX} --path-prefix=${PREFIX} \
+ --enable-i18n --enable-local-cgi --enable-ipv6
MAN1= retawq.1
+post-configure:
+ @${REINPLACE_CMD} -e 's|_IN_H 0|_IN_H 1|g ; \
+ s|_SOCKET_H 0|_SOCKET_H 1|g' ${WRKSRC}/.config
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/retawq ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/docu/retawq.1 ${MANPREFIX}/man/man1