aboutsummaryrefslogtreecommitdiffstats
path: root/astro/gkrellmoon/Makefile
blob: 6fe57f660c2533892a0ea0505195bc2d30d49fb5 (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
# New ports collection makefile for:    gkrellmoon
# Date Created:             Tue Jun 26 18:04:37 EDT 2001
# Whom:                 Patrick Li <pat@databits.net>
#
# $FreeBSD$
#

PORTNAME=   gkrellmoon
PORTVERSION=    0.3
CATEGORIES= astro
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gkrellmoon

MAINTAINER= pat@FreeBSD.org
COMMENT=    A moon clock plugin for Gkrellm

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

USE_X_PREFIX=   yes
USE_GNOME=  imlib
MAKE_ENV=   PTHREAD_LIBS="${PTHREAD_LIBS}" \
        PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
ALL_TARGET= ${PORTNAME}.so

post-install:
.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>