aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk12/Makefile
blob: 6c1e45f51bb7a76f55cc7ba9b5640f2d17fdcd4d (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
# New ports collection makefile for:   gtk
# Version required:     1.1.2
# Date Created:         28 Sep 1997
# Whom:             Vanilla I. Shu <vanilla@MinJe.com.TW>
#
# $Id: Makefile,v 1.29 1998/11/17 15:22:02 vanilla Exp $
#

DISTNAME=   gtk+-1.1.2
PKGNAME=    gtk-1.1.2
CATEGORIES= x11-toolkits
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/pub/gtk/v1.1/

MAINTAINER= vanilla@FreeBSD.ORG

LIB_DEPENDS=    glib11.0:${PORTSDIR}/devel/glib

USE_X_PREFIX=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  INSTALL='$${INSTALL} -c'
CONFIGURE_ARGS= --includedir=${PREFIX}/include/gtk11

MAN1=       gtk-config.1

pre-install:
    @if [ ! -f ${PREFIX}/info/dir ]; then \
    ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
    fi

post-install:
    @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
    ${CAT} ${PKGDIR}/MESSAGE

.include <bsd.port.mk>