blob: 7a6830c3b95acc8302c3482069d3e2808e6122a0 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# New ports collection makefile for: thunar-vcs-plugin
# Date created: 2008-10-15
# Whom: Sergey V. Dyatko <sergey.dyatko@gmail.com>
#
# $FreeBSD$
#
PORTNAME= thunar-vcs-plugin
PORTVERSION= 0.1.4
PORTREVISION= 4
CATEGORIES= devel xfce
MASTER_SITES= ${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR= src/thunar-plugins/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR= xfce4
MAINTAINER= sergey.dyatko@gmail.com
COMMENT= Subversion plugin for Thunar
USE_AUTOTOOLS= libtool
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_GNOME= desktopfileutils gnomehack gtk20 glib20 intltool intlhack \
pkgconfig
USE_XFCE= configenv libexo libutil thunar
INSTALLS_ICONS= yes
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
OPTIONS= NLS "Enable Native Language Support" on \
GIT "Enable Git support" off \
SVN "Enable Subversion support" on
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.if defined(WITH_GIT)
RUN_DEPENDS+= git:${PORTSDIR}/devel/git
CONFIGURE_ARGS+=--enable-git
PLIST_SUB+= GIT=""
.else
CONFIGURE_ARGS+=--disable-git
PLIST_SUB+= GIT="@comment "
.endif
.if !defined(WITHOUT_SVN)
LIB_DEPENDS+= svn_client-1:${PORTSDIR}/devel/subversion-freebsd
CONFIGURE_ARGS+=--enable-subversion
PLIST_SUB+= SVN=""
.else
CONFIGURE_ARGS+=--disable-subversion
PLIST_SUB+= SVN="@comment "
.endif
post-install:
@-update-desktop-database
.include <bsd.port.post.mk>
|