summaryrefslogtreecommitdiff
path: root/japanese/ochusha/Makefile
blob: 11af67813f29a47083ee73f8360da05dfb15d0b0 (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
34
35
36
# Created by: sgr
# $FreeBSD$

PORTNAME=	ochusha
PORTVERSION=	0.5.8.2
PORTREVISION=	11
CATEGORIES=	japanese
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_JP}
MASTER_SITE_SUBDIR=		ochusha/16560

MAINTAINER=	ports@FreeBSD.org
COMMENT=	GUI BBS browser for 2ch.net

MAN1=		ochusha.1
MANCOMPRESSED=	no

USES=		pkgconfig
USE_BZIP2=	yes
USE_GNOME=	glib20 gtk20 libxml2
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
USE_AUTOTOOLS=	libtool

DESKTOP_ENTRIES="Ochusha" "${COMMENT}" \
		"${PREFIX}/share/ochusha/ochusha32.xpm" \
		"ochusha" "Network;" \
		false

NO_STAGE=	yes
post-patch:
	@${FIND} ${WRKSRC} -name Makefile.* | ${XARGS} ${REINPLACE_CMD} -e \
		's|-DG.*_DISABLE_DEPRECATED||g'
	@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure \
		${WRKSRC}/libmodifiedghttp/configure ${WRKSRC}/libmodifiedgtk2/configure

.include <bsd.port.mk>