aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gtktalog/Makefile
blob: 9f22dbf5ccdd1d7cc6eb6b11a3446cbe33b57db5 (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
# New ports collection makefile for:    gtktalog
# Date created:             20 Mar 2002
# Whom:                 Juan Salaverria <rael@vectorstar.net>
#
# $FreeBSD$
#

PORTNAME=   gtktalog
PORTVERSION=    1.0.4
PORTREVISION=   2
CATEGORIES= misc
MASTER_SITES=   ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A tool to make disk catalogs

BUILD_DEPENDS=  plaympeg:${PORTSDIR}/multimedia/smpeg
RUN_DEPENDS=    plaympeg:${PORTSDIR}/multimedia/smpeg

USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_GNOME=  gnomehack gnomelibs gnomeprefix gnometarget
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

MAN1=       gtktalog.1

.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=    --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
.endif

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for f in AUTHORS BUGS ChangeLog NEWS README TODO
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>