aboutsummaryrefslogtreecommitdiffstats
path: root/x11/libXdmcp/Makefile
blob: 0a6fb34a2c316810e2e5fc004b3e6f0f18716e4f (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
# New ports collection makefile for:   libXdmcp
# Date Created:         28 Oct, 2003
# Whom:             Eric Anholt <anholt@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   libXdmcp
PORTVERSION=    0.1.3
CATEGORIES= x11
MASTER_SITES=   http://freedesktop.org/~ajax/xlibs-release/:fdo \
        ${MASTER_SITE_LOCAL:S/$/:local/}
MASTER_SITE_SUBDIR= anholt/:local
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX}:fdo \
        Wraphelp2.gz:local
EXTRACT_ONLY=   ${DISTNAME}${EXTRACT_SUFX}

MAINTAINER= x11@FreeBSD.org
COMMENT=    X Display Manager Control Protocol library

LIB_PC_DEPENDS= ${X11BASE}/libdata/pkgconfig/xproto.pc:${PORTSDIR}/x11/xproto
BUILD_DEPENDS=  ${LIB_PC_DEPENDS}
RUN_DEPENDS=    ${LIB_PC_DEPENDS}

CONFLICTS=  XFree86-libraries-* xorg-libraries-*

USE_BZIP2=  yes
PREFIX?=    ${X11BASE}
MTREE_FILE= /etc/mtree/BSD.x11-4.dist
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE=  yes
INSTALLS_SHLIB= yes
USE_GNOME=  gnomehack pkgconfig

post-extract:
    ${GUNZIP_CMD} -c ${DISTDIR}/Wraphelp2.gz > ${WRKSRC}/Wraphelp.c

.include <bsd.port.mk>