2001-12-30 19:52:17 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: retawq
|
|
|
|
# Date created: Dec 30, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= retawq
|
2003-01-01 21:58:17 +01:00
|
|
|
PORTVERSION= 0.1.4
|
2001-12-30 19:52:17 +01:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
|
2002-08-01 18:22:41 +02:00
|
|
|
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
|
2001-12-30 19:52:17 +01:00
|
|
|
|
2002-11-23 16:33:50 +01:00
|
|
|
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
|
2001-12-30 19:52:17 +01:00
|
|
|
|
2002-11-20 14:24:40 +01:00
|
|
|
MAN1= retawq.1
|
2001-12-30 19:52:17 +01:00
|
|
|
|
2002-11-23 16:33:50 +01:00
|
|
|
post-configure:
|
|
|
|
@${REINPLACE_CMD} -e 's|_IN_H 0|_IN_H 1|g ; \
|
|
|
|
s|_SOCKET_H 0|_SOCKET_H 1|g' ${WRKSRC}/.config
|
|
|
|
|
2001-12-30 19:52:17 +01:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/retawq ${PREFIX}/bin
|
2002-11-20 14:24:40 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/docu/retawq.1 ${MANPREFIX}/man/man1
|
2002-01-26 11:12:56 +01:00
|
|
|
.for lang in de es fr
|
2002-11-20 14:24:40 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/i18n/${lang}.mo \
|
|
|
|
${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo
|
2001-12-30 19:52:17 +01:00
|
|
|
.endfor
|
2002-11-20 14:24:40 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docu/*.html ${DOCSDIR}
|
|
|
|
.endif
|
2001-12-30 19:52:17 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|