summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtkmm12/Makefile
blob: 4f4f83184dfd6f884300afb31075963b7f9bae46 (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
# New ports collection makefile for:   gtk--
# Date created:        11 May 1998
# Whom:                Yukihiro Nakai <Nakai@technologist.com>
#
# $FreeBSD$
#    $MCom: ports/x11-toolkits/gtkmm12/Makefile,v 1.1 2006/07/18 16:42:02 ahze Exp $

PORTNAME=   gtkmm
PORTVERSION=    1.2.8
PORTREVISION=   6
CATEGORIES= x11-toolkits
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gtkmm/1.2
#DIST_SUBDIR=   gnome

MAINTAINER= gnome@FreeBSD.org
COMMENT=    C++ wrapper for gtk, a x11 graphics library

LIB_DEPENDS=    sigc.1:${PORTSDIR}/devel/libsigc++
BUILD_DEPENDS=  gm4:${PORTSDIR}/devel/m4

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GNOME=  gtk12
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
CONFIGURE_ARGS= --enable-static=yes \
        --without-gnome \
        --with-sigc-prefix=${LOCALBASE}

post-install:
.for lib in gdkmm gtkmm
    @${RM} ${PREFIX}/lib/lib${lib}.so ${PREFIX}/lib/lib${lib}.la
    @${MV} ${PREFIX}/lib/lib${lib}.a ${PREFIX}/lib/lib${lib}-1.2.a
.endfor
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>