1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/www/retawq/Makefile
David W. Chapman Jr. 534fffca27 ${PERL} -> ${REINPLACE_CMD}
PR:		40784
Submitted by:	corecode@corecode.ath.cx
Reviewed by:	flynn@energyhq.homeip.net
2002-09-01 16:07:59 +00:00

40 lines
920 B
Makefile

# ex:ts=8
# Ports collection makefile for: retawq
# Date created: Dec 30, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= retawq
PORTVERSION= 0.0.6
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lintl
USE_REINPLACE= yes
USE_GMAKE= yes
MAKE_ENV= LDFLAGS="${LDFLAGS}"
ALL_TARGET= # empty
post-patch:
@${REINPLACE_CMD} -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 es fr
${INSTALL_DATA} ${WRKSRC}/i18n/${lang}.mo ${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo
.endfor
.include <bsd.port.mk>