freebsd-ports/www/retawq/Makefile
Mario Sergio Fujikawa Ferreira f0a1969d34 o Rollback PORTCOMMENT modifications while this feature's implementation
is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
2002-11-10 16:48:51 +00:00

39 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>