aboutsummaryrefslogtreecommitdiffstats
path: root/astro/gkrellmoon2/Makefile
blob: c422deef763d06e235341be5575fe3e68b47f9d5 (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
# New ports collection makefile for:    gkrellmoon2
# Date Created:             Wed Aug 25 13:18:39 CEST 2004
# Whom:                 Jan Srzednicki <w@wrzask.pl>
#
# $FreeBSD$
#

PORTNAME=   gkrellmoon2
PORTVERSION=    0.6
PORTREVISION=   5
CATEGORIES= astro
MASTER_SITES=   SF
MASTER_SITE_SUBDIR= gkrellmoon
DISTNAME=   gkrellmoon-${PORTVERSION}

MAINTAINER= w@wrzask.pl
COMMENT=    A moon clock plugin for Gkrellm2

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

USE_GNOME=  gtk20

ALL_TARGET= gkrellmoon.so

do-install:
    ${INSTALL_DATA} ${WRKSRC}/gkrellmoon.so \
        ${PREFIX}/libexec/gkrellm2/plugins
.ifndef(NOPORTDOCS)
    ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \
        ${PREFIX}/share/doc/${PORTNAME}
    ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PORTNAME}
.endif #NOPORTDOCS

.include <bsd.port.mk>