2008-06-21 14:15:20 +00:00
|
|
|
# New ports collection makefile for: sakura
|
|
|
|
# Date created: 2008/06/20
|
|
|
|
# Whom: chinsan
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= sakura
|
2009-02-02 11:36:20 +00:00
|
|
|
PORTVERSION= 2.3.3
|
2009-08-22 17:55:27 +00:00
|
|
|
PORTREVISION= 4
|
2008-06-21 14:15:20 +00:00
|
|
|
CATEGORIES= x11-toolkits gnome
|
|
|
|
MASTER_SITES= http://www.pleyades.net/david/projects/sakura/ \
|
|
|
|
LOCAL/chinsan/${PORTNAME}/
|
|
|
|
|
2009-08-28 17:37:26 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2008-06-21 14:15:20 +00:00
|
|
|
COMMENT= A terminal emulator based on GTK and VTE
|
|
|
|
|
|
|
|
USE_CMAKE= yes
|
2009-06-03 05:14:50 +00:00
|
|
|
USE_GNOME= vte
|
2008-06-21 14:15:20 +00:00
|
|
|
CMAKE_ARGS= -DCMAKE_INSTALL_PREFIX=${LOCALBASE}
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
@(cd ${BUILD_WRKSRC}; \
|
|
|
|
cmake ${CMAKE_ARGS} .; \
|
|
|
|
${MAKE})
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@(cd ${BUILD_WRKSRC}; \
|
|
|
|
${MAKE} install)
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|