1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/russian/prawda/Makefile
Florent Thoumie 340b57f8be - Update X.org ports to 7.4+ (few ports are more recent than the katamari).
- Bump PORTREVISION for all ports depending on libglut since the shlib
version number went from 4 to 3.
- Bump PORTREVISION for all ports depending on libXaw as libXaw.so.8 isn't
installed anymore.
- Couple of ports fixes (mostly missing xorg components added to USE_XORG).
2009-01-23 16:28:36 +00:00

34 lines
850 B
Makefile

# New ports collection makefile for: prawda
# Date created: 2004-07-28
# Whom: Roman Bogorodskiy <bogordskiy@inbox.ru>
#
# $FreeBSD$
#
PORTNAME= prawda
PORTVERSION= 0.3.0
PORTREVISION= 4
CATEGORIES= russian
MASTER_SITES= http://www.prawda.newmail.ru/
MAINTAINER= novel@FreeBSD.org
COMMENT= English-Russian translator
USE_BZIP2= yes
NO_WRKSUBDIR= yes
USE_XORG= x11 xaw xmu xt sm
CXXFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e "s|ulong|unsigned long|g;;s|malloc.h|stdlib.h|g" ${WRKSRC}/src/face/video_x.cpp
@${REINPLACE_CMD} -e "s|g++|${CXX} ${CXXFLAGS}|g" ${WRKSRC}/src/bin/makefile.exe
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" ${WRKSRC}/bin/makefile ${WRKSRC}/src/face/main.cpp
do-build:
@cd ${WRKSRC}/bin && ${MAKE}
do-install:
@cd ${WRKSRC}/bin && ${MAKE} install
.include <bsd.port.mk>