aboutsummaryrefslogtreecommitdiffstats
path: root/x11/gtk-launch/Makefile
blob: 96f3f2a502e9e0300216be2dc6103c1e4cf721c8 (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:    gtk-launch
# Date created:             22 Jul 2005
# Whom:                 Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#

PORTNAME=   gtk-launch
DISTVERSION=    1.1b
PORTREVISION=   4
CATEGORIES= x11
MASTER_SITES=   http://pierric.descamps.free.fr/pierric/downloads/ \
        CRITICAL

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    A fast GTK+ program launcher

USE_GNOME=  gtk12
MAKE_JOBS_SAFE= yes

PLIST_FILES=    bin/gtk-launch
PORTDOCS=   INSTALL

PORTSCOUT=  skipv:1.1

post-patch:
    ${ECHO_CMD} >> ${WRKSRC}/launch.c

do-build:
    ${CC} ${CFLAGS} `${GTK_CONFIG} --cflags --libs` \
        -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/launch.c

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>