aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gkrellmlaunch/Makefile
blob: 6319ae45bbf7b0dd4c89e059ba6e2b0acb6d2ef2 (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
# Created by: Patrick Li <pat@databits.net>
# $FreeBSD$

PORTNAME=   gkrellmlaunch
PORTVERSION=    0.4
PORTREVISION=   8
CATEGORIES= misc
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    Application launcher plugin for GKrellM

BUILD_DEPENDS=  ${LOCALBASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm
RUN_DEPENDS=    gkrellm:${PORTSDIR}/sysutils/gkrellm

PORTSCOUT=  ignore:1

PLIST_FILES=    libexec/gkrellm/plugins/gkrellmlaunch.so
USE_GNOME=  imlib
ALL_TARGET= ${PORTNAME}.so

NO_STAGE=   yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
CFLAGS+=    -fPIC
.endif

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}.so \
        ${PREFIX}/libexec/gkrellm/plugins

.include <bsd.port.post.mk>