aboutsummaryrefslogtreecommitdiffstats
path: root/devel/glib20/Makefile
blob: c9938f33c10b777358d0091533b64bd442800d82 (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
# New ports collection makefile for:   glib11-devel
# Version required:     1.1.13
# Date Created:         28 July 1998
# Whom:             Vanilla I. Shu <vanilla@FreeBSD.ORG>
#
# $Id: Makefile,v 1.13 1999/01/20 18:30:57 vanilla Exp $
#

DISTNAME=   glib-1.1.13
CATEGORIES= devel
MASTER_SITES=   ftp://ftp.gimp.org/pub/gtk/v1.1/ \
        ftp://ftp.cs.umn.edu/pub/gimp/gtk/v1.1/ \
        http://www.ameth.org/gimp/gtk/v1.1/

MAINTAINER= vanilla@FreeBSD.ORG

GNU_CONFIGURE=  yes

CONFIGURE_ENV=  INSTALL='$${INSTALL} -c'
CONFIGURE_ARGS= --includedir=${PREFIX}/include/glib11d
.include <bsd.port.pre.mk>

.if ${OSVERSION} <= 300000
CONFIGURE_ARGS+=    --with-threads=none
.else
CONFIGURE_ARGS+=    --with-threads=uthread
.endif

MAN1=       glib-config.1

post-install:
    @if [ ! -f ${PREFIX}/info/dir ]; then \
      ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
     fi
    @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib

.include <bsd.port.post.mk>