aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/easygtk/Makefile
blob: 72552106ff90c28147199390cccef544cf705f6f (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
40
41
42
43
44
# New ports collection makefile for:    easygtk
# Date created:             3 January 2001
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   easygtk
PORTVERSION=    1.2
PORTREVISION=   4
CATEGORIES= x11-toolkits
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= sobomax
EXTRACT_SUFX=   .tar

MAINTAINER= gahr@gahr.ch
COMMENT=    A wrapper library for GTK+ which provides simplified GUI API

EXTRACT_BEFORE_ARGS=    # it's intentionally left blank
EXTRACT_CMD=    ${CAT}  # not quite `extract', but who cares? ;)

WRKSRC=     ${WRKDIR}/${PORTNAME}

USE_X_PREFIX=   yes
USE_GNOME=  gnomelibs
USE_LDCONFIG=   yes
MAKE_ENV=   MKDIR="${MKDIR}" \
        LN="${LN}"

do-install:
    ${INSTALL_DATA} ${WRKSRC}/libeasygtk.a ${PREFIX}/lib/
    ${INSTALL_DATA} ${WRKSRC}/easygtk.h ${PREFIX}/include/
    ${INSTALL_PROGRAM} ${WRKSRC}/libeasygtk.so.1 ${PREFIX}/lib/
    ${LN} -sf ${PREFIX}/lib/libeasygtk.so.1 ${PREFIX}/lib/libeasygtk.so
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/manual.html ${DOCSDIR}/
.endif
.if !defined(NOPORTEXAMPLES)
    ${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/example.c ${EXAMPLESDIR}/
.endif

.include <bsd.port.mk>