Tweak x11-toolkits/sakura version 2.4.2_1
[dports.git] / x11-toolkits / sakura / Makefile
1 # New ports collection makefile for:    sakura
2 # Date created:                         2008/06/20
3 # Whom:                                 chinsan
4 #
5 # $FreeBSD: x11-toolkits/sakura/Makefile 314960 2013-03-22 20:06:14Z makc $
6 #
7
8 PORTNAME=       sakura
9 PORTVERSION=    2.4.2
10 PORTREVISION=   1
11 CATEGORIES=     x11-toolkits gnome
12 MASTER_SITES=   http://www.pleyades.net/david/projects/sakura/
13
14 MAINTAINER=     ports@FreeBSD.org
15 COMMENT=        A terminal emulator based on GTK and VTE
16
17 USE_GNOME=      vte
18 USE_GETTEXT=    yes
19 USES=           cmake
20 USE_BZIP2=      yes
21 USE_PKGCONFIG=  build
22
23 MAN1=           sakura.1
24
25 post-patch:
26         @${REINPLACE_CMD} -e '/NOT MATCHES "Debug"/d ; \
27                  /"-O2"/d ; \
28                 's,share/man,man,g' ; \
29                  /FILES INSTALL/d' ${WRKSRC}/CMakeLists.txt
30
31 post-install:
32 .if !defined(NOPORTDOCS)
33         @${MKDIR} ${DOCSDIR}
34         ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
35 .endif
36
37 .include <bsd.port.mk>