aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xdialog/Makefile
blob: 2d9fbf46b26f2d86a5597180b7b7bcb841fd6afe (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
# ex:ts=8
# New ports collection makefile for:    xdialog
# Date created:         Jan 8, 2001
# Whom:             Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   xdialog
PORTVERSION=    2.0.1
CATEGORIES= x11
MASTER_SITES=   http://xdialog.free.fr/
DISTNAME=   ${PORTNAME:S/x/X/}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org

LIB_DEPENDS=    gnugetopt.1:${PORTSDIR}/devel/libgnugetopt

USE_BZIP2=  yes
USE_GTK=    yes
USE_X_PREFIX=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"

MAN1=   Xdialog.1

.if !defined(NOPORTDOCS)
post-install:
    ${MKDIR} ${PREFIX}/share/${PORTNAME}
    @(cd ${WRKSRC}/doc ; \
      ${CP} *.html *.png ${PREFIX}/share/${PORTNAME})
.endif

.include <bsd.port.mk>