blob: 595367bb40c5ec29c8e8d8ada9bfbc56d5b9d56c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# 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= 3
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>
|