aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/squeeze/Makefile
blob: dee6a49ad3bf9aedb32b51e2e2e81b758534399e (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
# New ports collection makefile for: squeeze
# Date created: 07 Jun 2010
# Whom: markand
#
# $FreeBSD$
#

PORTNAME=   squeeze
PORTVERSION=    0.2.3
PORTREVISION=   4
CATEGORIES= archivers xfce
MASTER_SITES=   ${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR= src/apps/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR=    xfce4

MAINTAINER= markand@malikania.fr
COMMENT=    Squeeze is a modern and advanced archive manager

LICENSE=    GPLv2

LIB_DEPENDS=    thunar-vfs-1.5:${PORTSDIR}/x11-fm/thunar-vfs

GNU_CONFIGURE=  yes
INSTALLS_ICONS= yes

USE_XFCE=   configenv libutil thunar
USE_XORG=   x11
USE_GNOME=  gnomehack gtk20 glib20 intltool intlhack pkgconfig desktopfileutils
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_LDCONFIG=   yes
USE_GETTEXT=    yes
MAKE_JOB_SAFE=  yes

OPTIONS_DEFINE=     DOCS

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDOCS}
PLIST_SUB=  GTKDOC=""
.else
PLIST_SUB=  GTKDOC="@comment "
.endif

post-patch:
# Needed to remove gtk-doc installation
.if empty(PORT_OPTIONS:MDOCS)
    @${REINPLACE_CMD} -e "s|docs||g" ${WRKSRC}/Makefile.in
.endif

post-install:
    @-update-desktop-database

.include <bsd.port.mk>